We can get the status by the Configuration instance. Configuration config = getResources().getConfiguration(); > int state = config.hardKeyboardHidden >
But I guess, you can't programmatically turn off this. On Thursday, 8 March 2012 03:30:29 UTC+5:30, eddie wrote: > > Everytime I plug a keyboard or scanner, the soft keyboard no longer > shows when EditText is in focus. > > I've already tried to force the soft keyboard to always show using the > inputManager, but it only works when the physical keyboard is > unplugged. > > inputManager = (InputMethodManager) > context.getSystemService(Context.INPUT_METHOD_SERVICE); > > inputManager.showSoftInputFromInputMethod(textView.getWindowToken(),InputMethodManager.SHOW_FORCED); > > > I'm using API 12 - Android 3.1. > > I couldn't also find how to show the window pop-up where the user can > manually turn off the physical keyboard. > > Any help is appreciated . > Thank you > Eddie -- -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

