lundi 20 avril 2015

Hex to String in Android(Java)?

Maybe I was sticky in hex to String?I don't know. my code:

final byte[] txValue = intent.getByteArrayExtra(UartService.EXTRA_DATA);

txValue should be byte ?

debug:

Log.d("p1", ""+txValue.toString());

then show me those:

[B@1e631929
[B@9264ae

I don't know how to fix it ? somebody help me ?

Aucun commentaire:

Enregistrer un commentaire