Android 各API版本代码常量
public static class VERSION_CODES {
/**
* Magic version number for a current development build, which has
* not yet turned into an official release.
*/
public static final int CUR_DEVELOPMENT = ;
/**
* October 2008: The original, first, version of Android. Yay!
*/
public static final int BASE = ;
/**
* February 2009: First Android update, officially called 1.1.
*/
public static final int BASE_1_1 = ;
/**
* May 2009: Android 1.5.
*/
public static final int CUPCAKE = ;
/**
* September 2009: Android 1.6.
*/
public static final int DONUT = ;
/**
* November 2009: Android 2.0
*/
public static final int ECLAIR = ;
/**
* December 2009: Android 2.0.1
*/
public static final int ECLAIR_0_1 = ;
/**
* January 2010: Android 2.1
*/
public static final int ECLAIR_MR1 = ;
/**
* June 2010: Android 2.2
*/
public static final int FROYO = ;
/**
* November 2010: Android 2.3
*/
public static final int GINGERBREAD = ;
/**
* February 2011: Android 2.3.3.
*/
public static final int GINGERBREAD_MR1 = ;
/**
* February 2011: Android 3.0.
*/
public static final int HONEYCOMB = ;
/**
* May 2011: Android 3.1.
*/
public static final int HONEYCOMB_MR1 = ;
/**
* June 2011: Android 3.2.
*/
public static final int HONEYCOMB_MR2 = ;
/**
* October 2011: Android 4.0.
*/
public static final int ICE_CREAM_SANDWICH = ;
/**
* December 2011: Android 4.0.3.
*/
public static final int ICE_CREAM_SANDWICH_MR1 = ;
/**
* June 2012: Android 4.1.
*/
public static final int JELLY_BEAN = ;
/**
* Android 4.2: Moar jelly beans!
*/
public static final int JELLY_BEAN_MR1 = ;
/**
* Android 4.3: Jelly Bean MR2, the revenge of the beans.
*/
public static final int JELLY_BEAN_MR2 = ;
/**
* Android 4.4: KitKat, another tasty treat.
*/
public static final int KITKAT = ;
/**
* Android 4.4W: KitKat for watches, snacks on the run.
*/
public static final int KITKAT_WATCH =
public static final int L = ;
/**
* Lollipop. A flat one with beautiful shadows. But still tasty. Android 5.0
*/
public static final int LOLLIPOP = ;
/**
* Lollipop with an extra sugar coating on the outside! Android 5.1
*/
public static final int LOLLIPOP_MR1 =
/**
* M is for Marshmallow! Android 6.0
*/
public static final int M = ;
/**
* N is for ¯\_(ツ)_/¯. Android 7.0
*/
public static final int N = ;
}
Android 各API版本代码常量的更多相关文章
- Android的API版本和名称对应关系
Android版本名和API Level关系全称 Android的版本 Android版本名称Code name Android的API level Android 1.0 (API level 1) ...
- [Android]高低API版本兼容之@TargetApi
使用@TargetApi annotaion, 使高版本API的代码在低版本SDK不报错 例如: AsyncTask.THREAD_POOL_EXECUTOR, 这个静态变量是API11才有的, 设置 ...
- android API版本对应的系统版本及Android获取手机和系统版本等信息的代码
学了这么久的Android,竟然一直对其API对应的名称关系一值搞不清楚,现在网上认真看了下资料,转载一个觉得写得不错的作者的文章,记下来: [背景] 之前折腾android期间,慢慢地知道了,And ...
- Xamarin.Android 入门之:Android API版本设置
一.引言 Xamarin.Android有几个Android API级别设置,确定多个版本的Android应用程序的兼容性.本博客解释了这些设置意味着什么,如何配置它们,以及它们在运行时对您的应用程序 ...
- android 6 (API 23) 及更高版本 面向 NDK 开发者的 Android 变更
Android N 已经出来,有了好大的变化,对于我们开发者来说,最大的影响莫过于**NDK**相关东西. 以下是在中国谷歌开发者社区看到的.里面有好多的变化,欢迎大家来讨论. 发布人:开发顾问 Dm ...
- 我的Android进阶之旅------>Android中高低API版本兼容使用@TargetApi或者@SuppressLint("NewApi")
Android中高低API版本兼容使用@TargetApi或者@SuppressLint("NewApi") 例如:AndroidManifest.xml中,我们配置了sdk版本的 ...
- Android SDK与API版本的对应关系
看教程.开发Android程序等很多地方,需要设置Android SDK的版本,而其要我们写的却是API版本的数字, 为了方便查看 Android SDK与API版本的对应关系 我在SDK Manag ...
- 【转】Android SDK,ADT,API 版本的对应关系
写对应关系之前,先了解一下几个名字的含义. 一. Android ADT: 按照官方网站的开发介绍:Android Development Tools (ADT) is a plugin for th ...
- 【android】安卓平台版本和API版本的对应关系
安卓平台版本和API版本对应关系
随机推荐
- Visual Studio的“Waiting for a required operation to complete...”问题
自从使用Visual Studio 2013之后,多次遇到这个恼人的“Waiting for a required operation to complete...”问题. 问题发生于在Visual ...
- python之sys.stdout、sys.stdin以及设置打印到日志文件等
转自:https://www.cnblogs.com/BigFishFly/p/6622784.html python之sys.stdout.sys.stdin 转自:http://www.cnblo ...
- Day01 html详解
day01 html详解 1.html的简介 1.1 什么是html? - HyperText Markup Language:超文本标记语言,网页语言 ...
- orcle中如何使用动态游标来对变量进行赋值
在oracle中动态游标的概念一般不常用,但有时根据客户的特殊业务,需要使用到动态游标来解决问题!在对于一条动态SQL语句而产生多条记录时,动态游标的使用将是一个很好的选择,具体参见如下在工作流项目中 ...
- Openstack(十五)快速添加新计算节点
当后期添加新物理服务器作为计算节点,如果按照上面的过程安装配置的话会非常的慢,但是可以通过复制配置文件的方式快速添加. 15.1计算节点服务安装 #提前将yum仓库.防火墙.selinux.主机名.时 ...
- Windows7系统运行hadoop报Failed to locate the winutils binary in the hadoop binary path错误
程序运行的过程中,报Failed to locate the winutils binary in the hadoop binary path Java.io.IOException: Could ...
- testng日志 TestListenerAdapter
TestListenerAdapter,空方法实现 ITestListener 创建自定义日志记录类 创建另一个新的类名为 CustomListener.java 在 C:\ > TestN ...
- java-Unsupported major.minor version 52.0错误解决
java-Unsupported major.minor version 52.0错误解决 eclipse版本设置不对, 低版本不能兼容高版本 eclipse中: windows -> pref ...
- 手把手教你学node.js之使用 superagent 与 cheerio 完成简单爬虫
使用 superagent 与 cheerio 完成简单爬虫 目标 建立一个 lesson 3 项目,在其中编写代码. 当在浏览器中访问 http://localhost:3000/ 时,输出 CNo ...
- 【4】Python对象
本章主题 Python对象 内建类型 标准类型操作符 值的比较 对象身份比较 布尔类型 标准类型内建函数 标准类型总览 各种类型 不支持的类型 Python对象 Python使用 ...