I converted characters into hexadecimal format But it looks ugly how to provide the formatted way.
Thank you.
I converted characters into hexadecimal format But it looks ugly how to provide the formatted way.
Thank you.
something like this could help:
char ch = 'a';
String hex = String.format("%04x", (int) ch);
tf.setText(hex);