Android Question want to replace sqllite database when reinstall app

adastra

Member
Licensed User
Longtime User
hi,
i want that when i reinstall app my database file should be replaced,
now my sq lite database file does not replace, i want to replace it
 

sorex

Expert
Licensed User
Longtime User
it is just a file.

I think it's best that you add a version field to it and when it doesn't match delete the sql file and place the new one.
 
Upvote 0
Top