Android 5.0 new features

Source: Internet
Author: User
Tags home screen

Android Lollipop Key Features for developers
    • Material Design
    • Focus on performance
    • Notice
    • Present on a large screen
    • Document-centric
    • Connection performance up to a second level
    • High-performance graphics
    • Enhanced audio processing capabilities
    • Camera and video processing further improved
    • The application of Android in office
    • Screens and sharing
    • New sensor
    • Chromium WebView
    • Accessibility and input
    • Building Low power consumption applications

Welcome to Android 5.0 Lollipop, which is by far the largest and most ambitious Android version available!

This release introduces new features to the user and provides thousands of new APIs for developers. Not only that, it extends Android's territory further, from mobile phones, tablets and wearable devices, to televisions and cars, to its active territory.

For a closer look at the new API for developers, see the Android 5.0 API Overview. For more Android 5.0 content for consumers to read, please visit www.android.com.

To test your app on an actual device, use
ANDROID Preview System Image to Nexus 5 or Nexus 7 brush machine.

Material Design

Android 5.0 introduces the Material design into the Android system, which comes with an Extended interface toolkit that allows you to easily integrate new design patterns into your application.

In the new 3D view , you can set the z-axis to "station" the element from the view level and even cast a real-time shadow as the element moves.

The built-in Activity transitions API seamlessly enables users to switch from one state to another with graceful animations. The footage theme provides a variety of transitions for your activities, including the ability to use shared visual elements in each activity.

to replay your movie, click the device screen

You can animate buttons, check boxes, and other touch controls in your app.

You can also define moving vectors in an XML file to show a variety of different animation effects. The vector graph is free to scale without distortion and is ideal for use as a solid color icon in your app.

Renderthread is a newly introduced system-managed render thread that keeps the animation running smoothly even if the main interface thread is delayed.

Focus on performance

Android 5.0 provides users with a faster, smoother, and more powerful computing experience.

Android is now fully operational on the newly built ART runtime , supporting a mix of precompiled (AOT), instant-compile (JIT), and compiled code. It works well on ARM, x86, and MIPS architectures and is fully 64-bit compatible.

ART improves application performance and responsiveness. It uses efficient garbage collection, reduces the number of garbage collection events and pauses time, and fits with vertical sync windows, so your app doesn't drop frames. ART also dynamically moves memory to optimize memory for foreground usage.

Android 5.0 introduces platform support for 64-bit architectures (NVIDIA Tegra K1 that have been applied to Nexus 9), optimized to provide greater addressing space, and improved performance for specific compute workloads. Apps written in Java are automatically run as 64-bit apps without any modification. If your app uses native code, don't worry. We have expanded the NDK to support the new ABI for ARM V8, x86-64 and MIPS-64.

Android has always focused on achieving smoother performance and improved audio/video syncing in 5.0. Audio and graphics pipelines are tuned to make time stamps more accurate, so video apps and games can show smooth syncing content.

Notice

In Android 5.0, users can more easily view, use, and configure notifications.

Users can display different notification details on the lock screen as needed, for example, they can choose to show no notifications at all on the security lock screen, or they can choose to display some or all of the notifications.

Important notification alerts such as incoming calls are displayed in a floating notification , which is a small window floating above that allows the user to respond or turn off notifications without exiting the current app.

You can now collect related contacts (for ratings), categories, and priorities in notifications with new metadata .

Built-in new media notification template can set up to 6 control buttons (including "thumb" and other custom controls), to notify the way to achieve consistent media control, no longer need to remoteviews!

Present on a large screen

Android TV creates a complete TV platform that lets your app gallop on the big screen. It is centered on a clean home screen experience and offers personalized recommendations and voice search capabilities that make it easy for customers to discover content.

With Android TV, you can now create a grand and engaging atmosphere for your app or game content, and support interacting with game controllers and other input devices. Android also provides a Leanback interface framework in the V17 support library to help you build a TV interface that you can watch at 10 feet, giving users a sense of what it's like to see a movie.

Android TV Input Frame (TIF) enables TV applications to process video streams from HDMI inputs, TV tuners, IPTV receivers, and more. It also supports live TV search and recommendation features via the TV input framework, and the built-in HDMI-CEC control service allows users to manipulate multiple devices through a single remote control.

The TV input frame allows you to extensively use a large number of live TV input sources and summarize them in one interface for users to browse, view, and enjoy content. If you build a TV input service for your content, users will be able to see it more conveniently on your TV device.

Document-centric

Android 5.0 introduces a redesigned "overview" Space (formerly known as "recent events") that is more powerful and versatile in multitasking.

The new API lets the active avatar in the app become a standalone document, showing alongside other recently active screens,

This allows you to take advantage of parallel documents to give users instant access to more of your content or services. For example, you can use a parallel document to show files in a work-in-action app, players in the game, or instant messaging app chats.

Higher connection Performance

Android 5.0 's new open API allows applications to operate in parallel with low power Bluetooth (BLE) scanning (internal mode) and advertising (peripheral mode).

The new multi-networking feature allows applications to query available networks to find available features, such as whether they are Wi-Fi networks, cellular networks, or unlimited traffic networks, and if they provide specific network functionality. The app can then request networking and respond when the connection disconnects or other network changes occur.

NFC The API now allows apps to dynamically register an NFC app ID (AID). They can also set the preferred card emulation service and create NDEF records (with UTF-8 text data) based on the services in the active state.

High-performance graphics

Khronos OpenGL ES 3.1is now supported, so you can use the highest performance 2D and 3D graphics capabilities for games and other applications on supported devices.

OpenGL ES 3.1 adds features such as compute shaders, stencil textures, accelerated visuals, premium ETC2/EAC texture compression, advanced texture rendering, standardized texture sizes, and render buffer formats.

The Knight Duel, developed by Gameloft, uses the ASTC in AEP (adaptive scalable Texture compression) and the compute shader in ES 3.1, not only to create HDR (High dynamic Range) floodlight effects, but also to make the graphics details clearer.

Android 5.0 also introduces the Android extension Package (AEP), a set of OpenGL ES extensions that let you use the mosaic pattern shader, Geometry shader, ASTC texture compression, insert and tint by sample, and other advanced rendering features. With AEP, you can use high-performance graphics with a range of GPUs.

Enhanced audio processing capabilities

Features a new audio capture design that provides low-latency audio input . In this design, the fast audio capture thread is never blocked as long as it is not read, the high-speed client uses local sampling frequency, channel number and bit depth, and the normal client has the feature of resampling, upper/downstream channel blending, and upper/lower depth.

With multi-channel audio streaming , professional audio applications can mix up to eight channels, including 5.1 and 7.1 channels.

Apps can now expose their media content, Browse other apps ' media , and request playback. The content is exposed through an interface with query functionality and does not need to reside on the device.

Apps can precisely control the composition from text to Speech with voice profiles that are associated with specific locales, quality, and latency ratings. The new API also enhances support for synthetic error checking, network compositing, language search, and network fallback.

Android now supports standard USB audio peripherals, so users can connect USB headsets, speakers, microphones, and other high-performance digital peripherals. Android 5.0 is also supported by Opus Audio codec.

The newly opened mediasessionAPI in the field of media playback controls enables consistent media control between different screens and different controllers.

Camera and video processing further improved

Android 5.0 introduces a new camera APIthat allows you to take pictures in raw formats such as YUV and Bayer raw, and control exposure time, ISO sensitivity, and frame duration for each individual frame. The new fully synced camera pipeline allows you to capture uncompressed full-resolution YUV images on supported devices at a rate of 30 frames per second.

In addition to pictures, you can capture metadata, such as noise models and optical information, through the camera.

Video If you are sending a video stream over a network, you can now use h.265 efficient video encoding (HEVC) for optimal encoding and decoding of video data.

Android 5.0 also supports Multimedia tunneling to provide the best experience for ultra-high definition (4K) content, and the ability to play compressed audio and video data together.

Users can view their personal and work apps in a consistent way, with tags that can be easily identified.

Android in the Workplace

In order to implement a self-contained device in an enterprise environment, developers can create a secure work profile on the device with a new managed configuration process. In the launcher, if the app has a work tag, it means that the app and its data are managed by the IT administrator within the work profile.

Notifications for personal profiles and work profiles are displayed in one unified view. Data for each profile is always separated from each other, even when two profiles use the same app.

For company-owned devices, IT administrators can start processing and configure new devices through the device owner. Employers can release these devices for device owner apps that have installed and can configure global device settings.

Screens and sharing

Android 5.0 allows you to use screen capture and screen sharing features in your app.

As long as you have user rights, you can capture non-secure video from the display and choose to send it over the network.

New sensor

In Android 5.0, the new tilt Detection sensor can help improve recognition of activity on supported devices, and the heart rate sensor can report the heart rate of the person touching the device.

New Interactive composite sensors can now be used to detect special interactions, such as wake gestures,pick gestures, and peek gestures.

Chromium WebView

The initial version of Android 5.0 includes a Chromium version for WebView, which is based on the Chromium M37 version and adds to WebRTC,webaudio , and webgl The support.

Chromium M37 also includes native support for all Web Component Specifications: Custom elements, Shadow DOM, HTML Import, and templates. In other words, you can use polymer and its material design elements in WebView without polyfills.

Although WebView has been based on Chromium since Android 4.4, it is now possible to update the Chromium layer from Google Play.

When a new version of Chromium is available, users can update from Google Play to ensure the latest enhancements and bug fixes for WebView to provide the latest Web API for apps that use WebView on Android 5.0 and later and bug fixes.

Accessibility and input

The new accessibility API retrieves the details of the properties of the window on the screen (visible to ordinary users and interacts with it), and can define standard or custom input actions for interface elements.

The new Input Method Editor (IME) API supports faster direct switching from IME to other IMEs.

Can build low power consumption applications

The new job scheduling API enables you to defer system jobs to late or specific situations (for example, if the device is charging or connected to Wi-Fi), thereby maximizing battery life.

The new dumpsys batterystats command generates power consumption statistics to help you understand how the entire system is powered and how the application affects the device's battery. You can view the history of power events, the approximate power consumption per UID and system components, and so on.

Battery Historian is a new tool that can dumpsys batterystats turn statistical information into intuitive information for easy commissioning of batteries. The tool is located in Https://github.com/google/battery-historian.

Android 5.0 new features

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.