Android cupcake(杯子蛋糕)

與上一篇發的 Firmware 1.5 不同的是,這版為穩定版,Firmware 1.5 是主線的版本,所以 bugs 會比較多,目前穩定版的發展還算不錯,穩定性也夠,國外已經有人裝在 ADP1 上面了,目前就等 Google 釋出新的 SDK 與 Android cupcake。詳細更新如下

cupcake(杯子蛋糕) 下一個穩定版的代號,中英對照更新清單,大略翻譯一下,有些地方院長看不懂就沒翻了,歸納重點如下:新增虛擬鍵盤與 IMF、瀏覽器快五倍、瀏覽器可剪下貼上、相機可錄影、藍芽支援 A2DP 與 AVRCP、SDK 將可以外掛開發者的 Add-ons。

資料來源 http://source.android.com/roadmap/cupcake

Applications

  • MMS
    • New features
      • Save attachments from MMS.(另存 MMS 的附件)
    • Significant bug fixes
      • Faster conversation list scrolling(調整對話清單的流暢度)
  • Email(Android 除了 Gmail 外,還支援 POP3 與 IMAP,這邊是講 POP3 與 IMAP 的部份)
    • Significant bug fixes
      • Accounts that were marked "never check" are not auto-checked.
      • Date & time displayed using user preference (e.g. 24 hr vs. AM/PM).(根據使用者的設定顯示不同的時間格式)
      • cc: displayed in message view.(增加副本顯示)
      • Relaxed POP3 parser rules so it works with non-compliant email servers.
      • Password quoting bugs in IMAP.  Makes it work for users with funny chars in their password (e.g. spaces).(放寬 IMAP 的密碼輸入規則,使用者可輸入特殊的符號例如:空白鍵)
      • Various sources of errors in auto & manual account setup.
      • Improvements on how we report various connection errors. Makes it much easier for user to diagnose failed account setups.
      • New-mail notifications for POP3 accounts.(POP3 收信將有新的通知符號or畫面)
      • Properly recover from POP3 connection failures, so that the next connection has a chance of working properly.(POP3 連線失敗回覆的機制)
      • Remove automatic accounts setup entries that were broken or not testable.  Minor fixes to a few of the remaining entries.  Improvements to warning dialogs used for a few special cases.(移除自動設定帳號的功能)
      • New accounts are now set to check every 15 minutes (instead of defaulting to "never").(新帳號「check」設定為每 15 分鍾)
      • Fixed a bug causing approximately 1 in 25 outbound messages to freeze up the IMAP connection (to a Gmail based server) when transferred to the Sent folder.  This broke the entire connection so new messages could not be downloaded either.(修正送信的錯誤,可能造成 IMAP「freeze up」造成新信收不下來)
      • Unit test framework so Email can be extended & tested more reliably.(單元測試架構,Email 的擴充與測試更容易)
      • Fix IMAP manually-created accounts so message delete works properly.(修正 IMAP 建立帳號的錯誤)
  • Alarm Clock
    • Significant bug fixes
      • Alert now plays audio/vibe directly, rather than through AlarmManager. AlarmClock alert starts playing audio/vibe in its IntentReceiver, rather than on activity start. These changes should prevent alarms from being blocked by modal dialogs.(修正鬧鍾鈴聲播放,不再使用AlarmManager 播放鈴聲)
  • Package Installer
    • Significant bug fixes
      • Bugs related to replacing existing applications.(修正安裝已存在 App 的錯誤)

  • Settings
    • New features
      • New menu option to list running processes in Settings->ManageApplications.(App 的管理新增選項可列出執行中的程序)

  • Music
    • New features
      • Music playback fades in after suspending for phone call.(來電鈴聲採用淡入的效果)
      • New media search intent allows for 3rd party apps to launch or respond to media searches based on artist, album, or title.(開放媒體搜尋的功能給第三方應用軟體)
        Affects: Music Player, YouTube, Browser applications.

  • Browser
    • New features
      • Updated WebKit browser core, synced with Nov 2008 WebKit version.(更新 WebKit 核心到 2008年11月的版本)
      • Support for new, optimized JavaScript engine (SquirrelFish).(支援最佳化的 JavaScript 引擎)
      • Copy / paste is enabled in the browser. To copy with touch, press and hold the shift key and select the text. Releasing the shift key or ending the touch drag copies the text. To copy with the trackball, press and hold the shift key, move the cursor to the selection start, click the trackball, and move the trackball to the extend the selection. Releasing the shift key, or clicking the trackball a second time, copies the text.(支援 copy/paste 的功能,可透過鍵盤上的「shift」鍵選取文字,也可以透過「trackball」,圖片可以透過螢幕點選複製)
      • Find is enabled in the browser. To find text, choose it from the menu and type the text to find.(可搜尋網頁上的文字)
      • Drawing has been sped up substantially by supporting partial content invalidates and partial screen invalidates. Pages with animations are 5x faster.(加速 5 倍,手段是透過忽略某些內容或 screen)

  • VoiceDialer
    • New features
      • VoiceDialer supports 'open app' command(語音撥號新增「open app」的指令)

  • Camera/Gallery
    • New features
      • Video recorder mode(錄影模式)
      • Share intent for videos(可分享影片)
      • Video thumbnails(影片縮圖)
      • Local file playback(可播放本機影片)

Download manager  (泛指所有下載功能,例如:第三方 App 使用的下載服務)

  • New features 
    • Support for HTTP codes 301, 302, 303 and 307 (redirects).(支援 HTTP 狀態碼)
    • HTTP code 503 is now handled, with support for retry-after in delay-seconds.(HTTP 503 錯誤會自動重試)
    • Downloads that were cleanly interrupted are now resumed instead of failing.(下載可中斷,取代失敗的機制)
    • Applications can now pause their downloads.(App 可以暫停下載)
    • Retry delays are now randomized.(重試時間為隨機產生)
    • Connectivity is now checked on all interfaces.
    • Downloads with invalid characters in file name can now be saved.(可下載含無效字元的檔案名稱)

Framework

  • New features
    • Support of touch events in WebView.(WebView 狀態可以用觸控螢幕)
    • New JavaScript engine (SquirrelFish) in WebView.(新的 JavaScript 引擎)
    • Input method framework, for soft keyboards and other on-screen input methods.  Includes new APIs for applications to interact with input methods, and the ability for third party developers to write their own input methods.(IMF 輸入法,提供「soft keyboards(虛擬鍵盤)」並且允許第三方開發者開發輸入法)
    • Access to the raw audio data for playback and recording from application code.(可存取語音的播放與錄製)
    • New PendingIntent.FLAG_UPDATE_CURRENT option.
    • Support for top-level boolean resources.
    • Tactile feedback to the LockPatternView. Tactile feedback can be enabled/disabled by going to Settings > Security & location and then checking/unchecking "Use tactile feedback". Note that this can be used independently of the visual feedback of the lines ("Use visible pattern"). Thus it gives users a middle ground between showing the lines on the screen and having no feedback at all.(觸控回饋功能?)
    • PackageManager changes to support un-installation of partially installed applications. Added new flag PackageManager.GET_UNINSTALLED_PACKAGES to include partially installed apps in all relevant PackageManager api's. ManageApplications screen now lists such partially installed apps and the user can uninstall these applications completely.
    • Support third party updates of system applications. New menu options in Settings->ManageApplications to list updated system applications. (可更新「System App」)
    • Framework support to list current running processes. New API in ActivityManager.(支援列出目前的程序)
    • Framework feature to declare required configurations by applications. New manifest attribute uses-configuration in android manifest.
    • Hardware accelerated video encode (video recorder) in opencore.(支援影片編碼硬體加速)
    • Simplified SREC speech recognition API available.
    • Streaming audio I/O for applications.(串流音訊「I/O」支援)
  • Significant bug fixes
    • Fixed issues with saving state in the view hierarchy, so that you can properly subclass from something like TextView and create your own state that inherits from that provided by TextView.
    • TextView now implements onKeyMultiple(), so that flinging the trackball will result in accelerated scrolling. This required some changes to movement methods, and included some improvements to the acceleration computed when flinging.
    • Framework bug fixes in PackageManager to share/un-share permissions for applications with shared uid's.(套件管理修正)
    • Significant rework of Settings->ManageApplications Performance and UI enhancements.(重寫管理 App 的部份)
    • A number of settings in android.provider.Settings.System were moved to android.provider.Settings.Secure. Only system software can modify these settings. Additionally, a new permission, WRITE_SECURE_SETTINGS, is required to access these settings. The old constants in Settings.System have been deprecated.  It is possible to read settings values via Settings.System using the deprecated constants. However, attempts to modify these settings via Settings.System will result in a log message and the setting value will be left unchanged.(「android.provider.Settings.System」移到「android.provider.Settings.Secure」且只有「system software」可以改變其設定值)
    • Many bug fixes in the media framework(修正多媒體「framework」)


Bluetooth

  • New features
    • Support for A2DP & AVRCP profiles.(支援 A2DP 與 AVRCP
  • Significant bug fixes
    • First connection after pairing always fails on many carkits.(修正與「carkits」連結的錯誤)
    • Mini Cooper and some late model BMW cars fail to use Bluetooth or take 2 minutes for Phone Book transfer.(同上,不過針對的是「Mini Cooper」與「some late model BMW」)

System software

  • New features
    • New kernel based on Linux 2.6.27.(核心升級到 2.6.27)
    • Improvements to the wakelock API.
    • Work to transition to the USB Gadget Framework underway.
    • Basic x86 support.(基本 x86 支援)

 

Radio & Telephony

  • New features
    • SIM Application Toolkit 1.0.(SIM 卡的 App 工具箱)
    • Green CALL button is no longer a shortcut for "add a new call". This has been a rarely used feature and confusing if triggered accidentally.(通話鍵不再是「add a new call」的捷徑,預防誤觸通話鍵)
    • Longer in-call screen timeout when using the speakerphone.(加長來電的「timeout」時間,當使用「speakerphone」的時候)
    • "Show dialpad" / "Hide dialpad" item added to the in-call menu, to make it easier to discover the DTMF dialpad.(來電時增加「"Show dialpad" / "Hide dialpad"」的功能)
  • Significant bug fixes
    • An obscure case where the Phone UI could cause the device to not go to sleep on its own. This would happen if user bails out of the in-call screen by hitting HOME, followed by the call disconnecting remotely.
    • Don't allow a single tap to open the in-call dialpad. It is now required to touch and drag it.  This makes it much harder to accidentally open the dialpad by touching the screen with your face.


Developer Tools

  • New features
    • Enable handset manufacturers to extend the Android SDK with add-ons. SDK add-ons will include:(允許其他手持裝置製造商延伸 Android SDK 透過「add-ons」的方式
      • system libraries to let developers use additional APIs provided by handset manufacturers or from other 3rd party vendors that handset manufacturers chose to include
      • emulator system images, skins, and hardware configuration to let developers test their applications on their Android implementation(「emulator 」可以掛上不同的映像檔、skins、硬體設定檔,使開發者可以針對目標裝置做測試)
This is work-in-progress. Please note that the latest Android SDK (Android 1.0 SDK, Release 2) is not compatible with the SDK plugin in the new branch, please use ADT 0.8.0. SDK add-on support is planned for future SDK release. (目前「Android 1.0 SDK, Release 2」尚未支援「SDK plugin」未來推出新的「SDK release」)

 

                   
Build System

  • New features
    • The functions in build/envsetup.sh should be much more useful(編譯功能新增「build/envsetup.sh」)