>Also, if you detect a HardKey press during wakeup (by looking at 
>keyCurrentState bitfield) you can't just launch another application because at 
>the end of wake up the PDA promtly launches the application attached to that 
>HardKey. Is there some way of telling the PDA that you have already dealt with 
>the HardKey press? Thank you again.

Answering my own question:
I think I have worked something out.  I had a quick test but haven't tried it 
seriously yet.  I'll pop (all) the event(s) off the Event queue and look for a 
KeyDown event.  If there is one I am dealing with (such as the Rocker Centre 
button) I'll omit it when I push (all) the event(s) back onto the queue 
(popping and pushing all to maintain the same order).  Note that the KeyDown 
event is apparently not necessarily the first event you get - for e.g. sliding 
open the T3 puts a DisplayChanged event on the event queue - I haven't got as 
far as looking further into the queue.  Of course, there could be conflicts if 
other apps are trying to deal with the key event ... I'll think about it.

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

Reply via email to