历代安卓版本回顾(使用者角度+开发者角度)长期更新!!!,安卓开发者
转载请注明出处:http://www.cnblogs.com/cnwutianhao/p/6676121.html
序言
Android 用甜点作为它们系统版本的代号的命名方法开始于 Andoird 1.5 发布的时候。作为每个版本代表的甜点按照26个英文字母顺序的原则进行命名:纸杯蛋糕,甜甜圈,松饼,冻酸奶,姜饼,蜂巢。。。
Build.VERSION_CODES
Google官网地址 https://developer.android.google.cn/reference/android/os/Build.VERSION_CODES.html
Google官网对版本的描述:
Enumeration of the currently known SDK version codes. These are the values that can be found in SDK. Version numbers increment monotonically with each official platform release.
让我们来做一个总结和回顾历代安卓版本都发生了哪些变化(使用者角度+开发者角度),数据来源于Google开发者官网。
1.BASE
October 2008: The original, first, version of Android.
(2008年10月:Android初版)
Constant Value: 1 (0x00000001)
2.BASE_1_1
February 2009: First Android update, officially called 1.1.
(2009年2月:Android首个更新版本,官方称之为1.1)
Constant Value: 2 (0x00000002)
3.CUPCAKE (纸杯蛋糕)
May 2009: Android 1.5.
(2009年5月:Android 1.5)
Constant Value: 3 (0x00000003)
版本更新:
使用者角度:
- 拍摄/播放影片,并支持上传到Youtube
- 支持立体声蓝牙耳机,同时改善自动配对性能
- 最新的采用WebKit技术的浏览器,支持复制/贴上和页面中搜索
- GPS性能大大提高
- 提供屏幕虚拟键盘
- 主屏幕增加音乐播放器和相框widgets
- 应用程序自动随着手机旋转
- 短信、Gmail、日暦,浏览器的用户接口大幅改进,如Gmail可以批量删除邮件
- 相机启动速度加快,拍摄图片可以直接上传到Picasa
- 来电照片显示
4.DONUT (甜甜圈)
September 2009: Android 1.6.
(2009年9月:Android 1.6)
Constant Value: 4 (0x00000004)
版本变化:
使用者角度:
- 重新设计的Android Market手势
- 支持支持CDMA网络
- 文字转语音系统(Text-to-Speech)
- 快速搜索框
- 全新的拍照接口
- 查看应用程序耗电
- 支持虚拟私人网络(VPN)
- 支持更多的屏幕分辨率。
- 支持OpenCore2媒体引擎
- 新增面向视觉或听觉困难人群的易用性插件
开发者角度:
- They must explicitly request the 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 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.
5.ECLAIR (松饼)
November 2009: Android 2.0
(2009年11月:Android 2.0)
Constant Value: 5 (0x00000005)
版本变化:
使用者角度:
- 优化硬件速度
- "Car Home"程序
- 支持更多的屏幕分辨率
- 改良的用户界面
- 新的浏览器的用户接口和支持HTML5
- 新的联系人名单
- 更好的白色/黑色背景比率
- 改进Google Maps3.1.2
- 支持Microsoft Exchange
- 支持内置相机闪光灯
- 支持数码变焦
- 改进的虚拟键盘
- 支持蓝牙2.1
- 支持动态桌面的设计
开发者角度:
- The Service.onStartCommand function will return the new START_STICKY behavior instead of the old compatibility 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.
6.ECLAIR_0_1
December 2009: Android 2.0.1
(2009年12月:Android 2.0.1)
Constant Value: 6 (0x00000006)
7.ECLAIR_MR1
January 2010: Android 2.1
(2010年1月:Android 2.1)
Constant Value: 7 (0x00000007)
8.FROYO (冻酸奶)
June 2010: Android 2.2
(2010年6月:Android 2.2)
Constant Value: 8 (0x00000008)
版本变化:
使用者角度:
- 整体性能大幅度的提升
- 3G网络共享功能。
- Flash的支持。
- App2sd功能。
- 全新的软件商店。
- 更多的Web应用API接口的开发。
9.GINGERBREAD (姜饼)
November 2010: Android 2.3
(2010年11月:Android 2.3)
Constant Value: 9 (0x00000009)
版本变化:
使用者角度:
- 增加了新的垃圾回收和优化处理事件
- 原生代码可直接存取输入和感应器事件、EGL/OpenGL ES、OpenSL ES。
- 新的管理窗口和生命周期的框架。
- 支持VP8和WebM视频格式,提供AAC和AMR宽频编码,提供了新的音频效果器
- 支持前置摄像头、SIP/VOIP和NFC(近场通讯)
- 简化界面、速度提升
- 更快更直观的文字输入
- 一键文字选择和复制/粘帖
- 改进的电源管理系统
- 新的应用管理方式
开发者角度:
- The application's notification icons will be shown on the new dark status bar background, so must be visible in this situation.
10.GINGERBREAD_MR1
February 2011: Android 2.3.3.
(2011年2月:Android 2.3.3)
Constant Value: 10 (0x0000000a)
11.HONEYCOMB (蜂巢)
February 2011: Android 3.0.
(2011年2月:Android 3.0)
Constant Value: 11 (0x0000000b)
版本变化:
使用者角度:
- 优化针对平板
- 全新设计的UI增强网页浏览功能
- n-app purchases功能
开发者角度:
- The default theme for applications is now dark holographic: Theme_Holo.
- On large screen devices that do not have a physical menu button, the soft (compatibility) menu is disabled.
- The activity lifecycle has changed slightly as per Activity.
- An application will crash if it does not call through to the super implementation of its Activity.onPause() method.
- When an application requires a permission to access one of its components (activity, receiver, service, provider), this permission is no longer enforced when the application wants to access its own component. This means it can require a permission on a component that it does not itself hold and still access that component.
- Context.getSharedPreferences() will not automatically reload the preferences if they have changed on storage, unless MODE_MULTI_PROCESS is used.
- setMotionEventSplittingEnabled(boolean) will default to true.
- FLAG_SPLIT_TOUCH is enabled by default on windows.
- PopupWindow.isSplitTouchEnabled() will return true by default.
- GridView and ListView will use View.setActivated for selected items if they do not implement Checkable.
- Scroller will be constructed with "flywheel" behavior enabled by default.
12.HONEYCOMB_MR1
May 2011: Android 3.1.
(2011年5月:Android 3.1)
Constant Value: 12 (0x0000000c)
版本更新: