Class Overview
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.
Summary
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 |
Almost newest version of Android, version 2.3.3. |
int |
HONEYCOMB |
Newest version of Android, version 3.0. |
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
Creates and returns a copy of this Object .
|
boolean
|
equals(Object o)
Compares this instance with the specified object and indicates if they
are equal.
|
void
|
finalize()
Called before the object's memory is reclaimed by the VM.
|
final
Class<?>
|
getClass()
Returns the unique instance of Class that represents this
object's class.
|
int
|
hashCode()
Returns an integer hash code for this object.
|
final
void
|
notify()
Causes a thread which is waiting on this object's monitor (by means of
calling one of the wait() methods) to be woken up.
|
final
void
|
notifyAll()
Causes all threads which are waiting on this object's monitor (by means
of calling one of the wait() methods) to be woken up.
|
String
|
toString()
Returns a string containing a concise, human-readable description of this
object.
|
final
void
|
wait()
Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object.
|
final
void
|
wait(long millis, int nanos)
Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the
specified timeout expires.
|
final
void
|
wait(long millis)
Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the
specified timeout expires.
|
|
Constants
public
static
final
int
BASE
October 2008: The original, first, version of Android. Yay!
Constant Value:
1
(0x00000001)
public
static
final
int
BASE_1_1
February 2009: First Android update, officially called 1.1.
Constant Value:
2
(0x00000002)
public
static
final
int
CUPCAKE
Constant Value:
3
(0x00000003)
public
static
final
int
CUR_DEVELOPMENT
Magic version number for a current development build, which has
not yet turned into an official release.
Constant Value:
10000
(0x00002710)
public
static
final
int
DONUT
September 2009: Android 1.6.
Applications targeting this or a later release will get these
new changes in behavior:
- They must explicitly request the
WRITE_EXTERNAL_STORAGE
permission to be
able to modify the contents of the SD card. (Apps targeting
earlier versions will always request the permission.)
- They must explicitly request the
READ_PHONE_STATE
permission to be
able to be able to retrieve phone state info. (Apps targeting
earlier versions will always request the permission.)
- They are assumed to support different screen densities and
sizes. (Apps targeting earlier versions are assumed to only support
medium density normal size screens unless otherwise indicated).
They can still explicitly specify screen support either way with the
supports-screens manifest tag.
Constant Value:
4
(0x00000004)
public
static
final
int
ECLAIR
November 2009: Android 2.0
Applications targeting this or a later release will get these
new changes in behavior:
- The
Service.onStartCommand
function will return the new
START_STICKY
behavior instead of the
old compatibility START_STICKY_COMPATIBILITY
.
- The
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.
- The
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.
Constant Value:
5
(0x00000005)
public
static
final
int
ECLAIR_0_1
December 2009: Android 2.0.1
Constant Value:
6
(0x00000006)
public
static
final
int
ECLAIR_MR1
January 2010: Android 2.1
Constant Value:
7
(0x00000007)
public
static
final
int
FROYO
Constant Value:
8
(0x00000008)
public
static
final
int
GINGERBREAD
November 2010: Android 2.3
Constant Value:
9
(0x00000009)
public
static
final
int
GINGERBREAD_MR1
Almost newest version of Android, version 2.3.3.
Constant Value:
10
(0x0000000a)
public
static
final
int
HONEYCOMB
Newest version of Android, version 3.0.
Applications targeting this or a later release will get these
new changes in behavior:
- The default theme for applications is now dark holographic:
Theme_Holo
.
- The activity lifecycle has changed slightly as per
Activity
.
- When an application requires a permission to access one of
its components (activity, receiver, service, provider), this
permission is no longer enforced when the application wants to
access its own component. This means it can require a permission
on a component that it does not itself hold and still access that
component.
Constant Value:
11
(0x0000000b)
Public Constructors
public
Build.VERSION_CODES
()