title: Detect if Input Method has been selected
body: <p>In my application I need to make the user choose an input method. Once it's selected I should perform some task. How is detected that the user actually chooses an <code>InputMethod</code>?     </p>
  
  <p>This is the code used to show the <code>InputMethod</code> list.</p>
  
  <pre><code>InputMethodManager imeManager = (InputMethodManager) mw.getApplicationContext().getSystemService(Context.INPUT_METHOD_SERVICE);
  if (imeManager != null) {
      imeManager.showInputMethodPicker();
  } else {
      Toast.makeText(mw.getApplicationContext(), "IME ERROR",
      Toast.LENGTH_LONG).show();
  }
  </code></pre>