At 09:56 AM 7/2/2004, you wrote:
I'm trying to use card remove notification in the start.prc
application. In the handler of the notification I'm removing some
files from device.

I'm able to get this notification only when the start.prc is running,
but I do not get it when the start.prc is not running. Documentation
says that the notification could be handled in start.prc.

My understanding is that start.prc is deleted from the device after it exits, so it's not around when the card is removed to handle the "remove" notification. You might want to have start.prc copy another database off the card and into memory, and have that register for the notificaton.


Note: this isn't going to be foolproof. All it takes is someone doing a soft reset and removing the card while the device is held in a reset state to get around this.

-- Ben Combee, DTS technical lead, PalmSource, Inc.
   Read "Combee on Palm OS" at http://palmos.combee.net/



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

Reply via email to