How does one go about converting an integer like
int keycode = 65;
into
String keycode = "a"?
Thanks everyone, I know how to do it vice-versa, I've searched all over and have not found a solution.
How does one go about converting an integer like
int keycode = 65;
into
String keycode = "a"?
Thanks everyone, I know how to do it vice-versa, I've searched all over and have not found a solution.
You can use this to do your operation. Since You have 0 to 255
ASCII
values, You need to validate it before manipulating.
int value = 65;
if (value >= 0 && value <= 255) {
char character = (char) value;
}