title: Input method is unable to get the action from Done button in android
body: <ol>
  <li>I am trying to create an Input method, for which i am using
  softkeyboard example provided by the android sdk.</li>
  <li>I install my application (apk file) on a samsung device (android
  2.1 sdk).</li>
  <li>In the device i activate my IME and open the MEMO application. I
  change the orientation to landscape mode and type some words and the
  Click on the "Done" button which is at the right of the text.</li>
  <li>When "Done" button is clicked, i am not able to understand, as
  which function of the InputMethod Service is getting called. Can you
  please help me on this.</li>
  <li>Can you please tell me where the Control flows when such editor
  based buttons are called.</li>
  </ol>