
Android developers have something new to play with right now. The Android M Developer Preview 2 is now available for download. If you already installed the first one, then you can wait for just a few days and Google will send you this update OTA. Otherwise, feel free to download and try it out, if you are so inclined. Here's a breakdown of what Android M Dev Preview 2 brings to the table:
- Modifications to platform permissions including external storage, Wi-Fi & Bluetooth location, and changes to contacts/identity permissions. Device connections through the USB port are now set to charge-only mode by default. To access the device, users must explicitly grant permission.
- API Changes:
- Updated Bluetooth Stylus APIs with updated callback events. View.onContextClickListener and GestureDetector.OnContextClickListener to listen for stylus button presses and to perform secondary actions.
- Updated Media API with new callback InputDevice.hasMicrophone() method for determining if a device microphone exists.
- Fixes for developer-reported issues:
- TextInputLayout doesn’t set hint for embedded EditText. (fixed issue)
- Camera Permission issue with Legacy Apps (fixed issue)