Build.VERSION_CODES.JellyBean 欄位
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
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
欄位值
Value = 16- 屬性
備註
J.
於 2012 年 7 月公開發佈為 Android 4.1。
針對此版本或後續版本的應用程式將獲得以下行為變更:
android.widget.RemoteViewsandroid.widget.RemoteViewsService 會拋出例外;之前這只會顯示警告日誌訊息。
<LI> 嵌入式 android.app.ActionBar 分頁的新政策:無論螢幕大小,直式模式下,嵌入分頁現在都會堆疊在動作列中。
<Li>android.webkit.WebSettings#setAllowFileAccessFromFileURLs(boolean) WebSettings.setAllowFileAccessFromFileURLs 並預設 android.webkit.WebSettings#setAllowUniversalAccessFromFileURLs(boolean) WebSettings.setAllowUniversalAccessFromFileURLs 為 false。
<如果給定的元件類別名稱不存在於應用程式的清單中,li> 呼叫 to android.content.pm.PackageManager#setComponentEnabledSetting PackageManager.setComponentEnabledSetting 現在會拋出 IllegalArgumentException。
<li>NfcAdapter.setNdefPushMessage, NfcAdapter.setNdefPushMessageCallbackNfcAdapter.setOnNdefPushCompleteCallback 若在活動被摧毀後被呼叫,則會拋出 IllegalStateException。
<li> 無障礙服務必須獲得新 android.Manifest.permission#BIND_ACCESSIBILITY_SERVICE 授權,否則將無法使用。
<
>
android.accessibilityservice.AccessibilityServiceInfo#FLAG_INCLUDE_NOT_IMPORTANT_VIEWS AccessibilityServiceInfo.FLAG_INCLUDE_NOT_IMPORTANT_VIEWS LI 必須設定為不重要的視圖,才能包含在查詢中。
</ul>
的 android.os.Build.VERSION_CODES.JELLY_BEANJava 檔。
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。