I understand that the RESULT_* flags are only used within the
ResultReceiver. That is, you implement a ResultReceiver and then the
framwork will call its send() method with the result of the attempt to
either show or hide the IME. So the options for showing the IME are
SHOW_FORCE and SHOW_IMPLICI
onSizeChanged() doesn't work for me.
I tried using ResultReceiver:
inputMehtodManager.showSoftInput(editor,
InputMethodManager.RESULT_HIDDEN, rr);
http://developer.android.com/reference/android/view/inputmethod/InputMethodManager.html#RESULT_HIDDEN
but it doesn't work, I only get notification th
did you try to use RESULT_HIDDEN parameter for showSoftInput()
function?
http://developer.android.com/reference/android/view/inputmethod/InputMethodManager.html#RESULT_HIDDEN
I tried it but doesn't work, I only get notification that keyboard is
shown.
onSizeChanged() doesnt work for me (probably
I only discovered that thread this morning. I tried many different
ways of 'catching' the IME show/hide, and that is, as Dianne says. the
only way of doing it. Not only is there the issue of the BACK key,
but there's the Sense UI (as the OP in the link I posted stated) with
it's additional 'hide
And is that the approach you are planning to go for?
On Thu, Mar 11, 2010 at 3:38 PM, jamesc wrote:
> It appears (the endBatchEdit() didn't work out) that the correct way
> has been stated before by Dianne:
>
> http://groups.google.com/group/android-developers/browse_thread/thread/9d1681a01f05e78
It appears (the endBatchEdit() didn't work out) that the correct way
has been stated before by Dianne:
http://groups.google.com/group/android-developers/browse_thread/thread/9d1681a01f05e782
On Mar 11, 3:14 pm, Sean Hodges wrote:
> I believe the back button event is intercepted by the keyboard a
I believe the back button event is intercepted by the keyboard app, so
it knows to hide. Once focus is returned to your app, the event has
already been processed.
I'm not aware of any way to intercept the events of another app (like
the soft keyboard). You could write your own keyboard app that pa
Did you solve this?
Anyone knows solution to this problem?
On 8 Lut, 19:35, jamesc wrote:
> If theBACKbutton is pressed when the soft keyboard is being
> displayed, noBACKkeycode event is generated (when it's not shown,
> andBACKis pressed, then my View's onKeyDown()/onKeyUp() methods get
> calle
8 matches
Mail list logo