Last edited by liru on 2014-11-13 06:10 Android Lollipop Material design Android 5.0brings Material design to Android and gives you an expanded UI toolkit forintegrating the new design patterns easily in your apps. New 3D views let you set az-level to raise elements off of the view hierarchy and cast realtime shadows, even as theymove. Built-in activity transitions take the userseamlessly from one state to another with beautiful, animated motion. Thematerial theme adds transitions for your activities, including the ability touse shared visual elements acrossactivities. Android 5.0introduces platform support for 64-bit architectures—used by the Nexus 9's NVIDIA Tegra K1. Optimizationsprovide larger address space and improved performance for certain computeworkloads. Apps written in the Java language run as 64-bit appsautomatically—no modifications are needed.
Notifications Notifications inAndroid 5.0 are more visible, accessible, and configurable. Varyingnotification details may appear on the lock screen if desired by the user. Users may elect to allow none,some, or all notification content to be shown on a secure lock screen. Key notificationalerts such as incoming calls appear in aheads-up notification—a small floating window that allows theuser to respond or dismiss without leaving the current app. You can now add new metadata to notificationsto collect associated contacts (for ranking), category, and priority. A new medianotification template provides consistent media controls for notifications withup to 6 action buttons, including custom controls such as "thumbsup"—no more need for RemoteViews!
Your apps on thebig screen Android TV provides a complete TV platform for your app's big screenexperience. Android TV is centered around a simplified home screen experiencethat allows users to discover content easily, with personalized recommendationsand voice search. With Android TVyou can now createbig, bold experiences for your app or game content and support interactionswith game controllers and other input devices. To help you build cinematic,10-foot UIs for television, Android provides aleanback UI framework in the v17 support library. The Android TV Input Framework (TIF) allows TVapps to handle video streams from sources such as HDMI inputs, TV tuners, andIPTV receivers. It also enables live TV search and recommendations via metadatapublished by the TV Input and includes an HDMI-CEC Control Service to handlemultiple devices with a single remote.
Document-centric apps Android 5.0introduces a redesigned Overview space (formerly called Recents) that’s moreversatile and useful for multitasking. New APIs allowyou to show separate activities in your app as individual documents alongsideother recent screens. You can takeadvantage of concurrent documents to provide users instant access to more ofyour content or services. For example, you might use concurrent documents torepresent files in a productivity app, player matches in a game, or chats in amessaging app.
Advanced connectivity Android 5.0 addsnew APIs that allow apps to perform concurrent operations with Bluetooth Low Energy (BLE), allowingboth scanning (central mode) and advertising (peripheral mode). New multi-networking features allowapps to query available networks for available features such as whether theyare Wi-Fi, cellular, metered, or provide certain network features. Then the appcan request a connection and respond to connectivity loss or other networkchanges. NFC APIs now allow apps to register an NFC application ID(AID) dynamically. They can also set the preferred card emulation service peractive service and create an NDEF record containing UTF-8 text data.
High-performance graphics Support for KhronosOpenGL ES 3.1 now provides games and other apps the highest-performance2D and 3D graphics capabilities on supported devices. OpenGL ES 3.1adds compute shaders, stencil textures, accelerated visual effects, highquality ETC2/EAC texture compression, advanced texture rendering, standardizedtexture size and render-buffer formats, and more. Android 5.0 alsointroduces the AndroidExtension Pack (AEP), a set of OpenGL ES extensions that give you accessto features like tessellation shaders, geometry shaders, ASTC texturecompression, per-sample interpolation and shading, and other advanced renderingcapabilities. With AEP you can deliver high-performance graphics across a rangeof GPUs.
More powerful audio A newaudio-capture design offers low-latencyaudio input. The new design includes: a fast capture thread thatnever blocks except during a read; fast track capture clients at native samplerate, channel count, and bit depth; and normal capture clients offerresampling, up/down channel mix, and up/down bit depth. Multi-channel audio stream mixing allowsprofessional audio apps to mix up to eight channels including 5.1 and 7.1channels. Apps can exposetheir media content and browsemedia from other apps, then request playback. Content isexposed through a queryable interface and does not need to reside on thedevice. Apps havefiner-grain control over text-to-speechsynthesis through voice profiles that are associated with specificlocales, quality and latency rating. New APIs also improve support forsynthesis error checking, network synthesis, language discovery, and networkfallback. Android nowincludes support for standard USBaudio peripherals, allowing users to connect USB headsets,speakers, microphones, or other high performance digital peripherals. Android5.0 also adds support for Opus audio codecs. New MediaSession APIs for controlling media playback now make it easier toprovide consistent media controls across screens and other controllers.
Enhanced camera& video Android 5.0introduces all newcamera APIs that let you capture raw formats such as YUV and BayerRAW, and control parameters such as exposure time, ISO sensitivity, and frameduration on a per-frame basis. The new fully-synchronized camera pipelineallows you to capture uncompressed full-resolution YUV images at 30 FPS onsupported devices. Along withimages, you can also capture metadata like noise models and optical informationfrom the camera. Apps sendingvideo streams over the network can now take advantage of H.265 High Efficiency Video Coding(HEVC) for optimized encoding and decoding of video data. Android 5.0 alsoadds support for multimediatunneling to provide the best experience for ultra-high definition(4K) content and the ability to play compressed audio and video data together.
Android in the work place To enablebring-your-own-device for enterprise environments, a new managed provisioning process creates a secure work profile on thedevice. In the launcher, apps are shown with a Work badge to indicate that theapp and its data are administered inside of the work profile by an ITadministrator. Notificationsfor both the personal and work profile are visible in a unified view. The datafor each profile is always kept separate and secure from each other, includingwhen the same app is used by both profiles. Forcompany-owned devices, IT administrators can start with a new device andconfigure it with a device owner.Employers can issue these devices with a device owner app already installedthat can configure global device settings. Screen capturingand sharing Android 5.0 letsyou add screen capturing and screen sharing capabilities to your app. With userpermission, you can capture non-secure video from the display and deliver itover the network if you choose.
New types ofsensors In Android 5.0,a new tiltdetector sensor helps improve activity recognition on supporteddevices, and a heartrate sensorreports the heart rate of the person touching the device. New interaction composite sensors are nowavailable to detect special interactions such as a wake up gesture, a pick upgesture, and a glance gesture.
Chromium Web View The initialrelease for Android 5.0 includes a version of Chromium for WebView based on the Chromium M37 release, adding support for WebRTC, WebAudio, and WebGL. Chromium M37also includes native support for all of the Web Componentsspecifications: Custom Elements, ShadowDOM, HTML Imports, and Templates. This means you can use Polymer and its material design elements in a WebView without needing polyfills. Although WebViewhas been based on Chromium since Android 4.4, the Chromium layer is nowupdatable from Google Play. As new versionsof Chromium become available, users can update from Google Play to ensure theyget the latest enhancements and bug fixes for WebView, providing the latest webAPIs and bug fixes for apps using WebView on Android 5.0 and higher.
Accessibility& input Newaccessibility APIs can retrieve detailed information about the properties ofwindows on the screen that sighted users can interact with and define standardor customized input actions for UI elements. New Input methodeditor (IME) APIs enable faster switching to other IMEs directly from the inputmethod.
Tools forbuilding battery-efficient apps New job scheduling APIs allow youoptimize battery life by deferring jobs for the system to run at a later timeor under specified conditions, such as when the device is charging or connectedto Wi-Fi. A new dumpsysbatterystats commandgenerates batteryusage statistics that you can use to understand system-wide power use andunderstand the impact of your app on the device battery. You can look at ahistory of power events, approximate power use per UID and system component,and more.
|