php - Automatically sync changes in SQL Databse and android -


i have created sql database stores link of image/video file. database accessed android application , image/video file displayed on devices running app.i created web page php , html admin can select particular file , upload server,the webpage creates link of file , stores link in database. problem android application needs refresh @ every particular interval check whether link has been changed or not. use asynctask retrieve json values sql database , in asynctask,i display file in onpostexecutemethod.

is there way android app sends network requests when there change in server sql database? looked , found fcm didn't find way store data in firebase database using php.if possible,please guide me tutorial.

otherwise created object of asynctask class cannot compare values of these 2 objects. have ideas how can compare values obtained 2 objects of same asynctask class?


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -