[android-developers] Re: key code constant for question mark?

2009-08-28 Thread Mark Murphy
I don't see an android.view.KeyEvent.KEYCODE constant defined for question mark (key code 76). Is there a key code constant defined for the question mark? Try KeyEvent.KEYCODE_SLASH, plus true for isShiftPressed(). -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer

[android-developers] Re: key code constant for question mark?

2009-08-27 Thread Dianne Hackborn
Nope. Even on a PC keyboard ? is not a physical key, but a shift mode on another (/). On Thu, Aug 27, 2009 at 9:23 AM, greg sep...@eduneer.com wrote: I don't see an android.view.KeyEvent.KEYCODE constant defined for question mark (key code 76). Is there a key code constant defined for the

[android-developers] Re: key code constant for question mark?

2009-08-27 Thread greg
Thanks. My follow up question is, 'Why didn't I think of that?' :*) On Aug 27, 12:32 pm, Mark Murphy mmur...@commonsware.com wrote: I don't see an android.view.KeyEvent.KEYCODE constant defined for question mark (key code 76).  Is there a key code constant defined for the question mark?