[android-developers] Hide soft keyboard

2011-03-22 Thread Dirk Bruere at NeoPax
I am using InputMethodManager imm = (InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE); imm.hideSoftInputFromWindow(editBox.getWindowToken(), 0); To hide the soft keyboard when I have finished using an edittext box. However, it won't come back again! What do I need to do to cancel

[android-developers] Hide soft keyboard

2010-10-04 Thread John Gaby
I need to be able to hide the soft keyboard in response to clicking a button. I have seen numerous posts on this subject and it seems that the solution is to use the InputMethodManager, but I have been unable to get it to work for me. Supposedly the following will hide the soft keyboard: