We are developing an Android App based on a product that already has a website. As a result, when launching the Android App it may happen that a lot of things differ between the local SQLite Database and our central database.
What is the fastest way to synchronize the Android App? (1) Compare the data in our central database with the SQLite database and update/insert/delete accordingly (for each table)? (2) Or just drop the concerning tables and create them again - and execute a transaction with compiled statements?
Sounds like the first option may be very slow.
Any help would be appreciated!
Aucun commentaire:
Enregistrer un commentaire