Android Device Version Check hasHoneycomb()

Here you can find the source of hasHoneycomb()

Description

Checks the current building sdk is honeycomb or not.

Return

true, if successful

Declaration

public static boolean hasHoneycomb() 

Method Source Code

//package com.java2s;
import android.os.Build;

public class Main {
    /**/*w w  w .j  a  va  2s  .  c o  m*/
     * Checks the current building sdk is honeycomb or not.
     * 
     * @return true, if successful
     */
    public static boolean hasHoneycomb() {
        return Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB;
    }
}

Related

  1. isLollipop()
  2. hasJellyBean()
  3. hasJellyBeanMR2()
  4. getAndroidVersion()
  5. getAndroidBuildSerial()
  6. GetSdkLevel()
  7. getDeviceId(Activity act)