Package 

Class BuildCheck

    • Method Summary

      Modifier and Type Method Description
      static boolean isCurrentDevelopment() Magic version number for a current development build,which has not yet turned into an official release.
      static boolean isBase() October 2008: The original, first, version of Android.
      static boolean isBase11() February 2009: First Android update, officially called 1.1.
      static boolean isCupcake() May 2009: Android 1.5.
      static boolean isAndroid1_5() May 2009: Android 1.5.
      static boolean isDonut() September 2009: Android 1.6.
      static boolean isAndroid1_6() September 2009: Android 1.6.
      static boolean isEclair() November 2009: Android 2.
      static boolean isAndroid2_0() November 2009: Android 2.
      static boolean isEclair01() December 2009: Android 2.0.
      static boolean isEclairMR1() January 2010: Android 2.
      static boolean isFroyo() June 2010: Android 2.
      static boolean isAndroid2_2() June 2010: Android 2.
      static boolean isGingerBread() November 2010: Android 2.
      static boolean isAndroid2_3() November 2010: Android 2.
      static boolean isGingerBreadMR1() February 2011: Android 2.3.3.
      static boolean isAndroid2_3_3() February 2011: Android 2.3.3.
      static boolean isHoneyComb() February 2011: Android 3.0.
      static boolean isAndroid3() February 2011: Android 3.0.
      static boolean isHoneyCombMR1() May 2011: Android 3.1.
      static boolean isAndroid3_1() May 2011: Android 3.1.
      static boolean isHoneyCombMR2() June 2011: Android 3.2.
      static boolean isAndroid3_2() June 2011: Android 3.2.
      static boolean isIcecreamSandwich() October 2011: Android 4.0.
      static boolean isAndroid4() October 2011: Android 4.0.
      static boolean isIcecreamSandwichMR1() December 2011: Android 4.0.3.
      static boolean isAndroid4_0_3() December 2011: Android 4.0.3.
      static boolean isJellyBean() June 2012: Android 4.1.
      static boolean isAndroid4_1() June 2012: Android 4.1.
      static boolean isJellyBeanMr1() November 2012: Android 4.2, Moar jelly beans!
      static boolean isAndroid4_2() November 2012: Android 4.2, Moar jelly beans!
      static boolean isJellyBeanMR2() July 2013: Android 4.3, the revenge of the beans.
      static boolean isAndroid4_3() July 2013: Android 4.3, the revenge of the beans.
      static boolean isKitKat() October 2013: Android 4.4, KitKat, another tasty treat.
      static boolean isAndroid4_4() October 2013: Android 4.4, KitKat, another tasty treat.
      static boolean isKitKatWatch() Android 4.4W: KitKat for watches, snacks on the run.
      static boolean isL() Lollipop.
      static boolean isLollipop() Lollipop.
      static boolean isAndroid5() Lollipop.
      static boolean isLollipopMR1() Lollipop with an extra sugar coating on the outside!
      static boolean isM() Marshmallow.
      static boolean isMarshmallow() Marshmallow.
      static boolean isAndroid6() Marshmallow.
      static boolean isN() 虫歯の元, API >= 24
      static boolean isNougat() 歯にくっつくやつ, API >= 24
      static boolean isAndroid7() API >= 24
      static boolean isNMR1() API>=25
      static boolean isNougatMR1() API>=25
      static boolean isO() おれおれぇー API>=26
      static boolean isOreo() おれおれぇー API>=26
      static boolean isAndroid8() おれおれぇー API>=26
      static boolean isOMR1() おれおれぇー API>=27
      static boolean isOreoMR1() おれおれぇー MR1 API>=27
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • isCurrentDevelopment

         static boolean isCurrentDevelopment()

        Magic version number for a current development build,which has not yet turned into an official release. API=10000

      • isBase

         static boolean isBase()

        October 2008: The original, first, version of Android. Yay!, API>=1

      • isBase11

         static boolean isBase11()

        February 2009: First Android update, officially called 1.1., API>=2

      • isCupcake

         static boolean isCupcake()

        May 2009: Android 1.5., API>=3

      • isAndroid1_5

         static boolean isAndroid1_5()

        May 2009: Android 1.5., API>=3

      • isDonut

         static boolean isDonut()

        September 2009: Android 1.6., API>=4

      • isAndroid1_6

         static boolean isAndroid1_6()

        September 2009: Android 1.6., API>=4

      • isEclair

         static boolean isEclair()

        November 2009: Android 2.0, API>=5

      • isAndroid2_0

         static boolean isAndroid2_0()

        November 2009: Android 2.0, API>=5

      • isEclair01

         static boolean isEclair01()

        December 2009: Android 2.0.1, API>=6

      • isEclairMR1

         static boolean isEclairMR1()

        January 2010: Android 2.1, API>=7

      • isFroyo

         static boolean isFroyo()

        June 2010: Android 2.2, API>=8

      • isAndroid2_2

         static boolean isAndroid2_2()

        June 2010: Android 2.2, API>=8

      • isGingerBread

         static boolean isGingerBread()

        November 2010: Android 2.3, API>=9

      • isAndroid2_3

         static boolean isAndroid2_3()

        November 2010: Android 2.3, API>=9

      • isGingerBreadMR1

         static boolean isGingerBreadMR1()

        February 2011: Android 2.3.3., API>=10

      • isAndroid2_3_3

         static boolean isAndroid2_3_3()

        February 2011: Android 2.3.3., API>=10

      • isHoneyComb

         static boolean isHoneyComb()

        February 2011: Android 3.0., API>=11

      • isAndroid3

         static boolean isAndroid3()

        February 2011: Android 3.0., API>=11

      • isHoneyCombMR1

         static boolean isHoneyCombMR1()

        May 2011: Android 3.1., API>=12

      • isAndroid3_1

         static boolean isAndroid3_1()

        May 2011: Android 3.1., API>=12

      • isHoneyCombMR2

         static boolean isHoneyCombMR2()

        June 2011: Android 3.2., API>=13

      • isAndroid3_2

         static boolean isAndroid3_2()

        June 2011: Android 3.2., API>=13

      • isIcecreamSandwich

         static boolean isIcecreamSandwich()

        October 2011: Android 4.0., API>=14

      • isAndroid4

         static boolean isAndroid4()

        October 2011: Android 4.0., API>=14

      • isAndroid4_0_3

         static boolean isAndroid4_0_3()

        December 2011: Android 4.0.3., API>=15

      • isJellyBean

         static boolean isJellyBean()

        June 2012: Android 4.1., API>=16

      • isAndroid4_1

         static boolean isAndroid4_1()

        June 2012: Android 4.1., API>=16

      • isJellyBeanMr1

         static boolean isJellyBeanMr1()

        November 2012: Android 4.2, Moar jelly beans!, API>=17

      • isAndroid4_2

         static boolean isAndroid4_2()

        November 2012: Android 4.2, Moar jelly beans!, API>=17

      • isJellyBeanMR2

         static boolean isJellyBeanMR2()

        July 2013: Android 4.3, the revenge of the beans., API>=18

      • isAndroid4_3

         static boolean isAndroid4_3()

        July 2013: Android 4.3, the revenge of the beans., API>=18

      • isKitKat

         static boolean isKitKat()

        October 2013: Android 4.4, KitKat, another tasty treat., API>=19

      • isAndroid4_4

         static boolean isAndroid4_4()

        October 2013: Android 4.4, KitKat, another tasty treat., API>=19

      • isKitKatWatch

         static boolean isKitKatWatch()

        Android 4.4W: KitKat for watches, snacks on the run., API>=20

      • isL

         static boolean isL()

        Lollipop. A flat one with beautiful shadows. But still tasty., API>=21

      • isLollipop

         static boolean isLollipop()

        Lollipop. A flat one with beautiful shadows. But still tasty., API>=21

      • isAndroid5

         static boolean isAndroid5()

        Lollipop. A flat one with beautiful shadows. But still tasty., API>=21

      • isLollipopMR1

         static boolean isLollipopMR1()

        Lollipop with an extra sugar coating on the outside!, API>=22

      • isM

         static boolean isM()

        Marshmallow. A flat one with beautiful shadows. But still tasty., API>=23

      • isMarshmallow

         static boolean isMarshmallow()

        Marshmallow. A flat one with beautiful shadows. But still tasty., API>=23

      • isAndroid6

         static boolean isAndroid6()

        Marshmallow. A flat one with beautiful shadows. But still tasty., API>=23

      • isN

         static boolean isN()

        虫歯の元, API >= 24

      • isNougat

         static boolean isNougat()

        歯にくっつくやつ, API >= 24

      • isAndroid7

         static boolean isAndroid7()

        API >= 24

      • isNMR1

         static boolean isNMR1()

        API>=25

      • isO

         static boolean isO()

        おれおれぇー API>=26

      • isOreo

         static boolean isOreo()

        おれおれぇー API>=26

      • isAndroid8

         static boolean isAndroid8()

        おれおれぇー API>=26

      • isOMR1

         static boolean isOMR1()

        おれおれぇー API>=27

      • isOreoMR1

         static boolean isOreoMR1()

        おれおれぇー MR1 API>=27