[android-developers] Re: Handling Key Press from Soft Keyboard in EditText

2010-03-29 Thread Nithin
editText.addTextChangedListener(new TextWatcher()); this interface contains three methods, which will be called accordingly when you type using soft keyboard. Nithin On Mar 29, 3:11 pm, Gaurav Vaish gaurav.va...@gmail.com wrote: Hi, I'm trying to handle the key-press event (OnKeyListener).

[android-developers] Re: Handling Key Press from Soft Keyboard in EditText

2010-03-29 Thread Gaurav Vaish
Hi Nithin, Thanks for your response however in this case, I won't be notified if there's no text and del key is pressed. I want notification about Key-Down/Up and not just text-part. -- Happy Hacking, Gaurav www.mastergaurav.com On Mar 29, 3:18 pm, Nithin nithin.war...@gmail.com wrote:

[android-developers] Re: Handling Key Press from Soft Keyboard in EditText

2010-03-29 Thread Nithin
use this , KeyboardView.OnKeyboardActionListener() Nithin On Mar 29, 3:24 pm, Gaurav Vaish gaurav.va...@gmail.com wrote: Hi Nithin, Thanks for your response however in this case, I won't be notified if there's no text and del key is pressed. I want notification about Key-Down/Up and not

[android-developers] Re: Handling Key Press from Soft Keyboard in EditText

2010-03-29 Thread Gaurav Vaish
Thanks Nithin, once again. I did have a look at it but got scared to see that I need to declare complete Keyboard (QWERTY etc) specification. Otherwise, how do I use the KeyboardView? I could not get a mechanism to get a reference to the default KeyboardView... :( I must be missing out something