Re: [android-developers] Re: Listen for key presses on Numeric keypad?

2010-10-22 Thread Donal Rafferty
I have tried this and I get no KeyCodes or KeyEvents at all when I am in the numeric (Second) mode. On Thu, Oct 21, 2010 at 6:24 PM, TreKing treking...@gmail.com wrote: On Thu, Oct 21, 2010 at 11:45 AM, Donal Rafferty draf...@gmail.comwrote: Anybody have any ideas? Check what keycodes you

Re: [android-developers] Re: Listen for key presses on Numeric keypad?

2010-10-22 Thread Donal Rafferty
Thanks letlite, However I want to be able to display the numeric keypad without having it input to an EditText so I cant use addTextChangedListener(TextWatcher) So I want the user to be able to click a button on my UI, the keypad pops up in numeric form and then I want to be able to listen to

[android-developers] Re: Listen for key presses on Numeric keypad?

2010-10-21 Thread Donal Rafferty
Anybody have any ideas? On Thu, Oct 21, 2010 at 3:21 PM, draf...@gmail.com draf...@gmail.comwrote: I use the following code to listen for the key presses of 0 - 9 from the soft input keyboard on Android: --- @Override public boolean onKeyDown(int keyCode,

Re: [android-developers] Re: Listen for key presses on Numeric keypad?

2010-10-21 Thread TreKing
On Thu, Oct 21, 2010 at 11:45 AM, Donal Rafferty draf...@gmail.com wrote: Anybody have any ideas? Check what keycodes you are getting when in the second mode? Maybe they're different for some reason?

[android-developers] Re: Listen for key presses on Numeric keypad?

2010-10-21 Thread letlite
Take a look at TextView.addTextChangedListener(TextWatcher) On Oct 21, 9:45 am, Donal Rafferty draf...@gmail.com wrote: Anybody have any ideas? On Thu, Oct 21, 2010 at 3:21 PM, draf...@gmail.com draf...@gmail.comwrote: I use the following code to listen for the key presses of 0 - 9 from