mercredi 28 janvier 2015

Android sqliteOpenHelper onUpgrade replacing db with new one

My application will ship with a sqlite database in its assets folder which will be copied to databases folder after launch.


Now my concern is when I release a new version of my application with the new identical sqlite database, will onUpgrade gets called? If so would it help to delete the current database and call oncreate ( which my copying of database function is called there) ?


Aucun commentaire:

Enregistrer un commentaire