Android 2.2 平台亮点
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
Android 2.2 平台为用户和开发者引入了许多令人兴奋的新功能。本文档简要介绍了 Android 2.2 中的一些新用户功能和技术。如需详细了解新的开发者 API,请参阅 Android 2.2 版本说明。
用户相关的新功能
主屏幕
|
全新的主屏幕提示微件可帮助新用户了解如何使用快捷方式和微件配置主屏幕,以及如何使用多个主屏幕。
电话、应用启动器和浏览器现在在主屏幕上都有专用快捷方式,您可以从 5 个主屏幕面板中的任意一个轻松访问它们。
|
支持 Exchange
增强了安全性,新增了数字 PIN 码或字母数字密码选项来解锁设备。Exchange 管理员可以跨设备强制执行密码政策。
远程清除:Exchange 管理员可以远程将设备重置为出厂默认设置,以确保数据安全,以防设备丢失或被盗。
Google 日历应用现已支持 Exchange 日历。
自动发现:您只需知道用户名和密码,即可轻松设置和同步 Exchange 账号(适用于 Exchange 2007 及更高版本)。
全局地址列表查询现已在电子邮件应用中推出,可让用户从目录中自动补全收件人姓名。
|
|
相机和图库
|
在图库中,您可以使用缩放手势查看照片堆叠。
借助相机屏幕按钮,您可以轻松访问新的界面,以控制缩放、闪光灯、白平衡、地理定位、对焦和曝光。摄像头还提供了一种简单的方法来为彩信和 YouTube 设置视频大小/画质。
现在,摄像头已启用 LED 闪光灯,因此您可以在夜间或光线昏暗的环境下拍摄视频。
|
便携式热点
Nexus One 等某些设备可以转换为便携式 Wi-Fi 热点,最多可与 8 部设备共享。
您可以使用 Android 手机作为 Windows 或 Linux 笔记本电脑的 3G 连接,只需将手机用 USB 线连接到计算机即可。然后,这两部设备之间会共享连接。
|
|
多种键盘语言
|
多语言用户可以向键盘添加多种语言,并通过在空格键上滑动在多种基于拉丁语的输入语言之间切换。这会更改键以及自动补全字典。
|
使用 V8 引擎提升了浏览器的性能,从而加快了 JavaScript 密集型网页的加载速度。
Dalvik 性能提升:与 Android 2.1 相比,使用 Dalvik JIT 时,CPU 密集型代码的性能提升了 2 到 5 倍。
右侧的图表显示了使用各种基准测试从 Android 2.1 到 Android 2.2 的性能提升情况。例如,LinPack 现在的速度提高了 5 倍以上。
内核内存管理提升:内存回收速度最高提升了 20 倍,从而在内存受限的设备上实现了更快的应用切换和更流畅的性能。
|
|
- 支持本地文件播放和 HTTP 顺序流式传输的新媒体框架 (Stagefright)
- 继续在 Android 2.2 中支持 OpenCore
蓝牙
- 通过蓝牙进行语音拨号
- 能够与其他手机分享联系人
- 支持内置蓝牙的车载和桌面底板
- 改进了与车载套件和头戴设备的兼容性矩阵
2.6.32 内核升级
- 对 RAM 大于 256MB 的 HIGHMEM 支持
- SDIO 调度和 BT 改进
新增的开发者服务
Android 云端至设备通讯服务
应用可以利用 Android Cloud to Device Messaging 启用移动提醒、发送到手机和双向推送同步功能。
Android 应用错误报告
借助适用于 Google Play 应用的新错误报告功能,开发者可以接收用户发送的崩溃和冻结报告。他们登录发布商账号后即可查看这些报告。
新的开发者 API
外部存储设备上的应用
应用现在可以请求在共享的外部存储空间(例如 SD 卡)上安装。
提供了用于音频焦点、将音频路由到 SCO 以及将文件自动扫描到媒体数据库的新 API。此外,还提供了 API,以便应用检测声音加载完成情况,以及自动暂停和自动恢复音频播放。
相机和摄像机
新版预览 API 将帧速率从约 10 FPS 提高到了约 20 FPS。相机现在支持纵向模式、缩放控件、访问曝光数据和缩略图实用程序。借助新的摄像头配置文件,应用可以确定设备硬件功能。
图形
适用于 OpenGL ES 2.0 的新 API,可与 YUV 图片格式搭配使用,以及用于纹理压缩的 ETC1。
数据备份
应用可以参与数据备份和恢复,以确保用户在恢复出厂设置或更换设备后保留其数据。
设备政策管理器
借助新的设备政策管理 API,开发者可以编写“设备管理员”应用,以控制设备上的安全功能,例如最低密码强度、数据清除等。用户可以选择在其设备上启用的管理员。
界面框架
借助新的“汽车模式”和“夜间模式”控件和配置,应用可以根据这些情况调整其界面。缩放手势检测器 API 改进了多点触控事件的定义。应用现在可以自定义 TabWidget 的底部条状标签。
如需详细了解新的开发者 API,请参阅 Android 2.2 版本说明和 API 差异报告。
本页面上的内容和代码示例受内容许可部分所述许可的限制。Java 和 OpenJDK 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[],[],null,["# Android 2.2 Platform Highlights\n\nThe Android 2.2 platform introduces many new and exciting features for\nusers and developers. This document provides a glimpse at some of the new user features\nand technologies in Android 2.2. For more information about the new developer APIs, see the [Android 2.2 version notes](/about/versions/android-2.2#api).\n\n- [New User Features](#UserFeatures)\n- [New Platform Technologies](#PlatformTechnologies)\n- [New Developer Services](#DeveloperServices)\n- [New Developer APIs](#DeveloperApis)\n\nNew User Features\n-----------------\n\n### Home\n\n|---|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| | New Home screen tips widget assists new users on how to configure the home screen with shortcuts and widgets and how to make use of multiple home screens. The Phone, applications Launcher, and Browser now have dedicated shortcuts on the Home screen, making it easy to access them from any of the 5 home screen panels. |\n\n### Exchange support\n\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| Improved security with the addition of numeric pin or alpha-numeric password options to unlock device. Exchange administrators can enforce password policy across devices. Remote wipe: Exchange administrators can remotely reset the device to factory defaults to secure data in case device is lost or stolen. Exchange Calendars are now supported in the Calendar application. Auto-discovery: you just need to know your user-name and password to easily set up and sync an Exchange account (available for Exchange 2007 and higher). Global Address Lists look-up is now available in the Email application, enabling users to auto-complete recipient names from the directory. | |\n\n### Camera and Gallery\n\n|---|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| | Gallery allows you to peek into picture stacks using a zoom gesture. Camera onscreen buttons provide easy access to a new UI for controlling zoom, flash, white balance, geo-tagging, focus and exposure. Camcorder also provides an easy way to set video size/quality for MMS and YouTube. With the LED flash now enabled for the Camcorder, videos can be shot at night or in low light settings. |\n\n### Portable hotspot\n\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| Certain devices like the Nexus One can be turned into a portable Wi-Fi hotspot that can be shared with up to 8 devices. You can use your Android-powered phone as a 3G connection for a Windows or Linux laptop by connecting their phone to the computer with a USB cable. The connection is then shared between the two devices. | |\n\n### Multiple keyboard languages\n\n|---|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| | Multi-lingual users can add multiple languages to the keyboard and switch between multiple Latin-based input languages by swiping across the space bar. This changes the keys as well as the auto-suggest dictionary. |\n\n### Improved performance\n\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| Performance of the browser has been enhanced using the V8 engine, which enables faster loading of JavaScript-heavy pages. Dalvik Performance Boost: 2x-5x performance speedup for CPU-heavy code over Android 2.1 with Dalvik JIT. The graph to the right shows the performance speedup from Android 2.1 to Android 2.2 using various benchmark tests. For example, LinPack is now more than 5 times faster. Kernel Memory Management Boost: Improved memory reclaim by up to 20x, which results in faster app switching and smoother performance on memory-constrained devices. | |\n\nNew Platform Technologies\n-------------------------\n\n### Media framework\n\n- New media framework (Stagefright) that supports local file playback and HTTP progressive streaming\n- Continued support for OpenCore in Android 2.2\n\n### Bluetooth\n\n- Voice dialing over Bluetooth\n- Ability to share contacts with other phones\n- Support for Bluetooth enabled car and desk docks\n- Improved compatibility matrix with car kits and headsets\n\n### 2.6.32 kernel upgrade\n\n- HIGHMEM support for RAM \\\u003e256MB\n- SDIO scheduling and BT improvements\n\nNew Developer Services\n----------------------\n\n### Android Cloud to Device Messaging\n\nApps can utilize Android Cloud to Device Messaging to enable mobile alert, send to phone, and\ntwo-way push sync functionality.\n\n### Android Application Error Reports\n\nNew bug reporting feature for Google Play apps enables developers to receive crash and freeze\nreports from their users. The reports will be available when they log into their publisher\naccount.\n\nNew Developer APIs\n------------------\n\n### Apps on external storage\n\nApplications can now request installation on the shared external storage (such as an SD\ncard).\n\n### Media framework\n\nProvides new APIs for audio focus, routing audio to SCO, and auto-scan of files to media\ndatabase. Also provides APIs to let applications detect completion of sound loading and auto-pause\nand auto-resume audio playback.\n\n### Camera and Camcorder\n\nNew preview API doubles the frame rate from \\~10FPS to \\~20FPS. Camera now supports portrait\norientation, zoom controls, access to exposure data, and a thumbnail utility. A new camcorder\nprofile enables apps to determine device hardware capabilities.\n\n### Graphics\n\nNew APIs for OpenGL ES 2.0, working with YUV image format, and ETC1 for texture\ncompression.\n\n### Data backup\n\nApps can participate in data backup and restore, to ensure that users maintain their data\nafter performing a factory reset or when switching devices.\n\n### Device policy manager\n\nNew device policy management APIs allow developers to write \"device administrator\" applications\nthat can control security features on the device, such as the minimum password strength, data wipe,\nand so on. Users can select the administrators that are enabled on their devices.\n\n### UI framework\n\nNew \"car mode\" and \"night mode\" controls and configurations allow applications to adjust their UI\nfor these situations. A scale gesture detector API provides improved definition of multi-touch\nevents. Applications can now customize the bottom strip of a TabWidget.\n\nFor more information about the new developer APIs, see the [Android 2.2 version notes](/about/versions/android-2.2#api) and the [API Differences Report](/sdk/api_diff/8/changes)."]]