title: How to watch multiple edittext boxes for a softkey enter or done press?
body: <p>I have 14 edittext boxes that a user can change at will. When the text is changed in one of them, a softpad key press on the 'enter/next/done' key should re-run a calculation using the new text. I've tried onKey listener but it doesn't work on the soft keyboard, on;y the hard keypad. I've tried a textwatcher like onTextChanged but it reacts and runs the calculation when only a single digit is entered, before the user can input a two or more digit number. So... I hear the onEditorActionListener works on soft keypads to watch for the keypress, but I can't get the syntax right. Here's what I have:</p>
  
  <p>In the onCreate method:<br>
      myEdittext1.setOnEditorActionListener(this);</p>
  
  <p>...<br>
      myEdittext14.setOnEditorActionListener(this);</p>
  
  <p>Then, outside the onCreate method, I have:</p>
  
  <pre><code>@Override
   public boolean onEditorAction(TextView v, int actionId, KeyEvent event)
   {  if (event.getKeyCode() == KeyEvent.FLAG_EDITOR_ACTION)
      {  //do my calcs}
      }
      return(true);
   }
  </code></pre>
  
  <p>The code gives me the foreced-close business. Any help would be greatly appreciated.</p>