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
Developer
divit
Posts: 115
Registered: ‎10-24-2009
My Device: Not Specified

On Uninstalling Persistent store still exsisted

Hi all

I am facing the problem in when application is uninstalled on device the persistent store and persistent object is not getting deleted .

how can i delete persistent store and object when application is uninstalled

 

Please help me

 

 

 

Regards

Divya

Please use plain text.
Developer
BBDeveloper
Posts: 3,951
Registered: ‎07-15-2008
My Device: Not Specified

Re: On Uninstalling Persistent store still exsisted

[ Edited ]

Are you using Persistable interface?

 

Check this thread.

 

http://supportforums.blackberry.com/t5/Java-Development/Persistant-store-problem/m-p/277372

 

Search on the forum there are few other discussions on the same.


Use Search. "Accept Solution" If the problem is resolved.
Please use plain text.
Developer
divit
Posts: 115
Registered: ‎10-24-2009
My Device: Not Specified

Re: On Uninstalling Persistent store still exsisted

Yes i am using persistent interface

Please use plain text.
Developer
bikas
Posts: 984
Registered: ‎02-10-2009
My Device: Not Specified

Re: On Uninstalling Persistent store still exsisted

[ Edited ]

You must have to implement Persistable, then your persistent object will be automatically deleted upon unistallation.

 

public class PersistentClass implements Persistable
{
}

 

@Edit: seems like already answered

 

Regards

Bikas

 

Please use plain text.