List of utility methods to do Device Version Check
boolean | isHoneycomb() is Honeycomb return Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB;
|
boolean | isICS() is ICS return Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH;
|
boolean | isJellybean() is Jellybean return Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN;
|
boolean | isKitKat() is Kit Kat return Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT;
|
boolean | isKitKatOnly() is Kit Kat Only return Build.VERSION.SDK_INT == Build.VERSION_CODES.KITKAT;
|
boolean | isLollipop() is Lollipop return Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP;
|
boolean | hasJellyBean() Used to determine if the device is running Jelly Bean or greater return Build.VERSION.SDK_INT >= 16;
|
boolean | hasJellyBeanMR2() Used to determine if the device is running Jelly Bean MR2 (Android 4.3) or greater return Build.VERSION.SDK_INT >= 18;
|
String | getAndroidVersion() get Android Version return Build.VERSION.RELEASE;
|
String | getAndroidBuildSerial() Returns the #android string. Not guaranteed to be unique and not null, only available from API 9. return android.os.Build.SERIAL;
|