Android 2.2 平台重點
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
Android 2.2 平台為使用者和開發人員推出許多令人興奮的新功能。本文將簡要介紹 Android 2.2 中的部分新使用者功能和技術。如要進一步瞭解新的開發人員 API,請參閱 Android 2.2 版本資訊。
新使用者功能
首頁
|
新的主畫面提示小工具可協助新使用者瞭解如何設定主畫面捷徑和小工具,以及如何使用多個主畫面。
電話、應用程式啟動器和瀏覽器現在在主畫面上有專用捷徑,可讓您輕鬆從任一 5 個主畫面面板存取這些應用程式。
|
Exchange 支援
提升安全性:新增數字 PIN 碼或英數字元密碼選項,以便解鎖裝置。Exchange 管理員可以針對所有裝置強制執行密碼政策。
從遠端清除資料:Exchange 管理員可以從遠端將裝置重設為出廠預設值,以防裝置遺失或遭竊時保護資料。
Google 日曆應用程式現在支援 Exchange 日曆。
自動探索:只要知道使用者名稱和密碼,就能輕鬆設定及同步 Exchange 帳戶 (適用於 Exchange 2007 以上版本)。
全域通訊清單查詢功能現已在電子郵件應用程式中推出,使用者可從目錄中自動完成收件者名稱。
|
|
相機和相片庫
|
您可以使用縮放手勢,在相片庫中查看圖片堆疊。
相機螢幕按鈕可輕鬆存取新的 UI,用於控制縮放、閃光燈、白平衡、地理標記、對焦和曝光。攝影機也提供簡單的方法,讓你為多媒體訊息和 YouTube 設定影片大小/畫質。
由於攝影機現在支援LED 閃光燈,因此可在夜間或低光源環境下拍攝影片。
|
可攜式無線基地台
某些裝置 (例如 Nexus One) 可變成可攜式 Wi-Fi 熱點,最多可與 8 部裝置共用。
您可以使用 Android 手機當作 Windows 或 Linux 筆記型電腦的 3G 連線,方法是使用 USB 傳輸線將手機連接到電腦。然後在兩部裝置之間共用連線。
|
|
多種鍵盤語言
|
多語言使用者可以在鍵盤中新增多種語言,並在空格鍵上滑動切換多種以拉丁字母為基礎的輸入語言。這會變更鍵和自動建議字典。
|
瀏覽器效能已透過 V8 引擎提升,可加快載入 JavaScript 密集網頁的速度。
Dalvik 效能提升:使用 Dalvik JIT 時,CPU 密集程式的效能提升 2 到 5 倍 (相較於 Android 2.1)。
右側圖表顯示從 Android 2.1 到 Android 2.2 的效能加速,使用各種基準測試進行測試。舉例來說,LinPack 的速度現在快了 5 倍以上。
提升核心記憶體管理效能:記憶體回收效能提升至最多 20 倍,可在記憶體受限的裝置上提升應用程式切換速度,並提供更流暢的效能。
|
|
- 支援本機檔案播放和 HTTP 漸進式串流的新媒體架構 (Stagefright)
- 持續支援 Android 2.2 中的 OpenCore
藍牙
- 透過藍牙語音撥號
- 可與其他手機分享聯絡人
- 支援支援藍牙的車用和桌面底座
- 改善與車用套件和耳機的相容性矩陣
2.6.32 核心升級
- HIGHMEM 支援 RAM 超過 256 MB
- SDIO 排程和 BT 改善
新版開發人員服務
Android 雲端至裝置通訊服務
應用程式可以利用 Android Cloud to Device Messaging 啟用行動裝置快訊、傳送至手機和雙向推播同步處理功能。
Android 應用程式錯誤報告
Google Play 應用程式的新錯誤回報功能可讓開發人員接收使用者傳送的當機和凍結報告。他們登入發布商帳戶後,即可查看報表。
新的開發人員 API
外部儲存空間中的應用程式
應用程式現在可以要求在共用外部儲存空間 (例如 SD 卡) 上安裝。
提供新的 API,可用於音訊聚焦、將音訊轉送至 SCO,以及將檔案自動掃描至媒體資料庫。也提供 API,讓應用程式偵測音訊載入完成情形,並自動暫停及自動恢復音訊播放。
相機和攝錄影機
新的預覽 API 將影格速率從約 10 FPS 提高至約 20 FPS。相機現在支援直向方向、縮放控制項、曝光資料存取權,以及縮圖公用程式。新的攝影機設定檔可讓應用程式判斷裝置的硬體功能。
圖形
適用於 OpenGL ES 2.0 的新 API,可搭配 YUV 圖片格式和 ETC1 使用紋理壓縮功能。
資料備份
應用程式可參與資料備份和還原作業,確保使用者在執行恢復原廠設定或切換裝置時,仍能保留資料。
裝置政策管理工具
新的裝置政策管理 API 可讓開發人員編寫「裝置管理員」應用程式,用於控制裝置上的安全性功能,例如密碼強度下限、資料清除等。使用者可以選取在裝置上啟用的管理員。
UI 架構
新的「車輛模式」和「夜間模式」控制項和設定,可讓應用程式針對這些情況調整使用者介面。縮放手勢偵測工具 API 可改善多點觸控事件的定義。應用程式現在可以自訂 TabWidget 的底部條。
如要進一步瞭解新的開發人員 API,請參閱 Android 2.2 版本附註和 API 差異比較表。
這個頁面中的內容和程式碼範例均受《內容授權》中的授權所規範。Java 與 OpenJDK 是 Oracle 和/或其關係企業的商標或註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間: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)."]]