Hello,
i've got it to work, i can receive the string for example : "w: 125",
this is stored in variable : result.
i have also added this code, so i can de substring:
int spacePos = result.indexOf(" ");
number= result.substring(spacePos +1, (spacePos+1)+3);
this means i filter the w: and the space away.
when i print this, it works, i only see the number, buth if i wan't to do something with it, i have to convert it to a integer.
when i use :
number2 = Integer.valueOf(number);
or
number2 = Integer.parseInt(number);
and i print number 2, i don't see anything.
can somebody help me?
best regards