Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Regular Contributor
heather_1
Posts: 83
Registered: ‎05-24-2011
My Device: Storm 9550

Change database when application is upgraded.

Hi all,

 

In my application, I have a database that gets written out to the sdcard. We have had to make a lot of big changes to the database, so when the user upgrades the application, is there a way to delete and reinstall the database, but only on upgrade?

Developer
RileyGB
Posts: 284
Registered: ‎08-06-2010
My Device: Z10

Re: Change database when application is upgraded.

What type of database, SQLite?



Follow me on twitter @RileyGB - https://twitter.com/RileyGB
View my BB10 OpenSource projects - https://github.com/RileyGB/BlackBerry10-Samples
Regular Contributor
heather_1
Posts: 83
Registered: ‎05-24-2011
My Device: Storm 9550

Re: Change database when application is upgraded.

yes- its a sqlite database