10-26-2011 08:58 PM
Hi, I am working on a app, where I save files on the SD Card and delete them when I delete the app.
I used a background app implementing CodeModuleListener (modulesDeletionPending) , it works in case of deletion .
But the problem is - I want to retain those files when user upgrades the app, in that case also we get a callback into "modulesDeletionPending" , it would be great if someone can guide me as to what should I do differently during an upgrade.
Solved! Go to Solution.
11-02-2011 09:01 PM
I do not believe there is an easy way to monitor for this. A secondary application could check on start-up whether your primary application's COD files exist and, if not, delete the data on the SD Card and then delete itself:
BlackBerry Development Advisor