Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

how to check android version 9 above programatically

if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.LOLLIPOP){
    // Do something for lollipop and above versions
} else{
    // do something for phones running an SDK before lollipop
}
 
PREVIOUS NEXT
Tagged: #check #android #version #programatically
ADD COMMENT
Topic
Name
4+4 =