Android Device Version Check isLollipop()

Here you can find the source of isLollipop()

Description

is Lollipop

Declaration

public static boolean isLollipop() 

Method Source Code

//package com.java2s;

import android.os.Build;

public class Main {
    public static boolean isLollipop() {
        return Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP;
    }//from   w ww .j  a v a2 s.  com
}

Related

  1. isHoneycomb()
  2. isICS()
  3. isJellybean()
  4. isKitKat()
  5. isKitKatOnly()
  6. hasJellyBean()
  7. hasJellyBeanMR2()
  8. getAndroidVersion()
  9. getAndroidBuildSerial()