has Lollipop MR1 - Android Android OS

Android examples for Android OS:OS Version

Description

has Lollipop MR1

Demo Code


//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
}

Related Tutorials