title: Send backspace key event to edit text
body: <p>I don't know how to send a backspace key event to a <code>EditText</code> from my own button. Here is what i tried:</p>
  
  <pre><code>Button backSpace=(Button)findViewById(R.id.backSpace_tab);
  backSpace.setOnClickListener(new OnClickListener() {
  
      @Override
      public void onClick(View v) {
          // TODO Auto-generated method stub
          text.dispatchKeyEvent(new  KeyEvent(KeyEvent.KEYCODE_DEL,KeyEvent.KEYCODE_P));
      }
  });
  </code></pre>