Android 7.0 brings the

Source: Internet
Author: User
Tags api manual

What Android 7.0 brings to the developer

The new Andorid N (Andorid 7.0) Preview is released, but the new Android preview requires us to test almost everything on existing apps, including different screen sizes, network link technology, CPU/GPU chips, and hardware architectures. As a andorid developer, we care about the Andorid 7.0 that brings us the updated SDK and tools, and the following is what is collected on the Android website.

SDK Tools

Andorid 7.0 brings us the new SDK, which we can download in Android Studio, with the following content:
-Android N Developer Preview SDK and tools
-Android N Developer Preview emulator system Image (32-bit & 64-bit)
-Android N Developer Preview emulator system Image for Android TV (32-bit)
-Android N Developer Preview Support libraries (for new app templates)
When there are milestone changes, Google will update these development tools in a timely manner.

Hardware and Emulator mirroring

The Andorid 7.0 Developer Preview includes a Nexus hardware mirroring system that can be tested and developed on physical devices.
Google occasionally updates the system image, we can update the system according to their own circumstances.

Note: Last year's preview version of manual brush will not get OTA upgrade package this year, we are able to acquire the OTA upgrade package by registering the device to Android Beta program.

Documentation and sample Code

The following resources are on the developer Preview site to help you understand Android N:

    • Documentation for the new API, including API overview, downloadable API manuals, detailed developer guides, detailed developer guide, and other key features.
    • The instance code demonstrates how to support permissions and other new features.
    • The release notes for the current release contain all changes and differential reporting.
API Reference Manuals

In the early preview version update, you can download the latest standalone Android N Platform API Manual zip archive. The API manual also includes a diff report to help identify updates from API 23 to API preview.

When Android N final API and official API level assignment is determined, you can access the online API manual: Https://developer.android.com.

New behavioral and functional change performance changes

Android n contains system behavior changes designed to improve the device's battery life, memory usage, and application performance.

    • Doze in Android 7.0, Google has more optimizations for Doze, and the use of hibernation rules and scenarios has been extended:
    • Project slimming: Background optimizer, Android N removes three implicit broadcasts in order to help optimize memory usage and power consumption.
Change in Permissions

Android N Change Rights Management, which may affect your app, including new user account permissions and permissions written to external storage.

    • Get_accounts (Deprecated), get_accounts permissions are now enabled, Android n directly ignores this permission.
    • Action_open_external_directory (New), which is a permission for storage customization, applications can use intent action_open_external_directory to request the system to create a directory for the app to use.
Auxiliary Group Enhancement

Android n This change is designed to improve the usability of the platform for myopic and visually impaired users.
-screen Zoom, Android n allows the user to set the display size, zoom in or out on all elements on the screen, thereby improving the accessibility of those low vision users to the device.
-Visual settings in the Setup Wizard, Android n includes graphical settings on the Welcome screen, which allows users to set the following features on the new device: enlarged gestures, font size, display size and dialogue.

NDK App Link Platform Library

Changes in the namespace of Android n prevent the loading of non-public APIs. If you use the NDK, you can only use the public API of the Android platform. Using a non-public API in the future to officially release the Android version may cause the application to crash.

Android for work

Android N application changes include Android for work, including change certificate installation, password reset, level two user management, and access to device identifiers. If you are building a working environment for an Android application, you should review these changes and modify the appropriate application.

Note: Android for work is a new Google solution designed to increase the attractiveness of Android smartphones to businesses.

Other important stems
    • When the target API is running below N, when the user modifies the screen size, the app's process is killed by the system.
    • Android n apps need to be able to gracefully handle configuration changes and should not be blown up in the subsequent boot.

Detailed behavior changes time to write a special article.

How to start testing on Android N

The following steps teach you how to start testing your app on Android N:

    1. Review the API overview and behavioral changes to learn about new features and how it affects your applications. In particular, learn about the new notifications feature and multi-window support.
    2. Follow the instructions to set up your development environment and set up a preview SDK and configuration to test your device.
    3. Follow the brush machine instructions to your device brush machine.
    4. Look at the API reference and Android n code samples to get more insight into the new API features and how to use them in your application.
    5. Join the Android N developer community to get the latest news and talk to other developers about using the new platform.
Android N Update Schedule


n the developer Preview version is scheduled to be released in the third quarter of 2016, starting March 9, 2016, until the last Android N is publicly released AOSP and OEMs versions.
At the milestone of development, Google sends updates to development tools and test environments, usually with an update every 4-6 weeks, with a list of important updates:

Preview 1 (initial release, Alpha)
Preview 2 (incremental update, beta)
Preview 3 (incremental update, beta)
Preview 4 (Final APIs and official SDK, Play Publishing)
Preview 5 (near-final system images for final testing)
Final version Aosp (Android Open Source Project) and ecosystem.

Feedback and Support

If you are testing and developing on Android N Preview, use these channel reports and feedback questions.

      • N Developer Preview Issue Tracker is the main feedback channel through which you can report bugs, performance issues, and general issues. It is also possible to obtain a known problem and find a temporary solution.
      • Another Android N developer community is a Google + community that can communicate with other developers there.
        Google will prioritize developer-reported issues in the first few weeks, so it will test and provide feedback as soon as possible.

Android 7.0 brings the

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.