Summary of new features of Android 6.0 (cotton candy), Android 6.0
Summary of new features of Android 6.0 (cotton candy)
Android has many new features and new features, and Android6.0 (API level 23) has many changes in the system and API.
1. App Permissions (software permission management) in Android 6.0, the App license prompt can be customized. It allows high management of application permissions, such as whether the application can use the location, camera, microphone, and address book, which can be opened to developers and users. As a developer, when the target version of your app is Android6.0 (API 23) or higher, make sure that you perform permission checks and requests at runtime. The new method checkSelfPermission () can be used to determine whether your application has been granted permissions, while requestPermissions () can request permissions. Even if the target version of your app is earlier than Android, you should test your application in the new permission management model.
2. chrome Custom Tabs (improved web page experience) the new version of M improves Chrome's web page browsing experience, it optimizes the security of website login, Password Storage, Automatic completion of information, and multi-thread web browsing. The Android. provider. Browser. getAllBookmarks () and android. provider. Browser. saveBookmark () methods are removed, and the same READ_HISTORY_BOOKMARKS and WRITE_HISTORY_BOOKMARKS permissions are also removed. If the target version of your app is android6.0 or later, do not access the global provider to obtain the bookmarks. Instead, save the bookmarks inside the application.
3. app Links (APP Association) Android 6.0 strengthens the association between software. Google showed an example at the site. For example, if you receive an email from your mobile phone mailbox, there is a Twitter link in the text. You can click this link to directly jump to the Twitter application, instead of a webpage.
4. Android Pay (Android payment) is a unified standard for Android payment. The new Android 6.0 system integrates Android Pay, which features simplicity, security, and optionality. Android Pay is an open platform that allows users to use Google services or bank apps. Android Pay supports system devices after 4.4, at the press conference, Google announced that Android Pay had reached cooperation with more than 700 stores of three major U.S. carriers. The payment feature can use fingerprints for payment, which means that this year's Android M-based Nexus product will certainly have fingerprint recognition.
5. fingerprint Support (Fingerprint Support) Android 6.0 added the Fingerprint recognition API. Google began to build its own official Fingerprint Recognition Support in M and strive for a unified Android solution, currently, fingerprint recognition for all Android products uses non-Google-certified technologies and interfaces. New feature 6: Power & Change (Power Management) the new Power management module will be more intelligent. For example, when the Android tablet does not move for a long time, the Android 6.0M system will automatically shut down some apps. At the same time, Android 6.0 supports the USB Type-C interface, and the new power management will better support the Type-C interface.
6. Sleep and application Standby mode (Doze and App Standby)
This release introduced a new power-saving optimization solution that works when devices and applications are idle. This feature affects all applications. Make sure that you test the feature properly.
Doze: After the phone has no external power and is placed on the screen for a period of time, the device enters sleep mode and the system enters sleep state ). In this mode, the device periodically restores normal operations for a short time so that the application can be synchronized, and the system performs some necessary operations.
App Standby: if you are not using an application, this mode allows the system to determine that the application is idle. The system determines that the user does not click this application for a certain period of time (mainly based on the frontend process ). If the device is not connected to the charger at this time, the system will disable the network connection, synchronization and task scheduling of the application.
Understanding