The second beta of Android 12 primarily introduces additional privacy protection functions that Google had already largely announced as part of Google I / O. Access to the camera, microphone and clipboard is more transparent for end users. Developers can find some new APIs for this.
The roadmap until the final release of Android 12 remains unchanged: Another regular beta version is due in July, and platform stability should be achieved in August. From the developer’s point of view, this means that the SDK (Software Development Kit) and NDK (Native Development Kit) have been finalized. The same applies to the behavior of the operating system towards the apps.
Insight into the behavior of the apps
Beta 2 comes with the privacy dashboard, which gives an insight into which apps have accessed the camera, microphone or location when. About the new system Intent
ACTION_VIEW_PERMISSION_USAGE_FOR_PERIOD Developers can specify why the app requested access. The information provided about this can be called up from the dashboard. Details on using the system intent can be found in the documentation on the innovations.
The indicators showing access to the camera or microphone through an app are also included in the current beta. Users can also use the Quick Settings to see which apps are using the integrated devices. Anyone developing apps should only request access to the camera or microphone when it is actually necessary.
Click and away
The Android interface now offers so-called Quick Settings toggles to prevent apps from accessing the camera and microphone. In this case, the applications do not receive an error message, but an empty feed. Developers can use the new API
SensorPrivacyManager query whether the toggles are available on the respective device.
In addition to the camera and microphone, the clipboard is also the focus of the transparency campaign. Android 12 indicates when an app has content over
getPrimaryClip queries. However, there is no display if the application accesses its own content in the clipboard.
Am i in there yet?
In line with the new interface presented in Beta 1, the second Android beta introduces an Internet panel that is supposed to provide a better overview of the connections and offers quick settings for access to, among other things, the connection to different Internet providers.
Further details can be found dem Android-Developer-Blog remove. A separate page shows which devices beyond Google’s pixel smartphones Beta 2 is available for. As usual, developers can test the latest version with the Android emulator at. After all, the beta is too for Android TV available.
The upcoming Android version has been available for developers since February. After three developer previews, the first beta version was released as part of Google I / O, which is also aimed at end users.
The most important new features for the release expected in the autumn concern above all the user interface and the management of privacy.
- With Beta 1, Google presented the completely redesigned Android design in May. The design concept with the title Material You no longer relies on fixed colors, but allows dynamic changes that adapt to the time of day, for example. The concept will later find its way into Chrome OS and Wear OS. Another focus is the extended interaction with other devices in the smart home, the car or devices with Chrome OS.
- The Developer Preview 3 in April focused primarily on the user experience. Developers can adapt the animations when apps are started and notifications for incoming messages. You can also set a standard browser for web links. New haptic effects are aimed primarily at game development.
- Previously, the second Developer Preview in March introduced an API to implement apps on devices with rounded corners. They also brought color filters and blur effects that directly affect one
ImageViewlet apply. In addition, the preview expanded the handling of notifications on the lock screen and introduced app approval for system alerts.
- In February, Developer Preview 1 provided a first glimpse into Android 12, which already had the first functions for privacy on board, including restricted access to fixed IDs and functions to prevent apps from accidentally exporting activities or services. In addition, Android 12 knows the graphic format AVIF and audio output of MPEG-H-encoded content.