mardi 31 mars 2015

Repeat sync SQLite database from MYSQL and refresh android UI

I created an android app that have a SQLite database with several tables.And i implemented an IntentService to get data from PHP(MYSQL) site with Volley(JSON). So i can get data from a MYSQL database and update my SQLite database. NOW I WANT TO : 1- repeat Sync action every 5 minutes automatically . 2- refresh android UI(spinner,recyclerView,...) after each Sync data complete.


Aucun commentaire:

Enregistrer un commentaire