"Tian, Yong" <[EMAIL PROTECTED]> wrote:
> I'm trying record usage pattern on the palm by
> traping the system events, ie. use the
> sysTrapSysUIAppSwitch to record the application
> been accessed. But I can't find the traping
> for the power on and auto power shutoff events,
> does anybody know those two specific events
> or the trapping for them ?
To detect power off, look for a keyDown event with vchrPowerOff. There
is no event that occurs at power on.
--
Roger Chaplin
<[EMAIL PROTECTED]>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html