Android examples for android.system:Os Version
check Version Greater Than Gingerbread
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 }