check Version Greater Than Gingerbread - Android android.system

Android examples for android.system:Os Version

Description

check Version Greater Than Gingerbread

Demo Code

import android.os.Build;

public class Main {

  public static boolean checkVersionGreaterThan10() {
    return android.os.Build.VERSION.SDK_INT > Build.VERSION_CODES.GINGERBREAD_MR1;
  }//from  w  w w.  java2  s.  c  o m

}

Related Tutorials