Write comma separated unicode in android textview -
hello friends have 1 hexadecimal code
string ss=54,44,24
i want wrote in android below
text.settext("\u54\u44\u24");
but show me error "invalid unicode" idea how can write it?
please try this:
mport org.apache.commons.codec.binary.hex; ... string hexstring = hex.encodehexstring(mystring.getbytes(/* charset */));
Comments
Post a Comment