title: how to get which character is get deleted on backspace in android
body: <p>I am working with android 2.2.</p>
  
  <p>How to know which character is get deleted on backspace when editing text in custom auto complete in android.</p>
  
  <pre><code>public boolean onKeyUp(int keyCode,KeyEvent msg){  
       if(keyCode == KeyEvent.KEYCODE_DEL)
       {
          // how to find here which character is get deleted
       }
       return false;
  }
  </code></pre>