Does anyone know how to request the android keyboard to be displayed, then listen to what keys are being pressed? (eg so they can type in their name).
How do you wana use it? A bit more details would be good
Do you wana start it out of an activity ?
If so check out this link:
Edit:
[java]
public void showSoftKeyboard(View view) { //start the methode, give it a view it can play with
if (view.requestFocus()) { //focus this view you gave
InputMethodManager imm = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE); //get the input manager into a field
imm.showSoftInput(view, InputMethodManager.SHOW_IMPLICIT); //show softKeyboard
}
}
[/java]
If this answer helped you dont forgett to rate this post
1 Like