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版本对应关系
随机推荐
- poj1039 Pipe【计算几何】
含[求直线交点].[判断直线与线段相交]模板 Pipe Time Limit: 1000MS Memory Limit: 10000K Total Submissions:11940 Ac ...
- Python爬虫框架Scrapy实例(一)
目标任务:爬取腾讯社招信息,需要爬取的内容为:职位名称,职位的详情链接,职位类别,招聘人数,工作地点,发布时间. 一.创建Scrapy项目 scrapy startproject Tencent 命令 ...
- Python开发【模块】:Pygal 绘制直方图
Pygal Pygal可用来生成可缩放的矢量图形文件,对于需要在尺寸不同的屏幕上显示的图表,这很有用,可以自动缩放,自适应观看者的屏幕 1.Pygal模块安装 ① Windows系统 # Pygal模 ...
- 少走冤枉路!带你走过SNMP的那些坑
SNMP(Simple Network Management Protocol)即简单网络管理协议,是在网络与系统监控领域中,最常使用的一种数据采集技术.尽管这个协议非常简单,但在大规模IT环境监测中 ...
- Celery最佳实践(转)
原文:http://my.oschina.net/siddontang/blog/284107 英文原文:https://denibertovic.com/posts/celery-best-prac ...
- 由SOAP说开去 - - 谈谈WebServices、RMI、RPC、SOA、REST、XML、JSON
引子: 关于SOAP其实我一直模模糊糊不太理解,这种模模糊糊的感觉表述起来是这样: 在使用web服务时(功能接口),本来我就可以通过安卓中固有的http类(使用http协议),来发送http请求,并且 ...
- sshd:root@notty解决方法
sshd:root@notty解决方法 [复制链接]--http://bbs.chinaunix.net/forum.php?mod=viewthread&tid=2050551 cat /e ...
- [py]python中的==和is的区别
is比较id id(a) == id(b) == id(c) a is d #false ==比较值 a==b #true 举个例子:a = 1 b = a c = 1 d = 1.0 这里有3个对象 ...
- PAT 1094 The Largest Generation[bfs][一般]
1094 The Largest Generation(25 分) A family hierarchy is usually presented by a pedigree tree where a ...
- 利用 TestNG 并行执行用例
原文地址https://testerhome.com/topics/1639 一.测试类*注1 package com.testerhome; import io.appium.java_client ...