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 - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -