I have a JSON data in a PHP and MySQL website. Now I want to synchronize my data in an Android App every 3 and 5 minutes.
The application will check every 3 and 5 minutes if there's an update in website data.
How can I do that?
Run a service using the android app and check on server. Do a callout in the background to your server and check for the update. Here is a simple one : http://www.androidhive.info/2012/01/android-json-parsing-tutorial/ You need to do the same in a service. Another tutorial for service : http://www.vogella.com/articles/AndroidServices/article.html
Hope this helps!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With