12-21-2012 10:36 AM
Purpose:
Show a byte result on the screen of BB 9900.
Question:
How to convert a single byte to String??
Part of code:
byte value = con.cpu_config.elementAt(i)
//stop here
String valuestring = new String(value);
_rtf.setText(valuestring);
If you know how to solve it, please share your idea.
Thanks your attention,
Solved! Go to Solution.
12-21-2012 10:49 AM
String valuestring = new String(new byte [] {value}};
_data.append(valuestring);
_rtf.setText(_data.toSrting());
Solve it.