The “backspace” character '\b' in the Android Edittext does not work?
<p>I'm trying to look at someone else's code on developing android virtual keyboards.</p>

<p>I have a gesture[swipeLeft] hooked to one of the backspace gesture and I use the following to implement that:</p>

<pre><code>playSound(backspacePlayer); // background sound
InputConnection connection = getCurrentInputConnection();
connection.commitText("\b", 1);
</code></pre>

<p><strong>My main problem is that I can hear the sound of the backspace but it is not executed in the EditText.  I mean that the characters do NOT get erased in the EditText.</strong></p>

<p>Is the code I'm using okay? or is there a problem with commiting "\b" to text.
Also this code works for all other characters except backspace!</p>

<p>Any help would be awesome !
Adit</p>
