I am working on a dialog at Android with a few EditTexts. I\'ve put this line at the onCreate() in order to disable the soft keyboard:
EditText
onCreate()
InputMethodManager imm = (InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE); imm.hideSoftInputFromWindow(edSearch.getWindowToken(), 0);