Partager via


Build.VERSION_CODES.JellyBeanMr1 Field

Definition

Caution

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

J MR1.

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

Field Value

Value = 17
Attributes

Remarks

J MR1.

Released publicly as Android 4.2 in November 2012.

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

<ul> <li>Content Providers: The default value of android:exported is now false. See the android:exported section in the provider documentation for more details.</li> <li>android.view.View#getLayoutDirection() View.getLayoutDirection() can return different values than android.view.View#LAYOUT_DIRECTION_LTR based on the locale etc. <li> android.webkit.WebView#addJavascriptInterface(Object, String) WebView.addJavascriptInterface requires explicit annotations on methods for them to be accessible from Javascript. </ul>

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

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