Hi
I try to apply treatment onto EditText.
To do so in Android 1.5 a few months ago I used the View.OnKeyListener
interface and everything worked fine.
Now I uploaded my application onto a Android 2.2 device (and also
virtual device) and it doesn't work anymore, except the OK key, that
is still captured.
My EditText is binded to the controller through my Controller
constructor :
public TextController(EditText textBox) {
textBox.setOnKeyListener(this);
boxSize = textBox.getText().toString().length();
text = textBox.getText().toString();
}
the onKey method is triggered only while hitting the DEL key and the
OK key
Has anyone already experienced this?
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en