No need for a watcher app. Simply protect your database(s)
(DmDatabaseProtect)and then register your original application to
receive the sysNotifyDeleteProtectedEvent notification. When received,
do your cleanup stuff, unprotect your database(s) and return.

On 7/6/06, Gary <[EMAIL PROTECTED]> wrote:

Here's the background on this:

I want to run some code when my application is uninstalled.  I've created a
"watcher" app that registers for "databases deleted" notifications.  When it
detects that my application has been deleted, it does its thing, and then
marks itself "recyclable", thereby cleaning itself up.

The problem is, I had to give the "watcher" app a separate creator ID, as I
didn't want it to get deleted when the user deletes my app.  Thus, I have
two entries in the launcher's "Apps/Delete" dialog.

So, my quesiton is can I hide the "watcher" app somehow so it doesn't show
up in the "delete" dialog?

Thanks,
Gary

--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/


--
yisdersomenimororsisasisdenderisorsis?
Jeff Loucks

--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to