I am trying to turn off the LCD display on PalmOS 5 (Tungsten T).

I've gotten this working by creating a procedure alarm 2 seconds in the
future and then queuing a vchrPowerOff keypress.

The problem is: I am playing an audio stream when I turn the device off, and
the 2 second delay causes a bad skip in the playback.  I've tried setting
the procedure alarm for less than 2 seconds in the future, but
SysHandleEvent processes all alarms within the next 2 seconds before calling
HwrSleep.  So my alarm gets called before the screen turns off.

Does anyone know how to make this work?  I've searched the archives, and the
suggestion of using SysTraps doesn't work on PalmOS 5.

Thanks,
Tim Norman
www.normsoft.com




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

Reply via email to