For example, send a backspace key to the edit text control to remove a character or send a char code like 112 to append a character in the edittext control programmatically.
just use the setText method to do this. If you are wanting to simulate a backspace you could do something like this.
String curText = mEditText.getText(); if(!curText.equals("")){ mEditText.setText(curText.subString(0, curText.length - 1)); }