語言

Build.VERSION_CODES.Donut 欄位

定義

警告

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

D.

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

欄位值

Value = 4
屬性

備註

D.

於 2009 年 9 月公開發佈為 Android 1.6。

針對此版本或後續版本的應用程式將獲得以下行為變更:

<ul><li> 他們必須明確申請 android.Manifest.permission#WRITE_EXTERNAL_STORAGE 修改 SD 卡內容的許可。 (針對早期版本的應用程式總是會請求權限。) <李> 他們必須明確申請 android.Manifest.permission#READ_PHONE_STATE 權限,才能取得手機狀態資訊。 (針對早期版本的應用程式總是會請求權限。) <李> 它們被假設支援不同的螢幕密度和尺寸。 (針對早期版本的應用程式假設僅支援中密度、正常大小的螢幕,除非另有說明)。 他們仍然可以用 supports-screens 清單標籤明確指定螢幕支援。 <李>android.widget.TabHost 將採用新的深色標籤背景設計。 </ul>

Java 文件 android.os.Build.VERSION_CODES.DONUT。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於