dimanche 16 août 2015

How to rebuild database that is built with ContentProvider

I use a ContentProvider to manage the database on my Android application.In this way, however, all tables are built when the app first start, and data and these tables would not be rebuilt when I install a later version.

That is to say the previous data would be remained in database, But I want an empty database everytime I reinstall the app. How can I do this?

Aucun commentaire:

Enregistrer un commentaire