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:
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.
android.permission.USE_FINGERPRINTpermission now has "normal" protection level, so it is no longer necessary to request this permission directly from the user. The
USE_FINGERPRINTpermission 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_STORAGEpermission 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_STORAGEare members of the
CONTACTSpermissions group and others are removed or granted based on account type. In particular,
android.permission.AUTHENTICATE_ACCOUNTSare ungrouped pending further changes in a later release.
android.permission.CHANGE_WIFI_MULTICAST_STATEnow have protection level "normal".
android.permission.BLUETOOTH_ADMINnow have protection level "normal".
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.
android.app.AssistStructureclasses are moved into a new package,
View.OnStylusButtonPressListenerclass is renamed 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!