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



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


Schneider Electric Energy Server EBX510 Server For Energy Management- picture

Schneider Electric Energy Server EBX510 Server For Energy Management-

$4350.00



FANUC Server Driver A06B-6077-H111 picture

FANUC Server Driver A06B-6077-H111

$2158.86



Moxa 5650-8-DT NPort 8-Port Device Server picture

Moxa 5650-8-DT NPort 8-Port Device Server

$69.99



Moxa NPort 5110A Serial Device Server picture

Moxa NPort 5110A Serial Device Server

$150.00



Premium StackCP Hosting | Free Support | UK & USA Server | Free SSL CDN picture

Premium StackCP Hosting | Free Support | UK & USA Server | Free SSL CDN

$75.00



Unlimited Windows Hosting StackCP Unlimited Everything Free SSL Certificates picture

Unlimited Windows Hosting StackCP Unlimited Everything Free SSL Certificates

$52.35







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