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



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


MOSFET - IRFZ44N 55V - Transistor  for Arduino Pi  TTL picture

MOSFET - IRFZ44N 55V - Transistor for Arduino Pi TTL

$54.79



MOSFET - IRF540N 100V 33A - Transistor for Arduino Pi TT picture

MOSFET - IRF540N 100V 33A - Transistor for Arduino Pi TT

$49.72



PNP NPN Power Transistor Assortment Kit 840pcs 24 Types Electronic Component picture

PNP NPN Power Transistor Assortment Kit 840pcs 24 Types Electronic Component

$24.21



2SA733-Q Original New NEC TO-92 Transistor picture

2SA733-Q Original New NEC TO-92 Transistor

$10.95



2SC2240 / TRANSISTOR / TO92 / 4 PIECES (qzty) picture

2SC2240 / TRANSISTOR / TO92 / 4 PIECES (qzty)

$7.99



2SC2023 Original New Sanken Transistor C2023 picture

2SC2023 Original New Sanken Transistor C2023

$13.95







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