开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜