Tag archives for Close
How to close and hide the Android software keyboard ?
In an application, when you wait for users input you must use EditText wigdets. When users end their inputs and click OK button, you would like close the Android software keyboard. It's better than asking to users to close software keyboard themselves. Use that snippet code : EditText myEditText = (EditText) findViewById(); InputMethodManager imm = (InputMethodManager) getSystemService(); ((), 0); …