Please forgive me if this question was answered - I searched and could not find it.
I have an Android application that I want to update, and it uses a SQLite database. I want to update some application logic in the application, but there will be no updates to the schema or database contents. I basically need to maintain the database in the same way as for the user.
Does anything need to be done in onUpgrade to ensure that the database is saved, or can I leave only the database material for this update?
This related article may help you with your question.
, , , onUpdate(), . , , , , , .
onUpgrade() . , , , , . , .
SQLite. db , ( onUpgrade), .
SAME, , db , . , apk, db .
, , onUpgrade . , , , ( , ).
. , db, .