Udostępnij za pośrednictwem


Build.VERSION_CODES.Eclair Field

Definition

Caution

This constant will be removed in the future version. Use Android.OS.BuildVersionCodes enum directly instead of this field.

E.

[Android.Runtime.Register("ECLAIR")]
[System.Obsolete("This constant will be removed in the future version. Use Android.OS.BuildVersionCodes enum directly instead of this field.", true)]
public const Android.OS.BuildVersionCodes Eclair = 5;
[<Android.Runtime.Register("ECLAIR")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.OS.BuildVersionCodes enum directly instead of this field.", true)>]
val mutable Eclair : Android.OS.BuildVersionCodes

Field Value

Value = 5
Attributes

Remarks

E.

Released publicly as Android 2.0 in October 2009.

Applications targeting this or a later release will get these new changes in behavior:

<ul> <li> The android.app.Service#onStartCommand Service.onStartCommand function will return the new android.app.Service#START_STICKY behavior instead of the old compatibility android.app.Service#START_STICKY_COMPATIBILITY. <li> The android.app.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. <li> The android.widget.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. </ul>

Java documentation for android.os.Build.VERSION_CODES.ECLAIR.

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.

Applies to