I am working on an android application that is using SQLite
database to store data. I have "Favorite" table in database for storing favorite items of particular user.
The problem is when user will get an update of this application then I want to update database except "Favorite" table, because it will contain user specific favorite items.
Edit:
Now I know that I can update records on some tables in onUpgrade()
event of SQLite
database, but I really don't know how to manage two databases in an application? I have searched on Google but not get any idea to do this, there are many example to copy data from asset folder to new database.
I have to select all records from a table from "existed database" and copy to table of "new database". Table name may be same of both databases.