With every upgrade there is some change in database schema? 开发者_StackOverflow社区The change could alteration of column types or addition/deletion of columns.
This forces a reinstall of app ie., uninstall older version and then download app again from the android market.
Is there a best practice to follow so that old data is copied during app installation and reinitialized with newer schemas?
within your implementation of SqliteOpenHelper override method onUpgrade()
.
精彩评论