[android-developers] Re: Is there a flag I can enable to permanently display the virtual keyboard in my app?

2009-04-29 Thread blindfold
But it seems to only work with an Edit Text view, I understand it makes little sense to do so but is there a way I can have it permanently raised for say an image view? I too am looking for a very simple way to just pop up a soft keyboard for my graphical screen (being an ImageView), to next

[android-developers] Re: Is there a flag I can enable to permanently display the virtual keyboard in my app?

2009-04-29 Thread Dianne Hackborn
Call the method on InputMethodManager to show the soft keyboard. On Wed, Apr 29, 2009 at 11:06 AM, blindfold seeingwithso...@gmail.comwrote: But it seems to only work with an Edit Text view, I understand it makes little sense to do so but is there a way I can have it permanently raised

[android-developers] Re: Is there a flag I can enable to permanently display the virtual keyboard in my app?

2009-03-22 Thread me tun
My apologies for resurrecting this thread, but is it possible now to not display the soft keyboard when the EditText view receives an on touch event? I've looked at IMM code and the closest thing I can find for doing such a thing is hideSoftInputFromWindow(IBinder windowToken) but I'm not too

[android-developers] Re: Is there a flag I can enable to permanently display the virtual keyboard in my app?

2009-03-17 Thread me tun
One can set, android:windowSoftInputMode=stateVisible in the AndroidManifest... Cheers. On Mar 17, 2:14 pm, me tun a...@tpg.com.au wrote: Thanks Dianne, I've had a quick look through the code and have seen how the onTouchEvent in the TextView Class has been modified to display the soft

[android-developers] Re: Is there a flag I can enable to permanently display the virtual keyboard in my app?

2009-03-16 Thread me tun
In the InputMethodManager class, there seems to be a method showSoftInput(view) @param view: The currently focused view, which would like to receive soft keyboard input. I have tried calling this as follows: InputMethodManager imm = (InputMethodManager)

[android-developers] Re: Is there a flag I can enable to permanently display the virtual keyboard in my app?

2009-03-16 Thread Dianne Hackborn
If you are going to use new features before these is an SDK, you will want to read through the source code java docs and the code itself to figure out what you want to do. In this case WindowManager.LayoutParams has new options for controlling the input method, View has new methods, and the

[android-developers] Re: Is there a flag I can enable to permanently display the virtual keyboard in my app?

2009-03-16 Thread me tun
Thanks Dianne, I've had a quick look through the code and have seen how the onTouchEvent in the TextView Class has been modified to display the soft keyboard if it is both focused and touched (how profound). I've managed to get it to display by clicking a button, but really I'd like it called in