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:
> 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). I know that
> > doesn't 
> > workhttp://groups.google.com/group/android-developers/browse_thread/threa...
>
> > I tried to set a custom KeyListner (not OnKeyListener) using:
>
> > 1. public void setKeyListener -- but the methods onKeyDown/Up/Other
> > are never called
> > 2. Declaratively using "inputMethod" attribute in XML but it results
> > in "ClassNotFoundException".
>
> > What's the simplest and preferably, most direct and intuitive method,
> > to handle key-strokes from soft-key in EditText in my applicaiton...
> > any direction will be useful!
>
> > Happy Hacking,
> > Gauravwww.mastergaurav.com

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.

Reply via email to