is Below Lollipop - Android Android OS

Android examples for Android OS:OS Version

Description

is Below Lollipop

Demo Code

import android.os.Build;

public class Main {
  public static boolean isBelowLollipop() {
    return Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP;
  }// w  ww  .  java2 s . c  o m
}

Related Tutorials