0

Is their anyway to disable the keyboard completely in my app?

I tried

InputMethodManager imm = (InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE);
imm.hideSoftInputFromWindow(webView.getApplicationWindowToken(),0);

This didn't behave as expected.. Any thoughts?

Android 3.0

Joey BagODonuts
  • 363
  • 1
  • 2
  • 8
  • This should help you: http://russenreaktor.wordpress.com/2010/05/06/solved-android-hidedisable-soft-keyboard-for-activity/ – Marc Juschkeit Aug 01 '11 at 15:49
  • no that doesn't help that much, I am not sure you can disable the keyboard in the xml. – Joey BagODonuts Aug 01 '11 at 16:11
  • Read the following thread. They descripe diverent solution to hide/disable the keyboard: http://stackoverflow.com/questions/1109022/how-to-close-hide-the-android-soft-keyboard – Marc Juschkeit Aug 02 '11 at 10:40

0 Answers0