Android Device Version Check isGingerbread()

Here you can find the source of isGingerbread()

Description

I guess this should really be named "isGingerbreadOrAbove()" but I suck at function naming.

Declaration

public static boolean isGingerbread() 

Method Source Code

//package com.java2s;

import android.os.Build;

public class Main {
    /**/*www . j av a  2 s . c om*/
     * I guess this should really be named "isGingerbreadOrAbove()" but I suck at function naming.
     * @return
     */
    public static boolean isGingerbread() {
        return Build.VERSION.SDK_INT >= Build.VERSION_CODES.GINGERBREAD;
    }
}

Related

  1. isJellybeanOrLater()
  2. isJellybeanOrLater()
  3. checkIncVersion(String fingerprinter, String product)
  4. checkVersion(long newVersion, String product)
  5. getAndroidVersion()
  6. isHoneycomb()
  7. isICS()
  8. isJellybean()
  9. isKitKat()