01-17-2013 09:28 PM
I'd like to make sure I don't wipe out the users data when I release updated versions of my applications. Is there any documentation available explaining an upgrade Lifecycle? I'd like to run a few test upgrades once I understand this process.
When I search the forums for 'upgrade' I tend to see messages around updating the BB SDK itself rather than App Upgrade scenarios.
Solved! Go to Solution.
01-21-2013 04:19 PM
How are you storing your data? Anything stored in the data folder remains between upgrades.
01-23-2013 10:16 AM
I'm storing data in a SQLite database in the data folder.
Is there anyway I can 'simulate' an upgrade? Or does that happen every time I hit the Run button in the Momentics IDE?
01-23-2013 10:31 AM
You can simulate this. First, export a signed release build. To do so right click on your project, choose Export -> BlackBerry -> Release Build. The BAR file should show up in your project in the folder you selected with the version of the app in the file name. Right click on this bar file and choose BlackBerry -> Install. This will install a signed release build onto your device.
Then, increment the version number in your application and follow the same process above to install the newer version.