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
Highlighted
Regular Contributor
Posts: 66
Registered: ‎09-06-2011
My Device: 9930
My Carrier: 9930

deleting own application data

Hi,

           I want to delete my own application data whther it is persistent data or data base. i google for it but didn't get the way so can u pls provide me some snippet to do it. 

Developer
Posts: 455
Registered: ‎03-04-2011
My Device: Paper cup

Re: deleting own application data

better keep track of all keys where you stored stuff.  If it's all stored in custom classes, it gets deleted when the app is deleted, but otherwise AFAIK there's no easy way to track it down.  Keep the keys.  Then you can use destroyPersistentObject.

 

Developer
Posts: 77
Registered: ‎04-01-2011
My Device: Bold 9700
My Carrier: Rogers

Re: deleting own application data