Hi Michal, I'm probably being stupid.
Couldn't you just provide the beam functionality call from within your app? Wouldn't you then be able to temporarily set/reset any flags as needed before/after beaming? Regards, On 14/12/06, Michal Seliga <[EMAIL PROTECTED]> wrote: > > i am stuck in infinite loop of consequences...maybe someone will be able > to get me out of it > > - american treo 650 (tested on sprint, verizone and cingular) have problem > that if application is registered to get phone events and application is > deleted then these events are still sent by system and it causes treo to > reset. it doesn't happen on treo650 unlocked gsm i am using. > > only way how to detect that application is being deleted i found is to > DmDatabaseProtect it. then it gets notification when its being erased and in > this notification handler it unregister from all evenyts and notifications > and unproteccts itself. > > also when hotsync starts and ends there are special notifications so i can > temporarily unprotect application so hotsync can overwrite prc file > > but then i got report that its impossible to beam this prc - because its > protected its never saved on target device if it existed there before > > if i remove protected flag i am back at the beginning and first call after > uninstalling application will cause reset > > is there any way how to get out of this? i need to find some other way how > to find out how to unregister from all notifications and such things. or i > need find way how to unblock overwriting from beam and possibly other ways > of putting prc to device too > > > -- > For information on using the PalmSource Developer Forums, or to > unsubscribe, please see http://www.palmos.com/dev/support/forums/ > -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
