My app is writing inputStream to string, then string to textView. Under that I controll my UI animations with if statements. Now I don`t know how to make if statement: if (BTtext => 100 && BTtext <=350)
Values from 100 to 350 are for seekbarposition adjustment. I also have other values that need to be ignored in that case. I had tryed:
if(strInput > lowervol && strInput < uppervol) {
}
strInput is my inputStream. lowervol & uppervol are created as so:
final static String lowervol = "99";
final static String uppervol = "351";
If I do it like that I get:
error: bad operand types for binary operator '>'
first type: String
second type: String
error: bad operand types for binary operator '<'
first type: String
second type: String
How can this be done? Thank you