Hi all,

My project has a requirement to open the virtual keyboard
automatically after show any activity/screen that has a form.

 So I put this configuration in the AndroidManifest.xml in all
activities that I need:

[android:windowSoftInputMode="stateVisible"]

It worked very well in devices without a physical  keyboard. But it
does not show the virtual keyboard automatically with Motorola DEXT,
Droid, etc.

this is a requirement ... anyone know how to do this?

I also tried to open the keyboard via code, but no sucess.

[
InputMethodManager imm =
(InputMethodManager)context.getSystemService(Context.INPUT_METHOD_SERVICE);
        if(imm != null) {
            imm.showSoftInput(text, 0);
        }
]

thank you

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to