Hi,

I am developing a input method.  As recommended by google, am using
sendDownUpKeyEvents(someEventCode) for the key characters.

But in some circumstances this event does not get executed
immediately. I.e., I check the textfield  on which I just put a

sendDownUpKeyEvents(KeyEvent.KEYCODE_ENTER)

right after this command for the char behind the cursor, but CR has
not made it there yet.

This probably happens becuase sendDownUpKeyEvents is executed on the
SAME thread (and hence the "some circumstances" I alluded to earlier).

Is it a way to force execute this?

or is there any other way?

Thank you.

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

Reply via email to