Oi Gans yang pada doyan oprek Androidnya, nih Google udah rilis Android M Developer Preview 2! Gw pengen deh cobain. Tapi ga punya device nya. Mungkin kalian di sini ada yang mau nyobain.
Berikut gw kasih Release Note nya:
Date: July 2015
Builds: MPZ79M (Nexus 5, 6, 9), MPZ79N (Nexus Player)
Hardware support: Nexus 5, 6, 9, Player
Emulator support: x86 & ARM 32/64-bit
Google Play services: 7.6
Android M Developer Preview 2 is an incremental update to the Android M preview platform that was originally released in May 2015. The update includes a variety of enhancements and bug fixes made across the system, including those related to issues reported by developers through the external issue tracker.
If you are currently developing or testing on Android M, you should update your environment to Developer Preview 2 as soon as possible. This ensures that you are building with the latest platform APIs and testing against the latest behaviors. If you are just getting started with the Android M Developer Preview SDK, follow the instructions in Set up the Preview SDK, then update your environment for Developer Preview 2.
Developer Preview 2 includes an updated SDK with system images, documentation, and samples for developing against the latest Android M platform.
- SDK platform and system images (Nexus and emulator) for building and testing. You can download the updated tools from the SDK Manager, and the system images are available by over-the-air (OTA) update or download (see below).
- Updated documentation. The Behavior Changes, API Overview, and Permissions documents have been updated to reflect the latest changes in the platform. An updated Developer Documentation download package is available, including full reference docs and API diff reports.
- Translations of the documentation are now available. Use the language selector at the bottom right corner of any page to switch languages. Note that some of the translated docs are not yet updated for Developer Preview 2 (coming soon).
- The Android M code samples are also updated to account for API and behavior changes:
- RuntimePermissions / RuntimePermissionsBasic are updated to reflect latest permissions API changes, including
- FingerprintDialog adds a flow to ask for passwords when new fingerprints are added as well as a preference if the app will use fingerprints as a method of authentication.
- Permissions changes
android.permission.USE_FINGERPRINT permission now has "normal" protection level, so it is no longer necessary to request this permission directly from the user. The
USE_FINGERPRINT permission enables fingerprints to be enabled for authentication, but does not give the requesting app access to the enrollment/fingerprint administration flow.
android.permission.WRITE_EXTERNAL_STORAGE permission has protection level "dangerous", meaning that apps wanting to write to external storage will need to request permission from the user at runtime. Both
WRITE_EXTERNAL_STORAGE are members of the
- Remote Bluetooth/Wi-Fi MAC's now require either the
- Some accounts and identity permissions are moved to
CONTACTS permissions group and others are removed or granted based on account type. In particular,
android.permission.AUTHENTICATE_ACCOUNTS are ungrouped pending further changes in a later release.
- The Wi-Fi permissions
android.permission.CHANGE_WIFI_MULTICAST_STATEnow have protection level "normal".
- The Bluetooth permissions
android.permission.BLUETOOTH_ADMIN now have protection level "normal".
- Bookmarks and subscribed feeds permissions are removed.
- Apps included in the system image are no longer granted dangerous permissions automatically. All apps should check for and request permissions at runtime.
- Introduces the utility method
Activity.shouldShowRequestPermissionRationale(String), which lets your app see whether users have previously rejected a permission request. This lets you know that your app should explain the the user why it needs that permission. For more information see the Permissions developer guide.
- Other changes
android.app.AssistStructure classes are moved into a new package,
- Bluetooth Stylus APIs are updated and include new callback events. The
View.OnStylusButtonPressListener class is renamed to
GestureDetector.OnStylusButtonPressListener class to
For a complete list of changes, including renamed and removed APIs, please refer to the API Diff Reports included in the Developer Documentation download package.
Selamat mencoba ya!