I have an app with an EditText
and a button named \"forward\". All I want is just when I type \"a\" in the EditText
and click the button, the word \"b\
A simpler way would be:
char value = edt.getText().toString().charAt(0);
edt.setText(Character.toString ((char) value+1));
Here the value + 1
adds the decimal equivalent of the character and increments it by one.. Here is a small chart:
Whats happens after 'z'? ... it wont crash.. see here for the full chart..