This week's book giveaway is in the HTML/CSS/JavaScript forum.
We're giving away four copies of Practical SVG and have Chris Coyier on-line!
See this thread for details.
Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic


Sreenu Vengala
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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);

If you're gonna buy things, buy this thing and I get a fat kickback:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!