BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 11-28-2007, 06:37 PM   #1
richard.puckett
Talking BlackBerry Encyclopedia
 
richard.puckett's Avatar
 
Join Date: Oct 2007
Location: Seattle, WA
Model: 9020
PIN: N/A
Carrier: T-Mobile
Posts: 212
Default Catch Application Uninstall Event?

Please Login to Remove!

Seems there should be a way to do this, but I haven't seen anything yet...

Is there a way for an application to be notified when it's about to be uninstalled? Would want to do this to perform some last-minute cleanup, such as RMS stores, etc. TIA.
Offline  
Old 11-28-2007, 06:41 PM   #2
bemshaswing
Talking BlackBerry Encyclopedia
 
Join Date: Oct 2006
Model: 7103
Carrier: Verizon
Posts: 259
Default

afaik the device handles cleaning the RMS for you when you uninstall by removing associative stores to the app keys
Offline  
Old 11-28-2007, 06:56 PM   #3
richard.puckett
Talking BlackBerry Encyclopedia
 
richard.puckett's Avatar
 
Join Date: Oct 2007
Location: Seattle, WA
Model: 9020
PIN: N/A
Carrier: T-Mobile
Posts: 212
Default

Thanks for the reply.

The AMS will remove PersistentStore stores if they've been associated with an app package, but not for RMS. I migrated from RMS to PersistentStore for this reason.

In any event, the idea of an uninstall hook has been on my mind so I thought I'd throw the question out there in case anyone knows.
Offline  
Old 01-09-2008, 04:17 AM   #4
pa4o85
Thumbs Must Hurt
 
Join Date: May 2007
Location: Bulgaria
Model: none
PIN: N/A
Carrier: Mtel
Posts: 150
Default

Ok, but what happened when i have an application that uses a storage/database that is xml file on the SD card. How can i delete this file when the application is to be deleted?
Offline  
Old 07-11-2008, 08:46 AM   #5
mhreljac
Knows Where the Search Button Is
 
Join Date: Jul 2007
Model: 9000
PIN: N/A
Carrier: Rogers
Posts: 36
Default

Wirelessly posted

Did anyone find a way to do this? After a brief search in the APIs, I came up empty-handed. I would've thought this existed, however.

M
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


Dec/Adac Corp. D4-10390 Rev 6 Model 1664ATTL Output Pulse Board 1983 (B16) picture

Dec/Adac Corp. D4-10390 Rev 6 Model 1664ATTL Output Pulse Board 1983 (B16)

$189.99



Niedermaier vintage Mannequins Visual Display Props Dec. 1991 Catalogue picture

Niedermaier vintage Mannequins Visual Display Props Dec. 1991 Catalogue

$141.00



VINTAGE Bruker Board DEC W4P3042 for SpectroSpin 250 picture

VINTAGE Bruker Board DEC W4P3042 for SpectroSpin 250

$99.99



VINTAGE WESTERN ELECTRIC METER ORDNANCE A322525 WWII ERA DECEMBER 1943 picture

VINTAGE WESTERN ELECTRIC METER ORDNANCE A322525 WWII ERA DECEMBER 1943

$30.00



Adec Vintage Adjusting Dentist Doctor Medical Stool Rolling Swivel Chair picture

Adec Vintage Adjusting Dentist Doctor Medical Stool Rolling Swivel Chair

$199.99



HSS 12pcs Valve Seat & Face Cutter 45dec 30dec 20dec for Vintage Car, Bikes ,Jee picture

HSS 12pcs Valve Seat & Face Cutter 45dec 30dec 20dec for Vintage Car, Bikes ,Jee

$235.94







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