BuildVersionCodes Enum

Definition

Enumerates values returned by several types and taken as a parameter of the F:Android.Views.InputMethods.EditorInfo.MakeCompatible member.

public enum BuildVersionCodes
type BuildVersionCodes = 
Inheritance
BuildVersionCodes

Fields

Name Value Description
Base 1

October 2008: The original, first, version of Android.

Base11 2

February 2009: First Android update, officially called 1.1.

Cupcake 3

May 2009: Android 1.5.

Donut 4

September 2009: Android 1.6.

Eclair 5

E. Released publicly as Android 2.0 in October 2009. Applications targeting this or a later release will get these new changes in behavior: The Service.onStartCommand function will return the new Service.START_STICKY behavior instead of the old compatibility Service.START_STICKY_COMPATIBILITY .

Eclair01 6

E incremental update. Released publicly as Android 2.0.1 in December 2009.

EclairMr1 7

E MR1. Released publicly as Android 2.1 in January 2010.

Froyo 8

F. Released publicly as Android 2.2 in May 2010.

Gingerbread 9

G. Released publicly as Android 2.3 in December 2010. Applications targeting this or a later release will get these new changes in behavior: The application's notification icons will be shown on the new dark status bar background, so must be visible in this situation.

GingerbreadMr1 10

February 2011: Android 2.3.3.

Honeycomb 11

H. Released publicly as Android 3.0 in February 2011. Applications targeting this or a later release will get these new changes in behavior: The default theme for applications is now dark holographic: R.style.Theme_Holo .

HoneycombMr1 12

May 2011: Android 3.1.

HoneycombMr2 13

June 2011: Android 3.2.

IceCreamSandwich 14

October 2011: Android 4.0.

IceCreamSandwichMr1 15

December 2011: Android 4.0.3.

JellyBean 16

June 2012: Android 4.1.

JellyBeanMr1 17

J MR1. Released publicly as Android 4.2 in November 2012. Applications targeting this or a later release will get these new changes in behavior: Content Providers: The default value of android:exported is now false .

JellyBeanMr2 18

Android 4.3: Jelly Bean MR2, the revenge of the beans.

Kitkat 19

K. Released publicly as Android 4.4 in October 2013. Applications targeting this or a later release will get these new changes in behavior.

KitkatWatch 20

K for watches. Released publicly as Android 4.4W in June 2014. Applications targeting this or a later release will get these new changes in behavior: AlertDialog might not have a default background if the theme does not specify one.

Lollipop 21

L. Released publicly as Android 5.0 in November 2014. Applications targeting this or a later release will get these new changes in behavior.

LollipopMr1 22

L MR1. Released publicly as Android 5.1 in March 2015. For more information about this release, see the Android 5.1 APIs . Constant Value: 22 (0x00000016)

M 23

M. Released publicly as Android 6.0 in October 2015. Applications targeting this or a later release will get these new changes in behavior.

N 24

N. Released publicly as Android 7.0 in August 2016. Applications targeting this or a later release will get these new changes in behavior.

NMr1 25

N MR1. Released publicly as Android 7.1 in October 2016. For more information about this release, see Android 7.1 for Developers . Constant Value: 25 (0x00000019)

O 26

O. Released publicly as Android 8.0 in August 2017. Applications targeting this or a later release will get these new changes in behavior.

OMr1 27

O MR1. Released publicly as Android 8.1 in December 2017. Applications targeting this or a later release will get these new changes in behavior.

P 28

P. Released publicly as Android 9 in August 2018. Applications targeting this or a later release will get these new changes in behavior. For more information about this release, see the Android 9 Pie overview . Service.startForeground requires that apps hold the permission Manifest.permission.FOREGROUND_SERVICE . LinearLayout will always remeasure weighted children, even if there is no excess space.

Q 29

Q. Released publicly as Android 10 in September 2019. Applications targeting this or a later release will get these new changes in behavior. For more information about this release, see the Android 10 overview . Behavior changes: all apps Behavior changes: apps targeting API 29+

R 30

R. Released publicly as Android 11 in September 2020. Applications targeting this or a later release will get these new changes in behavior. For more information about this release, see the Android 11 overview . Behavior changes: all apps Behavior changes: Apps targeting Android 11 Updates to non-SDK interface restrictions in Android 11

S 31

S.

SV2 32

S V2. Once more unto the breach, dear friends, once more.

Tiramisu 33

Tiramisu.

UpsideDownCake 34

Upside Down Cake.

VanillaIceCream 35

Vanilla Ice Cream.

Baklava 36

Baklava.

CurDevelopment 10000

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

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Java documentation for android.os.Build.VERSION_CODES.

Applies to