Partager via


Build.VERSION_CODES.Honeycomb Field

Definition

Caution

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

H.

[Android.Runtime.Register("HONEYCOMB")]
[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 Honeycomb = 11;
[<Android.Runtime.Register("HONEYCOMB")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.OS.BuildVersionCodes enum directly instead of this field.", true)>]
val mutable Honeycomb : Android.OS.BuildVersionCodes

Field Value

Value = 11
Attributes

Remarks

H.

Released publicly as Android 3.0 in February 2011.

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

<ul> <li> The default theme for applications is now dark holographic: android.R.style#Theme_Holo. <li> On large screen devices that do not have a physical menu button, the soft (compatibility) menu is disabled. <li> The activity lifecycle has changed slightly as per android.app.Activity. <li> An application will crash if it does not call through to the super implementation of its android.app.Activity#onPause Activity.onPause() method. <li> 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. <li> android.content.Context#getSharedPreferences Context.getSharedPreferences() will not automatically reload the preferences if they have changed on storage, unless android.content.Context#MODE_MULTI_PROCESS is used. <li> android.view.ViewGroup#setMotionEventSplittingEnabled will default to true. <li> android.view.WindowManager.LayoutParams#FLAG_SPLIT_TOUCH is enabled by default on windows. <li> android.widget.PopupWindow#isSplitTouchEnabled() PopupWindow.isSplitTouchEnabled() will return true by default. <li> android.widget.GridView and android.widget.ListView will use android.view.View#setActivated View.setActivated for selected items if they do not implement android.widget.Checkable. <li> android.widget.Scroller will be constructed with "flywheel" behavior enabled by default. </ul>

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

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