BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 02-14-2006, 12:07 PM   #1
ramonj
New Member
 
Join Date: Feb 2006
Model: 7280
Posts: 5
Default Removing data from the persistent store when removing application from handheld

Please Login to Remove!

Is there a way to overwrite/erase the data stored in the persistent store by my application when I remove the application from the handheld or when I install a new version of the application?
Offline  
Old 07-13-2006, 11:42 AM   #2
Hatchy
Thumbs Must Hurt
 
Join Date: Oct 2005
Model: 8700
Carrier: Rogers
Posts: 56
Default

Does anyone have an answer to this posting? Thanks!
Offline  
Old 07-14-2006, 08:38 AM   #3
sadohert
New Member
 
Join Date: Jun 2006
Location: Waterloo, Ontario
Model: 8700r
Carrier: Rogers
Posts: 14
Default Me too

I'm curious about this too. On one hand I would think the OS might clean up orphaned Persistent Stores when they don't have an app making use of them, but then on the other hand you wouldn't want that to happen if you were just temporarily uninstalling. If there is no auto-clean up mechanism, I would think there would be some BB coding best-practices document somewhere telling you to clean up your own persistent memory when you uninstall.

Hmmm

Anyone?
Offline  
Old 07-14-2006, 09:46 AM   #4
jfisher
CrackBerry Addict
 
Join Date: Jun 2005
Location: Manchester, UK
Model: BOLD
Carrier: t-mobile
Posts: 714
Default

there is a way of doing it. can't remember it. your persistent objects have to inherit something or other to get removed when the app does.

basically the store acts as it should do and you have to do something a bit fiddly to get it to act as we'd all expect. there is more info on the bberry site hidden away somewhere, search their forum too, this issue has come up many times.
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


Good Chimera Dongle for All Modules Samsung HTC BLACKBERRY NOKIA LG HUAWEI picture

Good Chimera Dongle for All Modules Samsung HTC BLACKBERRY NOKIA LG HUAWEI

$307.22



Nice Vintage Working RIM Blackberry 857, with Cradle, Collector's Item R857D-2-5 picture

Nice Vintage Working RIM Blackberry 857, with Cradle, Collector's Item R857D-2-5

$124.95



Blackberry Advertising Banner Vinyl Mesh Sign Fruit Vegetable Berry Farm Fresh picture

Blackberry Advertising Banner Vinyl Mesh Sign Fruit Vegetable Berry Farm Fresh

$219.95



Hypothermias BLACKBERRY  🍧 Snow Cone machine Shaved Ice Flavor Syrup GALLON picture

Hypothermias BLACKBERRY 🍧 Snow Cone machine Shaved Ice Flavor Syrup GALLON

$26.96



BLACKBERRY MEAD Advertising Vinyl Banner Flag Sign Many Sizes MEDIEVAL picture

BLACKBERRY MEAD Advertising Vinyl Banner Flag Sign Many Sizes MEDIEVAL

$125.58



Cutter & Buck Genuine Leather Tri-Fold Portfolio “Blackberry Boot Camp 2010” picture

Cutter & Buck Genuine Leather Tri-Fold Portfolio “Blackberry Boot Camp 2010”

$19.99







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