Build.VERSION_CODES.HoneycombMr2 Field

Definition

Caution

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

H MR2.

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

Field Value

Value = 13
Attributes

Remarks

H MR2.

Released publicly as Android 3.2 in July 2011.

Update to Honeycomb MR1 to support 7 inch tablets, improve screen compatibility mode, etc.

As of this version, applications that don't say whether they support XLARGE screens will be assumed to do so only if they target #HONEYCOMB or later; it had been #GINGERBREAD or later. Applications that don't support a screen size at least as large as the current screen will provide the user with a UI to switch them in to screen size compatibility mode.

This version introduces new screen size resource qualifiers based on the screen size in dp: see android.content.res.Configuration#screenWidthDp, android.content.res.Configuration#screenHeightDp, and android.content.res.Configuration#smallestScreenWidthDp. Supplying these in &lt;supports-screens&gt; as per android.content.pm.ApplicationInfo#requiresSmallestWidthDp, android.content.pm.ApplicationInfo#compatibleWidthLimitDp, and android.content.pm.ApplicationInfo#largestWidthLimitDp is preferred over the older screen size buckets and for older devices the appropriate buckets will be inferred from them.

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

<ul> <li>

New android.content.pm.PackageManager#FEATURE_SCREEN_PORTRAIT and android.content.pm.PackageManager#FEATURE_SCREEN_LANDSCAPE features were introduced in this release. Applications that target previous platform versions are assumed to require both portrait and landscape support in the device; when targeting Honeycomb MR1 or greater the application is responsible for specifying any specific orientation it requires.

<li>

android.os.AsyncTask will use the serial executor by default when calling android.os.AsyncTask#execute.

<li>

android.content.pm.ActivityInfo#configChanges ActivityInfo.configChanges will have the android.content.pm.ActivityInfo#CONFIG_SCREEN_SIZE and android.content.pm.ActivityInfo#CONFIG_SMALLEST_SCREEN_SIZE bits set; these need to be cleared for older applications because some developers have done absolute comparisons against this value instead of correctly masking the bits they are interested in. </ul>

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

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