Hi

I had an EditText that was working perfectly on the emulator.
Now that I am doing test with the htc magic (which has a virtual
keyboard) is giving me some problems:

this is the code that I use:

myEditText.setOnKeyListener(new View.OnKeyListener()
{
  public boolean onKey(View arg0, int arg1, KeyEvent arg2)
  {
     Log.i("activity","hello!");
     /*
         do something...
     */
  }

}

The problem is that the inner function onKey() is only called() AFTER
the virtual keyboard is hidden, and for some reasons, I want to know
this as soon as possible...

does anybody knows how can I sort this out?

Thanks
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to