Hi,
I want to show the softkeyboard, but it does not work. Here is my code: public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
myTextView myTextView = new myTextView(this);
setContentView(myTextView);
}
public class myTextView extends EditText{
public boolean onTouchEvent(){
if(action == ACTION_DOWN){
super.onTouchEvent(event);
} }
When i touch the screen, the softkeyboard does not appear, but the alertDialog "edit text" appears, which appears on normal edittexts when you long touch them. This additional code in the onCreate has no affection: InputMethodManager input = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE); input.showSoftInput(myTextView, 0);
Thanks for help, Fr4gg0r