Udostępnij za pośrednictwem


Build.VERSION_CODES.Kitkat Field

Definition

Caution

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

K.

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

Field Value

Value = 19
Attributes

Remarks

K.

Released publicly as Android 4.4 in October 2013.

Applications targeting this or a later release will get these new changes in behavior. For more information about this release, see the Android KitKat overview.

<ul> <li> The default result of android.preference.PreferenceActivity#isValidFragment(String) PreferenceActivity.isValueFragment becomes false instead of true.</li> <li> In android.webkit.WebView, apps targeting earlier versions will have JS URLs evaluated directly and any result of the evaluation will not replace the current page content. Apps targetting KITKAT or later that load a JS URL will have the result of that URL replace the content of the current page</li> <li> android.app.AlarmManager#set AlarmManager.set becomes interpreted as an inexact value, to give the system more flexibility in scheduling alarms.</li> <li> android.content.Context#getSharedPreferences(String, int) Context.getSharedPreferences no longer allows a null name.</li> <li> android.widget.RelativeLayout changes to compute wrapped content margins correctly.</li> <li> android.app.ActionBar's window content overlay is allowed to be drawn.</li> <li>The android.Manifest.permission#READ_EXTERNAL_STORAGE permission is now always enforced.</li> <li>Access to package-specific external storage directories belonging to the calling app no longer requires the android.Manifest.permission#READ_EXTERNAL_STORAGE or android.Manifest.permission#WRITE_EXTERNAL_STORAGE permissions.</li> </ul>

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

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