upgrade blackberry database
In my application, I have a database that gets written out to the sdcard. We have had to make a lot of big cha开发者_运维问答nges to the database, so when the user upgrades the application, is there a way to delete and reinstall the database, but only on upgrade?
The best way to do this is to have a chunk of code in the upgrade that checks for the old database and if it finds an old database, do the upgrade.
This lets you control what happens, and also how it happens.
精彩评论