eclair property
int
get
eclair
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 newService.START_STICKY
behavior instead of the old compatibilityService.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)
Added in API level 5
Implementation
static int get eclair => Build_VERSION_CODES.ECLAIR;