[android-developers] Re: Displaying virtual keyboard in a custom View

2012-05-15 Thread Jonathan Koren
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

[android-developers] Re: Displaying virtual keyboard in a custom View

2009-08-24 Thread LambergaR
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!

[android-developers] Re: Displaying virtual keyboard in a custom View

2009-08-06 Thread Harsha
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

[android-developers] Re: Displaying virtual keyboard in a custom View

2009-08-06 Thread Dianne Hackborn
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

[android-developers] Re: Displaying virtual keyboard in a custom View

2009-08-06 Thread Hong
@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

[android-developers] Re: Displaying virtual keyboard in a custom View

2009-08-05 Thread Zigurd
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

[android-developers] Re: Displaying virtual keyboard in a custom View

2009-07-28 Thread LambergaR
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