posted 13 years ago
Hi..
How to check whether softkeypad is enable or not..
I tried in the following way but it is not working
Configuration configuration = getResources().getConfiguration();
configuration.keyboardHidden == Configuration .KEYBOARDHIDDEN_NO
It is not working
and I tried in following way this one also not working
InputMethodManager inputMethodManager = (InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE);
boolean myBool = inputMethodManager.hideSoftInputFromWindow(msgBox.getWindowToken(), InputMethodManager.RESULT_UNCHANGED_SHOWN);
Thanks
Srinu