IT. Expert System.

Android Reference

Build.VERSION_CODES


android.os

Class Build.VERSION_CODES

  • Enclosing class:
    Build


    public static class Build.VERSION_CODES
    extends Object
    Enumeration of the currently known SDK version codes. These are the values that can be found in Build.VERSION.SDK. Version numbers increment monotonically with each official platform release.
    • Field Detail

      • CUR_DEVELOPMENT

        public static final int CUR_DEVELOPMENT
        Magic version number for a current development build, which has not yet turned into an official release.
        See Also:
        Constant Field Values
      • BASE

        public static final int BASE
        October 2008: The original, first, version of Android. Yay!
        See Also:
        Constant Field Values
      • BASE_1_1

        public static final int BASE_1_1
        February 2009: First Android update, officially called 1.1.
        See Also:
        Constant Field Values
      • DONUT

        public static final int DONUT
        September 2009: Android 1.6.

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

        • They must explicitly request the android.Manifest.permission#WRITE_EXTERNAL_STORAGE permission to be able to modify the contents of the SD card. (Apps targeting earlier versions will always request the permission.)
        • They must explicitly request the android.Manifest.permission#READ_PHONE_STATE permission to be able to be able to retrieve phone state info. (Apps targeting earlier versions will always request the permission.)
        • They are assumed to support different screen densities and sizes. (Apps targeting earlier versions are assumed to only support medium density normal size screens unless otherwise indicated). They can still explicitly specify screen support either way with the supports-screens manifest tag.
        • TabHost will use the new dark tab background design.
        See Also:
        Constant Field Values
      • ECLAIR

        public static final int ECLAIR
        November 2009: Android 2.0

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

        • The Service.onStartCommand function will return the new Service.START_STICKY behavior instead of the old compatibility Service.START_STICKY_COMPATIBILITY.
        • The Activity class will now execute back key presses on the key up instead of key down, to be able to detect canceled presses from virtual keys.
        • The TabWidget class will use a new color scheme for tabs. In the new scheme, the foreground tab has a medium gray background the background tabs have a dark gray background.
        See Also:
        Constant Field Values
      • ECLAIR_0_1

        public static final int ECLAIR_0_1
        December 2009: Android 2.0.1
        See Also:
        Constant Field Values
      • GINGERBREAD

        public static final int GINGERBREAD
        November 2010: Android 2.3

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

        • The application's notification icons will be shown on the new dark status bar background, so must be visible in this situation.
        See Also:
        Constant Field Values
      • GINGERBREAD_MR1

        public static final int GINGERBREAD_MR1
        February 2011: Android 2.3.3.
        See Also:
        Constant Field Values
      • HONEYCOMB

        public static final int HONEYCOMB
        February 2011: Android 3.0.

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

        See Also:
        Constant Field Values
      • HONEYCOMB_MR1

        public static final int HONEYCOMB_MR1
        May 2011: Android 3.1.
        See Also:
        Constant Field Values
      • ICE_CREAM_SANDWICH

        public static final int ICE_CREAM_SANDWICH
        October 2011: Android 4.0.

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

        • For devices without a dedicated menu key, the software compatibility menu key will not be shown even on phones. By targeting Ice Cream Sandwich or later, your UI must always have its own menu UI affordance if needed, on both tablets and phones. The ActionBar will take care of this for you.
        • 2d drawing hardware acceleration is now turned on by default. You can use android:hardwareAccelerated to turn it off if needed, although this is strongly discouraged since it will result in poor performance on larger screen devices.
        • The default theme for applications is now the "device default" theme: android.R.style#Theme_DeviceDefault. This may be the holo dark theme or a different dark theme defined by the specific device. The android.R.style#Theme_Holo family must not be modified for a device to be considered compatible. Applications that explicitly request a theme from the Holo family will be guaranteed that these themes will not change character within the same platform version. Applications that wish to blend in with the device should use a theme from the android.R.style#Theme_DeviceDefault family.
        • Managed cursors can now throw an exception if you directly close the cursor yourself without stopping the management of it; previously failures would be silently ignored.
        • The fadingEdge attribute on views will be ignored (fading edges is no longer a standard part of the UI). A new requiresFadingEdge attribute allows applications to still force fading edges on for special cases.
        • Context.bindService() will not automatically add in Context.BIND_WAIVE_PRIORITY.
        • App Widgets will have standard padding automatically added around them, rather than relying on the padding being baked into the widget itself.
        • An exception will be thrown if you try to change the type of a window after it has been added to the window manager. Previously this would result in random incorrect behavior.
        • AnimationSet will parse out the duration, fillBefore, fillAfter, repeatMode, and startOffset XML attributes that are defined.
        • ActionBar.setHomeButtonEnabled() is false by default.
        See Also:
        Constant Field Values
      • ICE_CREAM_SANDWICH_MR1

        public static final int ICE_CREAM_SANDWICH_MR1
        December 2011: Android 4.0.3.
        See Also:
        Constant Field Values
    • Constructor Detail

      • Build.VERSION_CODES

        public Build.VERSION_CODES()


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 1460 / . Delta: 0.05004 с