BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 09-03-2010, 12:47 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Mar 2009
Model: 8100
PIN: N/A
Carrier: Airtel
Posts: 16
Post Thanks: 0
Thanked 0 Times in 0 Posts
Question Persistent Store not getting cleared after deleting application

Please Login to Remove!

Hello Everyone,

Please help me guys..I am using PersistentStore to store my Boolean and Vector objects...but after deleting my application from the device the PersistentStore still exists...

In this forum i have gone through many similar threads and even through the knowledge center but everywhere just found that if we store any Object in persistent store and use it within our application then it gets deleted once the application is removed....but this is not at all working for me...

Will using Persistable interface help me out...

Please tell me what should do to get out of this problem...hoping for a reply..

Thanks
Rachna
Offline  
Old 09-03-2010, 07:31 AM   #2 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default

The persistent store is only removed if it contains custom objects.

You should probably subclass your Vector (make sure you implement Persistable) and give it your own CustomVector name (or something like that). Then the OS will remove it when your app is deleted.
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.