I've never done this myself, but from reading the InputMethodManager documentation I get the impression you need to override View#onCreateInputConnection(EditorInfo) in order to directly interact with an IME.
Might be worth a shot...

Pepijn

On 24/03/2011 13:26, Rich E wrote:

On Tue, Mar 22, 2011 at 6:14 PM, harsh chandel <[email protected] <mailto:[email protected]>> wrote:

    try ontouch method
    get x and y coordinate   of the area clicked
    and do as you want on the clicked event


harsh chandel, I am not sure that I understand you.. I am using onTouchEvent() to trigger the keyboard (imm.showSoftInput() code in my last post)... but I cannot get the pressed keys of the keyboard. As it is not my keyboard (it is the system shared keyboard), I cannot re-implement any onTouchEvent method that it may hold, unless I am missing something in your suggestion.

There must be some event that I need to listen to (onKeyUp for the soft keyboard keys..), but I don't yet know how.

Thanks for the help,
Rich
--
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

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