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

Popular posts from this blog

java - Unable to make sub reports with Jasper -

scala - play framework: Modules were resolved with conflicting cross-version suffixes -

Save and close a word document by giving a name in R -