Here you can find the source of hasHoneycomb()
public static boolean hasHoneycomb()
//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; } }