I'm trying to catch the "Return" key on the Soft Keyboard IME. I have an onKeyDown handler that works fine for the ADP1's physical keyboard. I also have code in onCreateInputConnection() that sets up the return key on the soft keyboard to be processed as a raw key event:
@Override public boolean onCheckIsTextEditor() { return true; } @Override public InputConnection onCreateInputConnection(EditorInfo outAttrs) { outAttrs.imeOptions |= EditorInfo.IME_FLAG_NO_EXTRACT_UI | EditorInfo.IME_ACTION_NONE; return new BaseInputConnection(this, false); } After the onCreateInputConnection() is called, the soft keyboard return key works fine for my app. The only problem is that onCreateInputConnection only gets called after the user interacts with the trackball on the ADP1. How can I get onCreateInputConnection() called earlier so that they soft keyboard return key will work without having to touch the trackball? Thanks, Howard --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---