I want to validate the version.I am using this code
String deviceVersion= Build.VERSION.RELEASE;
String limitVersion="4.0";
storing it in a variable For eg:deviceVersion is 2.3.6 i cannot convert it to the integer .How can i do this.
I want to check like this.
if(deviceVersion => limitVersion )
{
//do something
}else{
//do something
}