Michael Zeuner Michael Zeuner - 5 months ago 8
Android Question

how do you make it so the Android keyboard doesnt open up when the user opens up my app?

can you make it so when you open up the app the on screen keyboard wont open up untill you click on one of the editText's?

Answer

In order to hide the virtual keyboard, you can use the InputMethodManager like this (you can put it in the onCreate()method of your landing activity) :

InputMethodManager imm = (InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE);
imm.hideSoftInputFromWindow(myEditText.getWindowToken(), 0);