List of utility methods to do Android Version Check
boolean | hasFroyo() Used to determine if the device is running Froyo or greater return Build.VERSION.SDK_INT >= Build.VERSION_CODES.FROYO;
|
boolean | hasGingerbread() Used to determine if the device is running Gingerbread or greater return Build.VERSION.SDK_INT >= Build.VERSION_CODES.GINGERBREAD;
|
boolean | hasHoneycomb() Used to determine if the device is running Honeycomb or greater return Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB;
|
boolean | hasHoneycombMR1() Used to determine if the device is running Honeycomb-MR1 or greater return Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB_MR1;
|
boolean | hasICS() Used to determine if the device is running ICS or greater return Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH;
|
boolean | hasJellyBean() Used to determine if the device is running Jelly Bean or greater return Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN;
|
boolean | isHCMR1OrAbove() is HCMR Or Above return android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.HONEYCOMB_MR1;
|
boolean | isHCMR2OrAbove() is HCMR Or Above return android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.HONEYCOMB_MR2;
|
boolean | isHCOrAbove() is HC Or Above return android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.HONEYCOMB;
|
boolean | isICSOrAbove() is ICS Or Above return android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.ICE_CREAM_SANDWICH;
|