I posted this problem several days ago, but didn't get feedback on it...

I have an application that creates alarms.  WHen an alarm fires, I use 
the Trigger event to sound the alarm, and then the Display event to pop 
up a FrmCustomAlert dialog to the user.  (I cannot use the PalmOS alert 
mechanisms because this needs to run in PalmOS 3.0, not just 4.0+.)

Anyhow, very recently, my application now STOPS shutting off 
automatically when this FrmCustomAlert is displaying.  This means that 
if the user doesn't acknowledge the alarm right away, the battery 
starts to drain quickly.  I never had this problem until recently, even 
though I haven't changed the alarm code.

So, does anyone know what type of actions would prevent the Palm device 
from automatically shutting off?  In all other circumstances, the 
device shuts off correctly, including in my main screens, as well as 
alerts from other applications.  

I've been using the FrmCustomAlert since the beginning, but only 
recently experienced this.  My first thought was that GraffitiAnywhere 
was causing the problem...because doing some experimenting, I found 
that if it was disabled, the auto-off feature would work fine.  But I 
now have that application disabled, and my alerts have once again 
prevented the device from shutting off.

I'm pretty clueless as to where to look.  In the meantime, I'm going to 
attempt to just replace a FrmCustomAlert call with an actual Form using 
FrmPopupForm instead.  I don't know yet if this will avoid the 
situation, but will at least give me more control over the look of the 
alert screen.

Ryan


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

Reply via email to