I have a Bluetooth application which is receiving data in Hexa format in this format
"01 0D 18 DA F1 10 03 41 0D 00"
convert this into the decimal and display in my app.
I am using this kind of logic.
int myInt = Integer.parseInt(data1,16);
but i want to convert particluar byte like in the above example. I want to decode only "03 41" into decimal and display .
please help me out in this.