02 Android Tutorial, Begin android 4.0.x 新功能

Android 4.0 的新功能

 Android 4.0!

手機, 平板電腦 的Android4.0提供精緻的,統一的用戶界面,並引入創新功能,為用戶和開發人員。本文檔提供了窺見了許多新的功能和技術,使Android的4.0簡潔,美觀,並超越智能。

2011年10月19日上午10:00,谷歌和三星在香港联合发布了采用了Android 4.0 (Ice Cream Sandwich 中文名:冰淇林三明治)的三星Galaxy Nexus。全新的Android 4.0系统,带来全新的用户体验,下面一一盘点Android 4.0的强大新功能!

在Android 4.0发布会上,被称为Android之父的谷歌全球副总裁安迪·鲁宾上台露了一下脸之后,然后就轮到三星来介绍由三星代工的谷歌手机Galaxy Nexus。在介绍完手机之后,万众期待的Android 4.0(Ice Cream Sandwich)的各种新功能才开始一一曝光!


从Android 3.0 到4.0,就那么几个月的时间

一、全新的Roboto字体

可以是为了配合Android 4.0 的“现代但易亲近(modern, yet approachable)并富含「情感(emotional)”的特征,谷歌特意制作出全新的字体——Roboto。

 
Android 4.0采用的Roboto字体

目前只看到Roboto字体的英文样子,在笔者看来,简洁大方,看着倒是挺舒服的。不知中文样式的Roboto字体又会怎么样?

  二、脸部解锁

在Android 4.0面前,什么滑动解锁密码解锁都只能算是衬托,全新的“脸部解锁”(Face Unlock)功能,可以让你的脸成为解锁进入系统的唯一条件。

当然,脸部解锁也会引来质疑,笔者就不断在猜测,能不能识别照片?人毁容了怎么办?脸部解锁是不是必须得用前置的摄像头,如果这样搞,那那些只有一个摄像头的手机就悲剧了……

 
脸部解锁(里面的Sorry最搞)

然而,不得不承认,脸部解锁绝对会成为用户体验非常好的新功能。

  三、重新设计的Gmail

根据谷歌的说法,电子邮件是用来和人交流的,而不是“邮件地址”。于是,全新的Gmail终于出现了。不管基于什么样的原因,以后的Gmail客户端可能就会变得像现在QQ聊天一样简单,每一个人都有不同的头像加以区分,还会有多种图标来显示邮件的各种状态。例如,在用户点击了某个邮件之后,表示未读邮件的图标就会发生改变。


全新的Gmail

电子邮件只要还有存在价值,那么这个Gmail就让你爱上她。

  四,数据追踪功能

Android 4.0将配置有数据追踪功能。这个功能藏身于“设置”的“数据使用区”,里面有个图表显示流量,并自动进行预测。

简单地说,哪个APP在偷吃你的流量,一看就知道!

 
Android 4.0的数据追踪功能

凡是使用中国移动2G网络的用户都知道,用5元30M上网套餐的中国移动套餐在Android等智能手机里经常被超标,如果不实用一些流量监控软件加以检测,不知为什么多交上网费是家常便饭的事情。

有了数据追踪功能(可不可以理解为强化版的流量监控功能),中国用户就不担心超流量太多(这个功能是不是为中国用户设计的?),发现某APP吃了很多流量,还可以直接停止APP的背部数据,消灭“流量吸血鬼”。

五、全新的照相APP

能搭配Android 4.0系统的,都是划时代的手机硬件。在Android手机(前提是你的手机有强大的硬件支持)拍照上,采用Android 4.0的手机拍照不再延时(快门零延时),如想变焦,直接点击上面的数字变焦滑块就行。还能设定聚焦和曝光,还有实时人脸检测功能……

为了不输给iPhone 4,支持1080P录像也是Android 4.0标配手机的家常便饭功能。

 

面对着这么强大Android 照相 APP,不知那些数码相机和摄影机生产商是否还能淡定?

还有一个要说的,Android手机拍照不再需要打开拍照APP才能拍,只需把Home键滑到左边就可以启动照相功能,还能把拍下的照片直接分享出去。

六、强化的图片管理功能

跟照相APP相辅相成的图片管理功能,也有了很大改变,以往的图片管理软件纯粹就是一个看图软件软件,Android 4.0集成的图片管理功能,已经变成一个超强悍图片分享与处理软件。

不但可以对图片进行截图和加工出来,还能依据用户标记的事件、地点、任务来分类(估计需用用户开通相关的定位功能)。

七,Android 4.0的核心——人的应用

据Android的工程师表示,“人”才是Android 4.0的核心。只有以人为本,才能体现出这是一台让人振奋的手机,而不是一台游戏机。


People APP

在Android 4.0里,可以为每一个“人”划出一个地方,当然也可以为为一群人划出一个位置来集中放在一起。然后,不管你点击哪一个“人”,通过结合谷歌搜索引擎的技术,你都能得到他在Twitter、Google+、和LinkedIn上的信息(只能说,在真3G不限流量的国外,这个服务真的很爽)。

通过点击这个“人”,打电话,发短信,发邮件,看关于他的微博和查看有关他的照片,这些都是轻易做到!Android 4.0,将“人”的有关操作全部集合在一起,方便用户操作!

  八、整合可视语音信箱的全新电话APP

自从国内出了米聊、微信等支持语音发送的APP之后,语音类型的短信已经变得不再稀罕。在Android 4.0里,全新的电话拨号APP,将直接整合语音信箱。配合前置摄像头,还能向用户发送可视语音信息。最有可玩性的是,在播放语音信息时,可以按照个人爱好选择加速或者减速播放。

当不方便接听电话时,可以挂掉,也可以选择设定的信息进行回复。拒绝听电话后,可以通过发送语音信息、语音邮件的方式来回复他的电话。

  九、Adroid Beam

在NFC(近距离无线通信技术)应用越来越广泛的今天,Android 4.0自然不会错过加入NFC技术开发的新功能——Adroid Beam。只要两台Android 4.0的手机碰一碰,双方的信息就能互相交

分享地图信息

通过Adroid Beam,你可以跟朋友分享任何信息。例如,你在浏览一个有趣的网站,想将正在浏览的网页发给对方,两个手机碰一碰,你的网友就会在对方浏览器上显示。同样还能分享图片,正在浏览的视频等等……

 十、软件开发工具包发布

如果你想开发应用在Android 4.0上的APP,那就快去下载专门适用于Android 4.0的软件开发工具包(SDK)吧。这个下载工具是专门为程序员而准备的!


点击图片进入官网下载Android 4.0软件开发工具包

  最后总结

Android 4.0给大家带来了非常实用的新功能,然而,在3G尚未普及的中国大陆地区,加上各大手机厂商不会马上为大家提供对应手机型号的Android 4.0系统。这个Android 4.0离大家还是有点远……

Android 4.0是一款通杀手机和平板电脑的OS,但真正看到采用Android 4.0的产品,在未来一段时间并不多。笔者期待Android 4.0能压一压iOS 5.0的气焰……

Google最新版移动操作系统毫不缺乏吸引力,大大小小的改进数不胜数。利用三星Galaxy Nexus,我们使用Android 4.0 Ice Cream Sandwich(冰淇淋三明治)内置的截屏功能为大家逐一演示新系统的改进。

小工具放置在隐藏菜单中,用户需要长按主屏才可显示。小工具终于找到了归宿,但布局略显零乱。

ICS的多数小工具都可调整大小。长按选中小工具,然后就可以调整大小或改变位置。

如上图,小工具被放大。

使用面部识别软件解锁手机是ICS最出色的功能之一,用户可以在设置菜单中获取该功能。

用户将面部贴近手机,便可解锁手机。

上图是电话拨入时的手机屏幕。拖动电话图标可以接听电话,挂掉电话或短信回复对方。

点击联系人图片,可以快速发送信息,电子邮件,或拨通电话。

虚拟键盘非常便于用户输入文字。

信息中可以添加其他的东西,类似的关联菜单同样适合电子邮件。

点击一张图片,用户可以使用多种方式分享图片。

在图片中心,用户可剪裁,调整色彩或添加效果。

全新的全景模式非常酷,但这种功能已经非常常见。当然,它运行得非常流畅。

点击分享菜单可以看到更多的选项

视频功能工作方式大致相同,但ICS提供了很多搞怪效果。

Gmail可以将联系人添加到地址栏

通过新的菜单按钮,用户可以向邮件中添加更多的东西。

如果用户没有发现需要的单词,可以在主动文本跟踪器中输入一个单词。

ICS系统可以替换掉拼写错误的单词

随着Android版本号的提示,新功能将越来越多。

如果面部解锁失败,用户可以选择用其它方式解锁,如密码或图案。

如上图,用户可以使用密码解锁ICS手机。

当然,ICS用户还可以使用图片解锁自己的手机,前提是这些图片要方便使用。

Ice Cream Sandwich(以下简称为ICS)结合了Honeycomb平板系统的元素,并且增加了适合Android智能手机用户使用的新功能,如查看最近使用程序的导航控制功能。

Google焕然一新的信息栏美观简约,使用手势滑过,可以消除所有已完成的提醒。

应用托盘似乎与老版相同,除了一些细节,如应用浏览为水平滑动,一些图形变换,以及拖动到主屏幕的小工具。

使用Android 4.0

簡單 漂亮 更聰明

Android 4.0 builds on the things people love most about Android — easy multitasking, rich notifications, customizable home screens, resizable widgets, and deep interactivity — and adds powerful new ways of communicating and sharing.

Refined, evolved UI

Focused on bringing the power of Android to the surface, Android 4.0 makes common actions more visible and lets users navigate with simple, intuitive gestures. Refined animations and feedback throughout the system make interactions engaging and interesting. An entirely new typeface optimized for high-resolution screens improves readability and brings a polished, modern feel to the user interface.

Virtual buttons in the System Bar let users navigate instantly to Back, Home, and Recent Apps. The System Bar and virtual buttons are present across all apps, but can be dimmed by applications for full-screen viewing. Users can access each application’s contextual options in the Action Bar, displayed at the top (and sometimes also at the bottom) of the screen.

Multitasking is a key strength of Android and it’s made even easier and more visual on Android 4.0. The Recent Apps button lets users jump instantly from one task to another using the list in the System Bar. The list pops up to show thumbnail images of apps used recently — tapping a thumbnail switches to the app.

的Android4.0的基礎上人們愛 – 關於 Android容易多任務,豐富的通知,可定制的主屏幕,可調整大小的部件,和深刻的互動性的東西 – 增加了強大的新方法,交流和共享。

經提煉,演變的UI

著眼於表面帶來了Android的力量,Android的4.0使共同行動更為明顯,並允許用戶瀏覽與簡單,直觀的手勢。精緻的動畫和反饋使整個系統的互動參與和趣味性。一個全新的高分辨率屏幕優化的字體,提高了可讀性和用戶界面帶來了拋光處理,現代的感覺。

在系統欄的虛擬按鍵,讓用戶瀏覽立即返回,主頁,以及最近的應用程序。系統吧和虛擬按鍵在目前所有的應用程序,但可以通過申請全屏觀看變暗。用戶可以訪問在操作欄上的每個應用程序的上下文選項,顯示在屏幕的上方(有時也底部)。

多任務處理的Android的關鍵力量,它甚至更容易,更在Android4.0的可視化。 “最近的”應用程序“按鈕,可以讓用戶從一個任務到另一個使用在系統欄的列表跳躍瞬間。該列表彈出顯示最近使用的應用程序的縮略圖圖像 – 點擊縮略圖切換到應用程序。

The Recent Apps list makes multitasking simple.

Jump to the camera or see notifications without unlocking.

For incoming calls, you can respond instantly by text.

Rich and interactive notifications let users keep in constant touch with incoming messages, play music tracks, see real-time updates from apps, and much more. On smaller-screen devices, notifications appear at the top of the screen, while on larger-screen devices they appear in the System Bar.

 

The All Apps launcher (left) and resizable widgets (right) give you apps and rich content from the home screen.

Home screen folders and favorites tray

New home screen folders offer a new way for users to group their apps and shortcuts logically, just by dragging one onto another. Also, in All Apps launcher, users can now simply drag an app to get information about it or immediately uninstall it, or disable a pre-installed app.

On smaller-screen devices, the home screen now includes a customizablefavorites tray visible from all home screens. Users can drag apps, shortcuts, folders, and other priority items in or out of the favorites tray for instant access from any home screen.

Resizable widgets

Home screens in Android 4.0 are designed to be content-rich and customizable. Users can do much more than add shortcuts — they can embed live application content directly through interactive widgets. Widgets let users check email, flip through a calendar, play music, check social streams, and more — right from the home screen, without having to launch apps. Widgets are resizable, so users can expand them to show more content or shrink them to save space.

New lock screen actions

The lock screens now let users do more without unlocking. From the slide lock screen, users can jump directly to the camera for a picture or pull down the notifications window to check for messages. When listening to music, users can even manage music tracks and see album art.

Quick responses for incoming calls

When an incoming call arrives, users can now quickly respond by text message, without needing to pick up the call or unlock the device. On the incoming call screen, users simply slide a control to see a list of text responses and then tap to send and end the call. Users can add their own responses and manage the list from the Settings app.

Swipe to dismiss notifications, tasks, and browser tabs

Android 4.0 makes managing notifications, recent apps, and browser tabs even easier. Users can now dismiss individual notifications, apps from the Recent Apps list, and browser tabs with a simple swipe of a finger.

所有應用發射器(左)和可調整大小的小部件(右)給你從主屏幕應用程序和豐富的內容。
主屏幕上的文件夾和我的最愛托盤新的主屏幕上的文件夾用戶組他們的應用程序和快捷方式拖到另一個邏輯,提供了新的途徑。此外,在所有應用程序啟動器,用戶可以現在只需拖動應用程序,以獲取有關它的信息或立即卸載,或停用預先安裝的應用程序。在小屏幕設備上,現在在主屏幕包括所有主屏幕可見一個 customizablefavorites托盤。用戶可以拖動或從任何主屏幕上的即時訪問的最愛托盤應用程序,快捷方式,文件夾,和其他優先項目。可調整大小的部件

在Android 4.0的主屏幕設計,內容豐富,可定制。用戶可以做更多的比添加快捷方式 – 他們可以嵌入應用程序的內容直接通過互動的部件生活。小部件讓用戶檢查電子郵件,通過一個日曆翻轉,播放音樂,檢查社會流,以及更多 – 從主屏幕,而無需啟動應用程序,。 Widgets是可以調整大小,這樣用戶就可以展開顯示更多的內容,或縮小以節省空間。

新的鎖屏操作

鎖定屏幕現在讓用戶未解鎖。從滑動鎖屏,用戶可以直接跳到圖片的相機或下拉通知窗口來檢查的消息。聽音樂時,用戶甚至可以管理音樂曲目和專輯封面。

來電的快速反應

當來電時,用戶現在可以快速響應文本信息,而無需拿起電話或解鎖設備。來電屏幕,用戶只需滑動控制看到文本響應,然後點擊發送和結束通話。用戶可以添加自己的反應和管理設置應用程序的列表。

刷到解僱通知,任務和瀏覽器標籤

Android的4.0使管理的通知,最近的應用程序,瀏覽器標籤更容易。用戶現在可以用簡單的手指輕掃解僱個別通知,從最近的應用程序列表的應用程序和瀏覽器“選項卡。

A spell-checker lets you find errors and fix them faster.

A powerful voice input engine lets you dictate continously.

Improved text input and spell-checking

The soft keyboard in Android 4.0 makes text input even faster and more accurate. Error correction and word suggestion are improved through a new set of default dictionaries and more accurate heuristics for handling cases such as double-typed characters, skipped letters, and omitted spaces. Word suggestion is also improved and the suggestion strip is simplified to show only three words at a time.

To fix misspelled words more easily, Android 4.0 adds a spell-checker that locates and underlines errors and suggests replacement words. With one tap, users can choose from multiple spelling suggestions, delete a word, or add it to the dictionary. Users can even tap to see replacement suggestions for words that are spelled correctly. For specialized features or additional languages, users can now download and install third-party dictionaries, spell-checkers, and other text services.

Powerful voice input engine

Android 4.0 introduces a powerful new voice input engine that offers a continuous “open microphone” experience and streaming voice recognition. The new voice input engine lets users dictate the text they want, for as long as they want, using the language they want. Users canspeak continously for a prolonged time, even pausing for intervals if needed, and dictate punctuation to create correct sentences. As the voice input engine enters text, it underlines possible dictation errors in gray. After dictating, users can tap the underlined words to quickly replace them from a list of suggestions.

一個強大的語音輸入引擎,讓你決定不斷。
改進的文本輸入和拼寫檢查

在Android4.0軟鍵盤使得文字輸入更快,更準確。糾錯和字的建議是通過改進處理的情況下,如雙輸入的字符,新設置的默認字典和更準確的啟發式,跳過字母,並省略了空間。 Word的建議也得到了改善和建議條簡化為一次顯示只有三個字。

為了更容易修復拼寫錯誤的單詞,Android的4.0增加了一個定位,並強調錯誤,並建議更換字的拼寫檢查。一個水龍頭,用戶可以選擇多種拼寫建議,刪除一個字,或將它添加到字典中。用戶甚至可以挖掘看到拼寫正確的單詞替換建議。專門的功能或其他語言,用戶現在可以下載並安裝第三方詞典,拼寫檢查,和其他文字服務。

強大的語音輸入引擎

的Android4.0引入了一個強大的新的語音輸入引擎,它提供了一個連續的“開放麥克風”的經驗和流媒體語音識別。新的語音輸入引擎,讓用戶決定他們想要的文字,只要他們想,他們希望使用的語言。用戶長期 canspeak不斷,甚至暫停時間間隔如果需要的話,並決定標點符號,以建立正確的句子。由於語音輸入引擎輸入文本時,它強調在灰色可能聽寫錯誤。口述後,用戶可以點擊帶下劃線的單詞,可快速更換建議名單。

 

Data usage controls let you monitor total usage by network type and application and then set limits if needed.

Control over network data

Mobile devices can make extensive use of network data for streaming content, synchronizing data, downloading apps, and more. To meet the needs of users with tiered or metered data plans, Android 4.0 adds new controls for managing network data usage.

In the Settings app, colorful charts show the total data usage on each network type (mobile or Wi-Fi), as well as amount of data used by each running application. Based on their data plans, users can optionally set warning levels or hard limits on data usage or disable mobile data altogether. Users can also manage the background data used by individual applications as needed.

Designed for accessibility

A variety of new features greatly enhance the accessibility of Android 4.0 for blind or visually impaired users. Most important is a new explore-by-touch mode that lets users navigate without having to see the screen. Touching the screen once triggers audible feedback that identifies the UI component below; a second touch in the same component activates it with a full touch event. The new mode is especially important to support users on new devices that use virtual buttons in the System Bar, rather than dedicated hardware buttons or trackballs. Also, standard apps are updated to offer an improved accessibility experience. The Browser supports a script-based screen reader for reading favorite web content and navigating sites. For improved readability, users can also increase the default font size used across the system.

The accessibility experience begins at first setup — a simple touch gesture during setup (clockwise square from upper left) activates all accessibility features and loads a setup tutorial. Once accessibility features are active, everything visible on the screen can be spoken aloud by the standard screen reader.

數據使用控制讓您監控網絡類型和應用的總用量,然後如果需要設置的限制。
控制對網絡數據

移動設備可以使流媒體內容,數據同步,下載應用程序,更廣泛使用的網絡數據。為了滿足用戶分層或計量數據計劃的需求,Android的4.0增加了新的控制管理網絡數據使用。

在設置應用程序中,五顏六色的圖表顯示每個網絡類型的數據使用(手機或Wi – Fi),以及每個正在運行的應用程序所使用的數據量。根據他們的數據計劃,用戶可以隨意設置警告級別或對數據使用的硬盤限制,或完全禁用移動數據。用戶還可以管理個人需要的應用程序所使用的背景資料。

針對易用性設計

各種新功能,大大提高了Android4.0的失明或視障用戶的無障礙。最重要的是一個新的探索,通過觸摸模式,允許用戶瀏覽,而不必看屏幕。觸摸屏幕,一旦觸發聲音反饋,標識下面的UI組件,在同一組件的第二次觸摸激活它採用了全觸摸事件。支持用戶使用虛擬按鈕,在系統欄上新設備,而不是專用硬件按鈕或軌跡球,新模式顯得尤為重要。此外,標準的應用程序更新,提供了一個改進的輔助經驗。瀏覽器支持閱讀最喜愛的網頁內容和網站導航的基於腳本的屏幕閱讀器。為了提高可讀性,用戶還可以提高整個系統使用的默認字體大小。

無障礙的經驗開始先設定 – 安裝過程中的簡單的觸摸手勢(從左上角順時針平方米),激活所有的輔助功能,並加載設置教程。一旦輔助功能是積極的,一切都在屏幕上可見可以講大聲標準的屏幕閱讀器。

Communication and sharing

  

Contacts and profiles are integrated across apps and social networks, for a consistent, personal experience everywhere — from incoming calls to emails.

Designed for the way people live, Android 4.0 integrates rich social communication and sharing touchpoints across the system, making it easy to talk, email, text, and share.

People and profiles

Throughout the system, a user’s social groups, profiles, and contacts are linked together and integrated for easy accessibility. At the center is a new People app that offers richer profile information, including a large profile picture, phone numbers, addresses and accounts, status updates, events, stream items, and a new button for connecting on integrated social networks.

The user’s own contact information is stored in a new “Me” profile, allowing easier sharing with apps and people. All of the user’s integrated contacts are displayed in an easy to manage list, including controls over which contacts are shown from any integrated account or social network. Wherever the user navigates across the system, tapping a profile photo displays Quick Contacts, with large profile pictures, shortcuts to phone numbers, text messaging, and more.

Unified calendar, visual voicemail

To help organize appointments and events, an updated Calendar app brings together personal, work, school, and social agendas. With user permission, other applications can contribute events to the calendar and manage reminders, for an integrated view across multiple calendar providers. The app is redesigned to let users manage events more easily. Calendars are color-coded and users can swipe left or right to change dates and pinch to zoom in or out agendas.

In the phone app, a new visual voicemail features integrates incoming messages, voice transcriptions, and audio files from one or more providers. Third-party applications can integrate with the Phone app to add their own voice messages, transcriptions, and more to the visual voicemail inbox.

聯繫和型材跨應用程序和社會網絡集成,一致的,個人的經驗無處不在 – 從來電,電子郵件。
的Android4.0設計對人們生活的方式,整個系統集成豐富的社會溝通和共享的接觸點,很容易交談,電子郵件,文本,並分享。

人民和型材

整個系統中,用戶的社會團體,型材和接觸聯繫在一起,交通方便的集成。在該中心是一個新的應用程序,提供更豐富的個人信息,包括一個大的個人資料圖片,電話號碼,地址和帳戶,狀態更新,事件,流項目,並綜合社會網絡連接的一個新的按鈕。

用戶自己的聯繫人信息存儲在一個新的“我”的個人資料,可以與應用程序和人民共享更容易。所有用戶的綜合性接觸都顯示在一個易於管理的名單,其中包括從任何綜合戶口或社會網絡中接觸的控制。無論在什麼情況下,用戶整個系統的導航,攻絲的個人資料照片顯示快速聯繫人,與大型資料圖片,電話號碼的快捷方式,短信,以及更多。

統一日曆,可視語音郵件

為了幫助組織約會和事件,一個更新的日曆應用程序匯集了個人,工作,學校和社會議程。用戶權限,其他應用程序可以有助於事件的日曆和提醒,管理跨多個日曆提供商的集成視圖。該應用程序進行了重新設計,讓用戶更輕鬆地管理事件。日曆顏色編碼,用戶可以向左或向右輕掃更改日期,捏來放大或縮小議程。

在手機應用程序,一個新的可視語音郵件功能整合收到的消息,語音抄錄,並從一個或多個供應商的音頻文件。第三方應用程序可以集成與手機的應用程序添加自己的語音郵件,抄錄,多,可視語音郵件收件箱。

Capture the picture you want, edit, and share instantly.

Rich and versatile camera capabilities

The Camera app includes many new features that let users capture special moments with great photos and videos. After capturing images, they can edit and share them easily with friemds.

When taking pictures, continuous focuszero shutter lag exposure, and decreased shot-to-shot speed help capture clear, precise images. Stabilized image zoom lets users compose photos and video in the way they want, including while video is recording. For new flexibility and convenience while shooting video, users can now takesnapshots at full video resolution just by tapping the screen as video continues to record.

To make it easier to take great pictures of people, built-in face detection locates faces in the frame and automatically sets focus. For more control, users can tap to focusanywhere in the preview image.

For capturing larger scenes, the Camera introduces a single-motion panorama mode. In this mode, the user starts an exposure and then slowly turns the Camera to encompass as wide a perspective as needed. The Camera assembles the full range of continuous imagery into a single panoramic photo.

After taking a picture or video, users can quickly share it by email, text message, bluetooth, social networks, and more, just by tapping the thumbnail in the camera controls.

瞬間捕捉您想要的圖片,編輯,並分享。
豐富的多樣化的相機功能

相機的應用程序,包括許多新功能,可讓用戶捕捉特殊時刻,偉大的照片和視頻。拍攝圖像後,他們可以編輯和共享他們很容易與 friemds。

採取圖片,持續關注,零快門時滯曝光,和減少時出手,出手速度有助於捕捉清晰,準確的圖像。穩定的圖像縮放可以讓用戶在他們希望的方式組成的照片和視頻,包括視頻錄製時。對於新的靈活性和便利性,而拍攝的視頻,用戶可以現在只需輕敲屏幕視頻記錄完整的視頻分辨率takesnapshots。

為了使它更容易採取偉大的人的圖像,內置的人臉檢測定位面臨幀,並自動設置的重點。進行更多的控制,用戶可以挖掘,focusanywhere在預覽圖像。

相機拍攝較大的場景中,引入了一個單一的運動全景模式。在這種模式下,用戶開始曝光,然後慢慢地打開相機,以涵蓋盡可能廣泛的角度,需要。相機組裝成一個單一的全景照片的連續圖像的全方位。

拍照或錄像後,用戶可以通過電子郵件,短信,藍牙,社會網絡,更快速地共享,只需輕敲相機控制縮略圖。

A Photo Gallery widget on the home screen.

Redesigned Gallery app with photo editor

The Gallery app now makes it easier to manage, show, and share photos and videos. For managing collections, a redesigned album layout shows many more albums and offers larger thumbnails. There are many ways to sort albums, including by time, location, people, and tags. To help pictures look their best, the Gallery now includes a powerful photo editor. Users can crop and rotate pictures, set levels, remove red eyes, add effects, and much more. After retouching, users can select one or multiple pictures or videos to share instantly over email, text messaging, bluetooth, social networks, or other apps.

An improved Picture Gallery widget lets users look at pictures directly on their home screen. The widget can display pictures from a selected album, shuffle pictures from all albums, or show a single image. After adding the widget to the home screen, users can flick through the photo stacks to locate the image they want, then tap to load it in Gallery.

在主屏幕上的一個照相館部件。
照片編輯器重新設計廊應用程序

現在畫廊應用程序更易於管理,顯示和共享照片和視頻。收藏管理,重新設計專輯佈局顯示有更多的相冊,並提供更大的縮略圖。排序專輯有很多方法,包括按時間,地點,人,和標籤。要幫助的照片看他們的最佳,廊包括一個強大的照片編輯器。用戶可以裁剪和旋轉圖片,設置水平,消除眼睛發紅,添加效果,等等。修飾後,用戶可以選擇一個或多個照片或錄像,立即通過電子郵件,短信,藍牙,社會網絡,或其他應用程序共享。

一種改進的圖片庫 widget可以讓用戶直接在他們的家庭屏幕上的照片看。 widget可以顯示所選專輯中的所有專輯,從洗牌圖片的照片,或顯示一個單一的形象。後的部件添加到主屏幕,用戶可以通過照片堆棧一抖找到他們想要的形象,然後點擊加載在畫廊。

Live Effects let you change backgrounds and use Silly Faces during video.

Live Effects for transforming video

Live Effects is a collection of graphical transformations that add interest and fun to videos captured in the Camera app. For example, users can change the background behind them to any stock or custom image, for just the right setting when shooting videeo. Also available for video is Silly Faces, a set of morphing effects that use state-of-the-art face recognition and GPU filters to transform facial features. For example, you can use effects such as small eyes, big mouth, big nose, face squeeze, and more. Outside of the Camera app, Live Effects is available during video chat in the Google Talk app.

現場效果讓你改變背景和使用過程中的視頻憨面。
轉換視頻的實時效果

活的影響是添加的興趣和樂趣,在相機中的應用程序捕獲的視頻圖形轉換的集合。例如,用戶可以改變他們身後的背景下任何股票或自定義圖像設置恰到好處,拍攝時videeo。也可用於視頻是愚蠢的面孔,變形影響使用狀態的最先進的臉部識別和GPU過濾器改造五官。例如,您可以使用如小眼睛,大嘴巴,大鼻子,臉上擠,和更多的影響。攝像機的應用程序之外,現場效果是在視頻聊天中的Google Talk應用程序。

Snapping a screenshot.

Sharing with screenshots

Users can now share what’s on their screens more easily by taking screenshots. Hardware buttons let them snap a screenshot and store it locally. Afterward, they can view, edit, and share the screen shot in Gallery or a similar app.

Cloud-connected experience

貼緊的截圖。
共享與截圖

現在,用戶可以分享什麼是截屏,在屏幕上更容易。硬件按鈕讓他們捕捉屏幕截圖,並存儲在本地。隨後,他們可以查看,編輯和共享多媒體資料中的屏幕截圖或類似的應用程序。

雲連接體驗

 

The Browser tabs menu (left) lets you quickly switch browser tabs. The options menu (right) gives you new ways to manage your browsing experience.

Benchmark comparisons of Android Browser.

Android has always been cloud-connected, letting users browse the web and sync photos, apps, games, email, and contacts — wherever they are and across all of their devices. Android 4.0 adds new browsing and email capabilities to let users take even more with them and keep communication organized.

Powerful web browsing

The Android Browser offers an experience that’s as rich and convenient as a desktop browser. It lets users instantly sync and manage Google Chrome bookmarks from all of their accounts, jump to their favorite content faster, and even save it for reading later in case there’s no network available.

To get the most out of web content, users can now request full desktop versions of web sites, rather than their mobile versions. Users can set their preference for web sites separately for each browser tab. For longer content, users can save a copy for offline reading. To find and open saved pages, users can browse a visual list that’s included with browser bookmarks and history. For better readability and accessibility, users can increase the browser’s zoom levels and override the system default text sizes.

Across all types of content, the Android Browser offers dramatically improved page rendering performance through updated versions of the WebKit core and the V8 Crankshaft compilation engine for JavaScript. In benchmarks run on a Nexus S device, the Android 4.0 browser showed an improvement of nearly 220% over the Android 2.3 browser in the V8 Benchmark Suite and more than 35% in the SunSpider 9.1 JavaScript Benchmark. When run on a Galaxy Nexus device, the Android 4.0 browser showed improvement of nearly 550% in the V8 benchmark and nearly 70% in the SunSpider benchmark.

Improved email

In Android 4.0, email is easier to send, read, and manage. For composing email, improved auto-completion of recipients helps with finding and adding frequent contacts more quickly. For easier input of frequent text, users can now create quick responses and store them in the app, then enter them from a convenient menu when composing. When replying to a message, users can now toggle the message to Reply All and Forward without changing screens.

For easier browsing across accounts and labels, the app adds an integrated menu of accounts and recent labels. To help users locate and organize IMAP and Exchange email, the Email app now supports nested mail subfolders, each with synchronization rules. Users can also search across folders on the server, for faster results.

For enterprises, the Email app supports EAS v14. It supports EAS certificate authentication, provides ABQ strings for device type and mode, and allows automatic sync to be disabled while roaming. Administrators can also limit attachment size or disable attachments.

For keeping track of incoming email more easily, a resizable Email widget lets users flick through recent email right from the home screen, then jump into the Email app to compose or reply.

Android瀏覽器的基準比較。
Android已經一直雲連接,讓用戶瀏覽網頁和同步照片,應用程序,遊戲,電子郵件,和聯繫人 – 無論他們在哪裡,在所有他們的設備。 Android的4.0增加了新的瀏覽和電子郵件功能,讓用戶採取更與他們保持溝通組織。

強大的網頁瀏覽

Android瀏覽器提供了經驗,為豐富和方便的桌面瀏覽器。它使用戶能夠即時同步和管理他們的所有賬戶的谷歌Chrome的書籤,跳自己喜愛的內容更快,甚至可以保存閱讀的情況下有沒有網絡可用。

為了得到最有效的網頁內容,用戶現在可以要求網站的完整的桌面版本,而不是他們的移動版本。用戶可以設置自己網站的偏好,分別為每個瀏覽器“選項卡。對於較長的內容,用戶可以保存以便脫機閱讀的副本。找到並打開保存的網頁,用戶可以瀏覽一個視覺的名單,包括瀏覽器的書籤和歷史。對於更好的可讀性和可,用戶可以增加瀏覽器的縮放級別,並覆蓋系統默認的文字大小。

Android瀏覽器提供了跨所有類型的內容,極大地提高了頁面通過更新版本的WebKit核心和V8曲軸為 JavaScript編譯引擎的渲染性能。在Android 4.0瀏覽器在一個的Nexus S設備上運行的基準,顯示了近220%以上的Andr​​oid 2.3瀏覽器在V8基準套件和35%以上的SunSpider 9.1 JavaScript的基準的改善。一個星系的​​Nexus設備運行時,在Android 4.0瀏覽器顯示近550%,在V8基準測試和近70%的SunSpider基準的改善。

改進電子郵件

在Android 4.0中,電子郵件很容易發送,閱讀和管理。受助人改善自動完成撰寫電子郵件,有助於更迅速尋找和增加交往頻繁。頻繁文本輸入更容易,用戶現在可以建立快速反應,並將它們存儲在應用程序,然後輸入一個方便的菜單,在撰寫時。回复郵件時,用戶現在可以切換的消息,在不改變屏幕回复全部“和”前進“。

跨賬戶和標籤更容易的瀏覽,應用程序添加了一個綜合帳戶和最近標籤菜單。為了幫助用戶查找和組織 IMAP和Exchange電子郵件,電子郵件應用程序現在支持嵌套郵件子文件夾,每個同步規則。用戶還可以搜索整個服務器上的文件夾,快出成果。

對於企業來說,電子郵件應用程序支持的EAS V14。它支持的EAS證書認證,提供設備的類型和模式的ABQ字符串,並允許漫遊時自動同步被禁用。管理員還可以限制附件的大小或禁用附件。

更容易保持跟踪傳入的電子郵件,一個可調整大小的電子郵件窗口小部件可以讓用戶通過最近的電子郵件的權利從主屏幕一抖,然後跳進撰寫或回复的電子郵件應用程序。

Android Beam lets users share what they are using with a single tap.

Innovation

Android is continously driving innovation forward, pushing the boundaries of communication and sharing with new capabilities and interactions.

Android Beam for NFC-based sharing

Android Beam is an innovative, convenient feature for sharing across two NFC-enabled devices, It lets people instantly exchange favorite apps, contacts, music, videos — almost anything. It’s incredibly simple and convenient to use — there’s no menu to open, application to launch, or pairing needed. Just touch one Android-powered phone to another, then tap to send.

For sharing apps, Android Beam pushes a link to the app’s details page in Android Market. On the other device, the Market app launches and loads the details page, for easy downloading of the app. Individual apps can build on Android Beam to add other types of interactions, such as passing game scores, initiating a multiplayer game or chat, and more.

Android的光束可以讓用戶共享他們使用一個水龍頭。
創新

Android是不斷推動創新前進,推動溝通的界限,並與新的功能和相互作用共享。

Android的基於 NFC的共享束

Android的光束是一種創新,跨越兩個 NFC設備共享方便的功能,它可以讓人們即刻交換喜愛的應用程序,聯繫人,音樂,視頻 – 幾乎所有的東西。這是令人難以置信的簡單,方便使用 – 有沒有打開的菜單,應用程序啟動,或配對需要。只需觸摸一個Android平台的手機,然後點擊發送。

共享應用程序,Android的光束推應用程序的細節在Android Market的頁面的鏈接。在其他設備上,市場的應用程序啟動和加載的詳細信息頁面,輕鬆下載應用程序。在Android束添加其他類型的相互作用,如通過遊戲得分,發起一個多人遊戲或聊天,更可以建立單獨的應用程序。

Face recognition lets you unlock your phone with your face.

Face Unlock

Android 4.0 introduces a completely new approach to securing a device, making each person’s device even more personal — Face Unlock is a new screen-lock option that lets users unlock their devices with their faces. It takes advantage of the device front-facing camera and state-of-the-art facial recognition technology to register a face during setup and then to recognize it again when unlocking the device. Users just hold their devices in front of their faces to unlock, or use a backup PIN or pattern.

Wi-Fi Direct and Bluetooth HDP

Support for Wi-Fi Direct lets users connect directly to nearby peer devices over Wi-Fi, for more reliable, higher-speed communication. No internet connection or tethering is needed. Through third-party apps, users can connect to compatible devices to take advantage of new features such as instant sharing of files, photos, or other media; streaming video or audio from another device; or connecting to compatible printers or other devices.

Android 4.0 also introduces built-in support for connecting to Bluetooth Health Device Profile (HDP)devices. With support from third-party apps, users can connect to wireless medical devices and sensors in hospitals, fitness centers, homes, and elsewhere.

New Developer Features

Unified UI framework for phones, tablets, and more

Android 4.0 brings a unified UI framework that lets developers create elegant, innovative apps for phones, tablets, and more. It includes all of the familiar Android 3.x interface elements and APIs — fragments, content loaders, Action Bar, rich notifications, resizable home screen widgets, and more — as well as new elements and APIs.

For developers, the unified UI framework in Android 4.0 means new UI tools, consistent design practices, simplified code and resources, and streamlined development across the range of Android-powered devices.

Key Android 3.x developer features,
now for phones too

Core UI

  • Fragments and content loaders
  • Resizeable home screen widgets
  • Rich notifications
  • Multi-selection, drag-drop, clipboard
  • Improved screen-support API
  • Hardware-accelerated 2D graphics

Graphics and animation

  • Property-based animation
  • Renderscript 3D graphics

Media and connectivity

  • HTTP Live streaming
  • Bluetooth A2DP and HSP devices
  • Support for RTP
  • MTP/PTP file transfer
  • DRM framework
  • Input from keyboard, mouse, gamepad, joystick

Enterprise

  • Full device encryption
  • DPM policies for encrypted storage and passwords

Communication and sharing

Android 4.0 extends social and sharing features to any application on the device. Applications can integrate contacts, profile data, stream items, and calendar events from any of the user’s activities or social networks.

臉部識別,讓你解開您的手機與你的臉。
臉部解鎖

的Andr​​oid 4.0引入了一個全新的方法,確保設備,使每個人的設備,更個人 – 面解鎖是一個新的屏幕鎖的選項,允許用戶解鎖他們的設備與他們的臉。它需要設備的優勢,面向前端的攝像機和國家的最先進的的面部識別技術登記在安裝過程中的臉,然後解鎖設備時,再次認識到它。用戶只需在他們的臉解鎖,或使用備份的PIN碼或圖案前,他們的設備。

直接的Wi – Fi和藍牙 HDP

Wi – Fi的直接支持,讓用戶直接連接到附近通過 Wi – Fi等設備,更可靠,更高速度的通信。沒有網絡連接或圈養是必要的。通過第三方應用程序,用戶可以連接到兼容的設備,採取新功能,如即時共享文件,照片或其他媒體的優勢,從另一個設備的視頻或音頻流;或連接到兼容的打印機或其他設備。

的Andr​​oid 4.0還引入了內置支持藍牙醫療設備規範(HDP)設備連接到。從第三方應用程序的支持,用戶可以連接到無線醫療設備和醫院,健身中心,家庭,和其他地方的傳感器。

新的開發功能

統一的UI框架,為手機,片劑,多

的Andr​​oid 4.0帶來了一個統一的用戶界面框架,允許開發人員創建用於手機,平板電腦,更優雅,創新應用。它包括所有的熟悉的Andr​​oid 3.x的界面元素和API – 片段,內容裝載機,行動吧,豐富的通知,可調整大小的主屏幕小部件,以及更多 – 以及新的元素和API。

對於開發商而言,在Android 4.0統一的UI框架意味著新的用戶界面工具,一貫的設計手法,簡單的代碼和資源,和整個 Android的供電設備範圍內簡化發展。

關鍵的Andr​​oid 3.x的開發功能,
現在手機太

核心UI

片段和內容裝載機
Resizeable主頁屏幕小部件
豐富的通知
多選擇,拖放,剪貼板
改進的屏幕支持API
硬件加速2D圖形
圖形和動畫

基於屬性的動畫
Renderscript 3D圖形
媒體和連接

HTTP實時流
藍牙 A2DP和HSP設備
支持RTP的
MTP / PTP,文件傳輸
DRM的框架
從鍵盤,鼠標,手柄,操縱桿的輸入
企業

全設備加密
DPM加密存儲和密碼政策
溝通和共享

Social API

A shared social provider and API provide a new unified store for contacts, profile data, stream items, and photos. Any app or social network with user permission can contribute raw contacts and make them accessible to other apps and networks. Applications with user permission can also read profile data from the provider and display it in their applications.

The social API lets applications store standard contact data as well as new types of content for any given contact, including large profile photos, stream items, and recent activity feedback. Recent activity feedback is a standard way for applications to “tag” a contact with common activity, such as when the user calls the contact or sends an email or SMS message. The social provider uses the recent activity feedback as a new signal in ranking, such as for name auto-complete, to keep the most relevant contacts ranked closest to the top.

Applications can also let users set up a social connection to a contact from the People app. When the user touches Add Connection in a contact, the app sends a public intent that other apps can handle, displaying any UI needed to create the social connection.

Building on the social API, developers can add powerful new interactions that span multiple social networks and contacts sources.

Calendar API

A shared calendar content provider and framework API make it easier for developers to add calendar services to their apps.

With user permission, any application can add events to the shared database and manage dates, attendees, alerts, and reminders. Applications can also read entries from the database, including events contributed by other applications, and handle the display of event alerts and reminders. Using the calendar provider, applications can take advantage of event data sourced from a variety of apps and protocols, to offer innovative ways of viewing and managing a user’s events. Apps can also use calendar data to improve the relevance of their other content.

For lighter-weight access to calendar services, the Calendar app defines a set of public Intents for creating, viewing, and editing events. Rather than needing to implement a calendar UI and integrate directly with the calendar provider, applications can simply broadcast calendar Intents. When the Calendar app receives the Intents, it launches the appropriate UI and stores any event data entered. Using calendar Intents, for example, apps can let users add events directly from lists, dialogs, or home screen widgets, such as for making restaurant reservations or booking time with friends.

Visual voicemail API

A shared Voicemail provider and API allow developers to build applications that contribute to a unified voicemail store. Voicemails are displayed and played in the call log tab of the platform’s Phone app.

Android Beam

Android Beam is an NFC-based feature that lets users instantly share information about the apps they are using, just by touching two NFC-enabled phones together. When the devices are in range — within a few centimeters — the system sets up an NFC connection and displays a sharing UI. To share whatever they are viewing with the other device, users just touch the screen.

For developers, Android Beam is a new way of triggering almost any type of proximity-based interaction. For example, it can let users instantly exchange contacts, set up multiplayer gaming, join a chat or video call, share a photo or video, and more. The system provides the low-level NFC support and the sharing UI, while the foreground app provides lightweight data to transfer to the other device. Developers have complete control over the data that is shared and how it is handled, so almost any interaction is possible. For larger payloads, developers can even use Android Beam to initiate a connection and transfer the data over Bluetooth, without the need for user-visible pairing.

Even if developers do not add custom interactions based on Android Beam they can still benefit from it being deeply integrated into Android. By default the system shares the app’s Android Market URL, so it’s easy for the user to download or purchase the app right away.

Modular sharing widget

The UI framework includes a new widget, ShareActionProvider, that lets developers quickly embed standard share functionality and UI in the Action Bar of their applications. Developers simply add ShareActionProvider to the menu and set an intent that describes the desired sharing action. The system handles the rest, building up the list of applications that can handle the share intent and dispatching the intent when the user chooses from the menu.

New media capabilities

Low-level streaming multimedia

Android 4.0 provides a direct, efficient path for low-level streaming multimedia. The new path is ideal for applications that need to maintain complete control over media data before passing it to the platform for presentation. For example, media applications can now retrieve data from any source, apply proprietary encryption/decryption, and then send the data to the platform for display.

Applications can now send processed data to the platform as a multiplexed stream of audio/video content in MPEG-2 transport stream format. The platform de-muxes, decodes, and renders the content. The audio track is rendered to the active audio device, while the video track is rendered to either a Surface or a SurfaceTexture. When rendering to a SurfaceTexture, the application can apply subsequent graphics effects to each frame using OpenGL.

To support this low-level streaming, the platform introduces a new native API based on Khronos OpenMAX AL 1.0.1. The API is implemented on the same underlying services as the platform’s existing OpenSL ES API, so developers can make use of both APIs together if needed. Tools support for low-level streaming multimedia will be available in an upcoming release of the Android NDK.

New camera capabilities

Developers can take advantage of a variety of new camera features in Android 4.0. ZSL exposure, continuous focus, and image zoom let apps capture better still and video images, including during video capture. Apps can even capture full-resolution snapshots while shooting video. Apps can now set custom metering regions in a camera preview, then manage white balance and exposure dynamically for those regions. For easier focusing and image processing, a face-detection service identifies and tracks faces in a preview and returns their screen coordinates.

Media effects for transforming images and video

A set of high-performance transformation filters let developers apply rich effects to any image passed as an OpenGL ES 2.0 texture. Developers can adjust color levels and brightness, change backgrounds, sharpen, crop, rotate, add lens distortion, and apply other effects. The transformations are processed by the GPU, so they are fast enough for processing image frames loaded from disk, camera, or video stream.

Audio remote controls

Android 4.0 adds a new audio remote control API that lets media applications integrate with playback controls that are displayed in a remote view. Media applications can integrate with a remote music playback control that’s built into in the platform’s lock screen, allowing users to control song selection and playback without having to unlock and navigate to the music app.

Using the audio remote control API, any music or media app can register to receive media button events from the remote control and then manage play state accordingly. The application can also supply metadata to the remote control, such as album art or image, play state, track number and description, duration, genre, and more.

New media codecs and containers

Android 4.0 adds support for additional media types and containers to give developers access to the formats they need. For high-quality compressed images, the media framework adds support for WebP content. For video, the framework now supports streaming VP8 content. For streaming multimedia, the framework supports HTTP Live streaming protocol version 3 and encoding of ADTS-contained AAC content. Additionally, developers can now use Matroska containers for Vorbis and VP8 content.

New types of connectivity

Wi-Fi Direct

Developers can use a framework API to discover and connect directly to nearby devices over a high-performance, secure Wi-Fi Direct connection. No internet connection or hotspot is needed.

Wi-Fi Direct opens new opportunities for developers to add innovative features to their applications. Applications can use Wi-Fi Direct to share files, photos, or other media between devices or between a desktop computer and an Android-powered device. Applications could also use Wi-Fi Direct to stream media content from a peer device such as a digital television or audio player, connect a group of users for gaming, print files, and more.

Bluetooth Health Device Profile (HDP)

Developers can now build powerful medical applications that use Bluetooth to communicate with wireless devices and sensors in hospitals, fitness centers, homes, and elsewhere. Applications can collect and manage data from HDP source devices and transmit it to backend medical applications such as records systems, data analysis services, and others.

Using a framework API, applications can use Bluetooth to discover nearby devices, establish reliable or streaming data channels, and manage data transmission. Applications can supply any IEEE 11073 Manager to retrieve and interpret health data from Continua-certified devices such as heart-rate monitors, blood meters, thermometers, and scales.

New UI components and capabilities

Layout enhancements

A new layout, GridLayout, improves the performance of Android applications by supporting flatter view hierarchies that are faster to layout and render. Because hierarchies are flatter, developers can also manage alignments between components that are visually related to each other even when they are not logically related, for precise control over application UI. GridLayout is also specifically designed to be configured by drag-and-drop design tools such as the ADT Plug-in for Eclipse.

OpenGL ES texture views

A new TextureView object lets developers directly integrate OpenGL ES textures as rendering targets in a UI hierarchy. The object lets developers display and manipulate OpenGL ES rendering just as they would a normal view object in the hierarchy, including moving, transforming, and animating the view as needed. The TextureView object makes it easy for developers to embed camera preview, decoded video, OpenGL game scenes, and more. TextureView can be viewed as a more powerful version of the existing SurfaceView object, since it offers the same benefits of access to a GL rendering surface, with the added advantage of having that surface participate fully in the normal view hierarchy.

Hardware-accelerated 2D drawing

All Android-powered devices running Android 4.0 are required to support hardware-accelerated 2D drawing. Developers can take advantage of this to add great UI effects while maintaining optimal performance on high-resolution screens, even on phones. For example, developers can rely on accelerated scaling, rotation, and other 2D operations, as well as accelerated UI components such as TextureView and compositing modes such as filtering, blending, and opacity.

New input types and text services

Stylus input, button support, hover events

Android 4.0 includes full support for stylus input events, including tilt and distance axes, pressure, and related motion event properties. To help applications distinguish motion events from different sources, the platform adds distinct tool types for stylus, finger, mouse, and eraser. For improved input from multi-button pointing devices, the platform now provides distinct primary, secondary, and tertiary buttons, as well as back and forward buttons. Hover-enter and hover-exit events are also added, for improved navigation and accessibility. Developers can build on these new input features to add powerful interactions to their apps, such as precise drawing and gesturing, handwriting and shape recognition, improved mouse input, and others.

Text services API for integrating spelling checkers

Android 4.0 lets applications query available text services such as dictionaries and spell checkers for word suggestions, corrections, and similar data. The text services are external to the active IME, so developers can create and distribute dictionaries and suggestion engines that plug into the platform. When an application receives results from a text service — for example, word suggestions — it can display them in a dedicated suggestion popup window directly inside the text view, rather than relying on the IME to display them.

Enhanced accessibility APIs

Android 4.0 adds new accessibility features and an enhanced API to let developers improve the user experience in their apps, especially on devices that don’t have hardware buttons. For accessibility services such as screen readers in particular, the platform offers new APIs to query window content, for easier navigation, better feedback, and richer user interfaces.

Accessibility API

To let applications manage interactions more effectively when accessibility features are enabled, the platform adds accessibility events for explore-by-touch mode, scrolling, and text selection. For these and other events, the platform can attach a new object called an accessibility record that provides extra information about the event context.

Using the accessibility record and related APIs, applications can now access the view hierarchy associated with an event. Applications can query for key properties such as parent and child nodes, available states, supported actions, screen position, and more. Applications can also request changes to certain properties to help manage focus and selected state. For example, an accessibility service could use these new capabilities to add convenient features such as screen-search by text.

Text-to-speech API

A new framework API lets developers write text-to-speech engines and make them available to any app requesting TTS capabilities.

Efficient network usage

In Android 4.0, users can see how much network data their running apps are using. They can also set limits on data usage by network type and disable background data usage for specific applications. In this context, developers need to design their apps to run efficiently and follow best practices for checking the network connection. Android 4.0 provides network APIs to let applications meet those goals.

As users move between networks or set limits on network data, the platform lets applications query for connection type and availability. Developers can use this information to dynamically manage network requests to ensure the best experience for users. Developers can also build custom network and data-usage options into their apps, then expose them to users directly from Settings by means of a new system Intent.

Security for apps and content

Secure management of credentials

Android 4.0 makes it easier for applications to manage authentication and secure sessions. A new keychain API and underlying encrypted storage let applications store and retrieve private keys and their corresponding certificate chains. Any application can use the keychain API to install and store user certificates and CAs securely.

Address Space Layout Randomization

Android 4.0 now provides address space layout randomization (ASLR) to help protect system and third party applications from exploitation due to memory-management issues.

Enhancements for Enterprise

VPN client API

Developers can now build or extend their own VPN solutions on the platform using a new VPN API and underlying secure credential storage. With user permission, applications can configure addresses and routing rules, process outgoing and incoming packets, and establish secure tunnels to a remote server. Enterprises can also take advantage of a standard VPN client built into the platform that provides access to L2TP and IPSec protocols.

Device policy management for camera

The platform adds a new policy control for administrators who manage devices using an installed Device Policy Manager. Administrators can now remotely disable the camera on a managed device for users working in sensitive environments.

Android的4.0擴展到任何設備上的應用程序的社會和共享功能。應用程序可以整合接觸,個人資料數據,流項目,並從用戶的任何活動或社會網絡的日曆事件。

社會的API

一個共同的社會供應商和API提供了一個新的統一存儲聯繫人,個人資料數據,流項目,和照片。任何應用程序或用戶權限的社會網絡,可以有助於原料接觸,使他們接觸到其他應用程序和網絡。具有用戶權限的應用程序也可以讀取從供應商的個人資料數據,並顯示在他們的應用程序。

社會 API允許應用程序存儲標準的接觸數據對於任何給定的聯繫以及新類型的內容,包括大型的個人資料照片,流項目,以及最近的活動反饋。最近的活動反饋“標籤”,如當用戶呼叫聯繫人或發送一封電子郵件或短信聯繫與共同活動,是一個標準的應用方式。社會提供使用一個新的信號排名最近的活動反饋,如名稱自動完成,以保持最相關的接觸中排名最接近頂端。

應用程序還可以讓用戶設置一個社會從人民的應用程序中的聯繫人的連接。當用戶觸摸新增一個聯絡人在的連接,應用程序發送一個公共的意圖,其他應用程序可以處理,顯示任何UI需要建立社會聯繫。

社會 API的基礎上,開發人員可以添加強大的新跨越多個社交網絡和接觸源相互作用。

日曆的API

共享的日曆內容提供商和框架API使開發者更容易日曆服務添加到他們的應用程序。

用戶權限,任何應用都可以共享數據庫中添加事件和管理日期,與會者,警報和提醒。應用程序還可以從數據庫中讀取條目,包括由其他應用程序的事件,並處理事件警示和提醒的顯示。使用日曆提供商,應用程序可以來自多種應用程序和協議的事件數據的優勢,提供創新的方式查看和管理用戶的事件。應用程序也可以使用日曆數據,以改善他們的其他內容的相關性。

重量更輕的訪問日曆服務,日曆應用程序定義,創建,查看,和編輯活動的公眾意向。而不需要實現一個日曆 UI直接集成日曆提供商,應用程序可以簡單地廣播日曆意圖。當日曆應用程序接收的意向後,它將啟動適當的用戶界面和存儲任何情況下輸入的數據。使用日曆的意圖,例如,應用程序可以讓用戶直接從添加列表,對話,或主屏幕小部件,如預訂餐廳或預訂時間與朋友的事件。

Visual Voicemail(可視語音信箱)API

共享的語音信箱服務提供商和API允許開發者建立,有助於統一語音郵件存儲的應用程序。語音信箱的顯示和發揮平台的手機應用程序的調用日誌標籤。

Android的光束

Android的光束是一個基於 NFC的功能,讓用戶即時分享他們使用的應用程序的信息,只需通過觸摸兩個 NFC手機。當設備在幾厘米範圍內 – – 系統設置了一個 NFC的連接,並顯示共享的用戶界面。要分享無論他們正在與其他設備觀看,用戶只需觸摸屏幕。

對於開發人員,Android的光束是一個觸發幾乎任何類型接近的交流的新途徑。例如,它可以讓用戶即時交流接觸,設立多人遊戲,加入聊天或視頻呼叫,分享照片或視頻,以及更多。該系統提供了低級別的NFC支持和共享UI,而前台的應用程序提供輕量級的數據轉移到其他設備。開發者們對共享和它是如何處理的數據的完全控制,所以幾乎所有的互動是可能的。對於更大的有效載荷,開發人員甚至可以使用Android的光束發起一個連接,並通過藍牙傳輸的數據,而不需要對用戶可見的配對。

開發商即使不添加基於 Android的梁的自定義交互,他們仍然可以受益於它被深深集成到Android的。通過系統應用程序的Andr​​oid Market網址股的默認,所以很容易,供用戶下載或購買的應用程序馬上。

模塊化的共享部件

UI框架,包括一個新的部件,ShareActionProvider,使開發人員能夠快速嵌入他們的應用程序的操作欄標準共享功能和用戶界面。開發者只需添加ShareActionProvider菜單和設置描述所需的共享行動的意圖。該系統處理的休息,建立的應用程序可以處理共享意圖的清單,並派遣的意圖,當用戶從菜單中選擇。

新媒體的能力

低層次的多媒體流

的Andr​​oid 4.0,低層次的多媒體流提供了一個直接有效的途徑。新的路徑,需要保持傳遞平台演示前對媒體數據的完全控制應用程序的理想選擇。媒體應用,例如,現在可以從任何來源的數據檢索,適用於專有的加密/解密,然後發送顯示數據的平台。

應用程序現在可以處理的數據發送复流在MPEG – 2傳輸流格式的音頻 /視頻內容的平台。該平台解復用器,解碼,呈現的內容。音軌呈現積極的音頻設備,視頻軌道呈現無論是表面或SurfaceTexture的。當渲染到SurfaceTexture,應用程序可以申請使用OpenGL的每一幀的後續圖形效果。

為了支持這種低級流,該平台基於 Khronos的的OpenMAX AL 1.0.1引入了一個新的原生API。 API是基於相同的基礎服務平台的現有 OpenSL ES API的實現,因此開發人員可以使用這兩個 API,如果需要的話。將在即將發布的Andr​​oid NDK的一個低級別的多媒體流的支持工具。

新的攝像功能

開發人員可以利用各種新的攝像功能,在Android 4.0的優勢。 ZSL曝光,連續對焦和圖像縮放,讓應用程序更好地捕捉靜止和視頻圖像,包括在視頻拍攝。拍攝視頻的同時,應用程序甚至可以捕捉全分辨率快照。應用程序現在可以在相機預覽設置自定義測光區域,然後管理對這些區域的白平衡和曝光動態。為了更容易聚焦和圖像處理,人臉檢測服務標識和追踪在預覽的面孔,並返回他們的屏幕坐標。

轉化的圖像和視頻媒體的影響

一套高性能的轉型過濾器,讓開發適用於任何圖像通過 OpenGL ES 2.0的紋理豐富的效果。開發人員可以調整色彩層次和亮度,背景的變化,銳化,裁剪,旋轉,添加鏡頭失真,並適用於其他效果。變革是由GPU處理,所以他們處理從磁盤,攝像機或視頻流加載的圖像幀的速度不夠快。

音頻遠程控制

的Andr​​oid 4.0增加了一個新的音頻遠程控制API,讓媒體應用集成與一個遠程視圖中顯示的播放控制。媒體應用集成平台的鎖屏,內置音樂播放遠程控制,使用戶能夠控制和導航的音樂應用程序,而無需解鎖歌曲選擇和播放。

使用音頻遠程控制API,任何音樂或媒體應用程序可以註冊接收來自遙控器的媒體按鈕事件,然後管理相應地播放狀態。應用程序還可以提供元數據到遠程控制,如專輯封面或影像,播放狀態,曲目編號和描述,工期,體裁,多。

新的媒體編解碼器和容器

的Andr​​oid 4.0增加了額外的介質類型和容器,以使開發人員獲得他們所需要的格式的支持。對於高品質的壓縮圖像,框架傳媒將支持WebP內容。對於視頻,框架現在支持流VP8的內容。對於多媒體流,框架支持HTTP實時流協議第3版和ADTS中的AAC內容的編碼。此外,開發人員現在可以使用Vorbis和VP8的內容的Matroska容器。

新類型的連接

Wi – Fi的直接

開發人員可以使用一個框架API發現,並直接連接到超過一個高性能,安全的Wi – Fi直接連接附近的設備。沒有網絡連接或熱點是必要的。

Wi – Fi的直接為開發商打開了新的機遇,創新功能添加到他們的應用程序。應用程序可以使用Wi – Fi直接共享文件,照片,或一台台式電腦和Android的供電設備之間的設備之間或其他媒體。應用程序也可以使用Wi – Fi的直接流媒體內容從對端設備,如數字電視或音頻播放器,遊戲,打印文件,更連接的一組用戶。

藍牙醫療設備規範(HDP)

開發人員現在可以構建功能強大,使用藍牙與無線設備和傳感器,在醫院,健身中心,家庭,和其他地方通信的醫療應用。應用程序可以從 HDP源設備的收集和管理數據,並傳輸到後端的醫療應用,如記錄系統,數據分析服務,及其他。

使用框架API,應用程序可以使用藍牙發現附近設備,建立可靠的數據流渠道,並管理數據傳輸。應用程序可以提供任何IEEE 11073經理繼續認證的設備,如心率監視器,血液米,溫度計,和規模的健康數據檢索和解釋。

新的UI組件和功能

佈局增強

GridLayout的,一個新的佈局,提高支持扁平化視圖層次,更快的佈局和渲染的Andr​​oid應用程序的性能。由於層次扁平化,開發人員還可以管理,甚至當他們沒有邏輯關係,對應用程序的UI精確控制視覺相關的組件相互之間的路線。 GridLayout的也是專門設計的拖放式設計工具,如在ADT插件為 Eclipse配置。

OpenGL ES的質地意見

一個新的TextureView對象,讓開發人員直接集成OpenGL ES的紋理呈現在UI層次結構中的目標。該對象允許開發顯示和操作,就像他們會在層次結構中的正常的視圖對象,包括移動,轉換和動畫的看法,需要OpenGL ES的渲染。 TextureView對象,使得開發人員可以輕鬆嵌入到相機預覽,視頻解碼,OpenGL的遊戲場景,和。 TextureView可以被看作是一個更強大的版本的現有 SurfaceView對象,因為它提供了訪問到GL渲染表面的相同的好處,充分參與在普通視圖層次,表面的優勢。

硬件加速2D繪圖

所有Android平台的設備上運行的Andr​​oid 4.0支持硬件加速2D繪圖。開發人員可以利用這一優勢,同時保持高分辨率屏幕上的最佳性能,即使在手機上添加偉大的UI效果。例如,開發人員可以依靠加速縮放,旋轉,和其他2D操作,以及加速UI組件,如TextureView合成模式,如過濾,混合,和不透明。

新的輸入類型和文本服務

手寫輸入,支持按鈕,懸停事件

Android的4.0包括全力支持手寫輸入的事件,包括軸傾斜和距離,壓力,和相關的議案事件屬性。為了幫助應用程序區分不同來源的議案事件,該平台增加了手寫筆,手指,鼠標和橡皮擦,不同的刀具類型。多按鈕指點設備的改善投入,現在的平台提供不同的小學,中學,和大專院校的按鈕,以及前進和後退按鈕。懸停和懸停退出事件也增加了改進的導航和輔助功能,。開發人員可以構建上這些新的輸入功能添加到他們的應用程序,如精確的圖紙和手勢,筆跡和形狀識別,改進的鼠標輸入,和其他人,強大的交互。

文字服務 API集成拼寫檢查

Android的4.0讓應用程序的查詢提供文字服務,如字典和拼寫字的建議,更正,和類似的數據跳棋。文字服務的外部活動的IME,因此開發人員可以創建和發布平台字典和建議引擎插件。當應用程序接收從文字服務的結果 – 例如,字建議 – 它可以顯示在一個專門的建議,直接在文本視圖的彈出窗口,而不是依托,以顯示他們的IME。

增強的可訪問的API

Android的4.0增加了新的輔助功能和增強的API,讓開發人員提高在他們的應用程序的用戶體驗,特別是在沒有硬件按鈕的設備,。如屏幕閱讀器,尤其是無障礙服務,該平台提供了新的API來查詢窗口的內容,更方便的導航,更好的反饋,以及豐富的用戶界面。

Accessibility API的

為了讓應用程序管理的互動更加有效的輔助功能啟用時,該平台將探索觸摸模式,滾動和文本選擇的無障礙事件。對於這些和其他活動,該平台可以附加一個新的對象稱為一個輔助記錄,有關該事件的背景下提供額外的信息。

使用輔助記錄和相關的API,應用程序現在可以訪問視圖層次與事件關聯。應用程序可以查詢的關鍵屬性,如父節點和子節點,可用狀態,支持的行動,屏幕上的位置,多。應用程序還可以要求某些屬性的變化,以幫助管理的重點和選定的狀態。例如,一個輔助服務可以使用這些新功能,添加文本屏幕搜索等方便的特點。

文本到語音轉換 API

一個新的框架API允許開發人員編寫的文本到語音引擎,並提供給任何應用程序請求的TTS功能​​。

高效的網絡使用情況

在Android 4.0中,用戶可以看到其上運行的應用程序正在使用多少網絡數據。他們還可以設置網絡類型的數據使用的限制,為特定應用程序禁用背景數據使用。在此背景下,開發人員需要設計自己的應用程序,高效運行,請檢查網絡連接的最佳實踐。的Andr​​oid 4.0提供網絡 API,讓應用程序實現這些目標。

隨著用戶網絡之間或網絡數據設置限制移動平台讓應用程序的連接類型和可用性查詢。開發人員可以使用此信息來動態管理網絡的要求,確保為用戶提供最佳體驗。到他們的應用程序開發人員還可以建立自定義的網絡和數據使用選項,然後直接從設置公開給用戶一個新的系統意圖。

應用程序和內容的安全性

安全管理的憑據

Android的4.0使應用程序更容易管理認證和安全會話。鑰匙扣一個新的API和底層加密存儲讓應用程序存儲和檢索私鑰和其相應的證書鏈。任何應用程序可以使用鑰匙串API安裝和安全地存儲用戶證書和CA。

地址空間佈局隨機

的Andr​​oid 4.0現在提供的地址空間佈局隨機化(ASLR),以幫助保護系統和第三方應用程序的內存管理問題,由於剝削。

增強企業

VPN客戶端API

開發人員現在可以使用的一個新的VPN API及相關的安全證書存儲平台上建立或擴大自己的VPN解決方案。用戶權限,應用程序可以配置地址和路由規則,過程中傳出和傳入的數據包,並建立安全通道到一個遠程服務器。企業還可以利用內置訪問 L2TP和IPSec協議的平台,提供一個標準的VPN客戶端的優勢。

攝像頭的設備策略管理

該平台增加了一個新的政策調控,管理設備使用已安裝的設備策略管理器的管理員。現在,管理員可以遠程禁用相機上的敏感環境中工作的用戶管理設備。

Android
CH01 簡介篇CH02 開發設定CH03 Android 軟體評論CH04 UICH05Android studioCH09 資料庫databaseCH10 系統篇CH11 多執行序和時間 ThreadTimerCH29 APICH30 Android 技術文章CH50 Android IOIO