Android And Android Sdk Versions Code Example


Example: android get sdk version

if(android.os.Build.VERSION.SDK_INT ==  android.os.Build.VERSION_CODES.LOLLIPOP){ 	// Code For Android Version higher equal to LOLLIPOP(21) } else if(android.os.Build.VERSION.SDK_INT > 21){ 	// Code For Android Version higher than LOLLIPOP(21) } else{ 	// Code For Android Version lower than LOLLIPOP(21) }

Comments

Popular posts from this blog

Chemistry - Bond Angles In NH3 And NCl3

Are Regular VACUUM ANALYZE Still Recommended Under 9.1?

Change The Font Size Of Visual Studio Solution Explorer