mercredi 30 mars 2016

How android app update work for databse based applications?

Hello guys I just launched my application on playstore, I have ship my sqlite database with app which is assets folder then I copy that database in app/data folder and my application is work on it.

Now my question is in My new version of app I add new table in database. So I want to replace existing database of user which running an old version of database.

I don't know how exactly app update process work.

after update old copy of database is replaced ? or I specifically write a method that check if there is existing old copy of database is available so replaced it with new database.

Aucun commentaire:

Enregistrer un commentaire