I am trying to hide my soft keyboard from an InputMethodService, and it isn't working. Here is the code I am using in my onFinishInput() method:
InputMethodManager im = (InputMethodManager)
context.getSystemService(Context.INPUT_METHOD_SERVICE);
im.hideSoftInputFromWindow(mInputView.getWindowToken(), 0);
Any ideas?