View Single Post
Old 02-07-2007, 01:16 PM   #6
dthunt
Knows Where the Search Button Is
 
Join Date: Jan 2007
Model: 8100
Carrier: Rogers
Posts: 22
Default

It may indicate that ALT has been pressed on the top of the screen, but I want to determine it programatically so I can bring up a PopupScreen or something.

The following works in keyStatus -

Keypad.status(keycode) == KeypadListener.STATUS_ALT

this returns true when the ALT is pressed, but keyStatus() seems only to get called when my screen is in the foreground. There must be a way to determine if the ALT is down at anytime, even if it is just to be able to check it.

Dallan
Offline