check Version Greater Than Jelly_Bean_MR1 - Android android.system

Android examples for android.system:Os Version

Description

check Version Greater Than Jelly_Bean_MR1

Demo Code

import android.os.Build;

public class Main {

  public static boolean checkVersionGreaterThan17() {
    return android.os.Build.VERSION.SDK_INT > Build.VERSION_CODES.JELLY_BEAN_MR1;
  }//  www. jav a2 s  .c om

}

Related Tutorials