Android examples for Android OS:OS Version
has Lollipop MR1
//package com.java2s; import android.os.Build; public class Main { public static boolean hasLollipopMR1() { return Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP_MR1; }//from w ww . j a v a2s .c o m }