java.lang.Object | |
↳ | android.os.Build.VERSION_CODES |
Enumeration of the currently known SDK version codes. These are the
values that can be found in SDK
. Version numbers
increment monotonically with each official platform release.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | BASE | October 2008: The original, first, version of Android. | |||||||||
int | BASE_1_1 | February 2009: First Android update, officially called 1.1. | |||||||||
int | CUPCAKE | May 2009: Android 1.5. | |||||||||
int | CUR_DEVELOPMENT | Magic version number for a current development build, which has not yet turned into an official release. | |||||||||
int | DONUT | September 2009: Android 1.6. | |||||||||
int | ECLAIR | November 2009: Android 2.0
Applications targeting this or a later release will get these new changes in behavior:
|
|||||||||
int | ECLAIR_0_1 | December 2009: Android 2.0.1 | |||||||||
int | ECLAIR_MR1 | January 2010: Android 2.1 | |||||||||
int | FROYO | June 2010: Android 2.2 | |||||||||
int | GINGERBREAD | November 2010: Android 2.3 | |||||||||
int | GINGERBREAD_MR1 | Newest version of Android, version 2.3.3. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
October 2008: The original, first, version of Android. Yay!
February 2009: First Android update, officially called 1.1.
May 2009: Android 1.5.
Magic version number for a current development build, which has not yet turned into an official release.
September 2009: Android 1.6.
Applications targeting this or a later release will get these new changes in behavior:
WRITE_EXTERNAL_STORAGE
permission to be
able to modify the contents of the SD card. (Apps targeting
earlier versions will always request the permission.)
READ_PHONE_STATE
permission to be
able to be able to retrieve phone state info. (Apps targeting
earlier versions will always request the permission.)
November 2009: Android 2.0
Applications targeting this or a later release will get these new changes in behavior:
Service.onStartCommand
function will return the new
START_STICKY
behavior instead of the
old compatibility START_STICKY_COMPATIBILITY
.
Activity
class will now execute back
key presses on the key up instead of key down, to be able to detect
canceled presses from virtual keys.
TabWidget
class will use a new color scheme
for tabs. In the new scheme, the foreground tab has a medium gray background
the background tabs have a dark gray background.
December 2009: Android 2.0.1
January 2010: Android 2.1
June 2010: Android 2.2
November 2010: Android 2.3
Newest version of Android, version 2.3.3.