I want to get the char value of the KeyCode event when I click on the Android keyboard.
public void KeyCodeEventAsChar(int keyCode, KeyEvent event) { char pressedKey;
Does anyone know how to do this?
UPDATE:
I do not need hard code! I want to convert it to the corresponding char!
UPDATE 2:
I also need dead characters, such as: ร , รก, รฒ, รณ, etc.
ANSWER TO FIND:
IMPORTANT NOTE: char is only 1 byte long, therefore does not support multiple characters
Jorge source share