Sorry to resurrect an old topic, but I'm dealing with a similar problem.
Where did you implement this line of code? Was it in onFocusChanged()?
On Monday, August 24, 2009 4:28:55 AM UTC-7, LambergaR wrote:
Thank you very much for all the responses. I finished up simply using
Thank you very much for all the responses. I finished up simply using
inputMethodManager.toggleSoftInputFromWindow ( this.getWindowToken (),
InputMethodManager.SHOW_FORCED,
InputMethodManager.HIDE_IMPLICIT_ONLY );
the problem was actually quite easy to solve!
Hi Martin,
You seem to have achieved what I have been trying to do. I am working
on a sample input method MyIME and I have not been able to get the
input method pop-up menu to display my My IME as one of the
available options. Can you please shed some light on how got this
working?
I have
Have you looked at the documentation?
http://developer.android.com/reference/android/view/View.html#onCreateInputConnection(android.view.inputmethod.EditorInfo)
http://developer.android.com/reference/android/view/inputmethod/InputConnection.html
@Martin: If you use G1 or Emulator, the soft keyboard will NOT show up
because your device/emulator has a physical keyboard, or at least the
Android system thinks so. If you have a G2 or a keyboard-less device,
your soft keyboard will show up.
@Harsha: so far the only way to enable your custom
I came across your query while I was researching controlling input
methods. While I have not yet coded this up myself, from reading the
documentation, and from the type used to refer to the instance of
EditableInputConnection, it looks like you want the InputConnection
interface, which is
There is a small typo in my post, obviously I would like to display
the on-screen keyboard programmatically and not pragmatically :)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to
7 matches
Mail list logo