Build.VERSION_CODES.JellyBean Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
This constant will be removed in the future version. Use Android.OS.BuildVersionCodes enum directly instead of this field.
J.
[Android.Runtime.Register("JELLY_BEAN")]
[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 JellyBean = 16;
[<Android.Runtime.Register("JELLY_BEAN")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.OS.BuildVersionCodes enum directly instead of this field.", true)>]
val mutable JellyBean : Android.OS.BuildVersionCodes
Field Value
Value = 16- Attributes
Remarks
J.
Released publicly as Android 4.1 in July 2012.
Applications targeting this or a later release will get these new changes in behavior:
<ul> <li> You must explicitly request the android.Manifest.permission#READ_CALL_LOG
and/or android.Manifest.permission#WRITE_CALL_LOG
permissions; access to the call log is no longer implicitly provided through android.Manifest.permission#READ_CONTACTS
and android.Manifest.permission#WRITE_CONTACTS
. <li> android.widget.RemoteViews
will throw an exception if setting an onClick handler for views being generated by a android.widget.RemoteViewsService
for a collection container; previously this just resulted in a warning log message. <li> New android.app.ActionBar
policy for embedded tabs: embedded tabs are now always stacked in the action bar when in portrait mode, regardless of the size of the screen. <li> android.webkit.WebSettings#setAllowFileAccessFromFileURLs(boolean) WebSettings.setAllowFileAccessFromFileURLs
and android.webkit.WebSettings#setAllowUniversalAccessFromFileURLs(boolean) WebSettings.setAllowUniversalAccessFromFileURLs
default to false. <li> Calls to android.content.pm.PackageManager#setComponentEnabledSetting PackageManager.setComponentEnabledSetting
will now throw an IllegalArgumentException if the given component class name does not exist in the application's manifest. <li> NfcAdapter.setNdefPushMessage
, NfcAdapter.setNdefPushMessageCallback
and NfcAdapter.setOnNdefPushCompleteCallback
will throw IllegalStateException if called after the Activity has been destroyed. <li> Accessibility services must require the new android.Manifest.permission#BIND_ACCESSIBILITY_SERVICE
permission or they will not be available for use. <li> android.accessibilityservice.AccessibilityServiceInfo#FLAG_INCLUDE_NOT_IMPORTANT_VIEWS AccessibilityServiceInfo.FLAG_INCLUDE_NOT_IMPORTANT_VIEWS
must be set for unimportant views to be included in queries. </ul>
Java documentation for android.os.Build.VERSION_CODES.JELLY_BEAN
.
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.