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版本对应关系
随机推荐
- 02Del.ashx(删除班级)
using System; using System.Collections.Generic; using System.Linq; using System.Web; using WebHelper ...
- rbac - 初识
一.rbac 权限组件 1 项目与应用 一个项目,可以有多个应用 一个应用,可以在多个项目下 前提:应用是组件!! 2 什么是权限? 一个包含正则表达式url就是一个权限 who what how - ...
- render的几个应用
1.render可以通过模版语法来渲染字符串,例如变量,标签,for循环,这里就不赘述,我就举个自己印象很深刻灵活应用,看看render到底做了什么,关心什么 注意! 在rander眼里,没有html ...
- 提高myEclipse的开发效率和外观,这些你都设置了吗?
[前言] 为什么我的myeclipse开启速度那么慢,为什么别人能哗啦啦几个快捷键打出一片代码?刚开始使用myeclipse的时候,相信大家都有这个疑问,慢慢的,也懂得一些配置,我也不例外,在此,把常 ...
- mysql 数据操作 单表查询 where约束 between and or
WHERE约束 where字句中可以使用: 比较运算符:>< >= <= != between 80 and 100 值在80到100之间 >=80 <= ...
- 004-spring cache-声明性的基于XML的缓存
一.概述 如果注释不是选项(不能访问源代码或没有外部代码),可以使用XML进行声明式缓存.因此,不是注释用于缓存的方法,而是从外部指定目标方法和缓存指令(类似于声明式事务管理建议). <!-- ...
- Which adidas NMD Singapore is your favorite
The adidas NMD Singapore just keeps the hits coming this fall with another change that's sure to bec ...
- ZOJ Monthly, June 2018 Solution
A - Peer Review Water. #include <bits/stdc++.h> using namespace std; int t, n; int main() { sc ...
- 尚未指定报表“Report1”的报表定义
在做RDLC项目中遇到这样的错误 本地报表处理期间出错. 尚未指定报表“Report1”的报表定义 未将对象引用设置到对象的实例. 解决方案: 打开reportViewer->LocalRepo ...
- Example解析
本文总结自:https://github.com/abel533/Mapper/wiki/6.example,旨在提供一些基本概念上的解释 Example类用于条件查询,以代替冗长的"sel ...