I have one screen. it consists of an edit text. I want when this screen shown on the screen, keypad automatically shown by default without clicking on the edit text.
A:
Have you tried something like:
InputMethodManager imm = (InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE);
imm.showSoftInputFromInputMethod(myEditText.getWindowToken(), 0);
Cristian
2010-09-29 15:43:47
A:
In your App Manifest.xml file, you can set the soft keyboard status. Sounds like you want to set it to "stateVisible" or "stateAlwaysVisible"
android:windowSoftInputMode=["stateUnspecified",
"stateUnchanged", "stateHidden",
"stateAlwaysHidden", "stateVisible",
"stateAlwaysVisible", "adjustUnspecified",
"adjustResize", "adjustPan"] >
Tom
2010-09-29 16:31:10