Posted by Dave Burke, VP of Engineering
Just some weeks in the past at Google I/O we unwrapped the primary beta of Android 12, specializing in a brand new UI that adapts to you, improved efficiency, and privateness and safety on the core. For builders, Android 12 offers you higher instruments to construct pleasant experiences for individuals on telephones, laptops, tablets, wearables, TVs, and automobiles.
At present we’re releasing the second Beta of Android 12 so that you can strive. Beta 2 provides new privateness options just like the Privateness Dashboard and continues our work of refining the discharge.
Finish-to-end there’s quite a bit for builders in Android 12 – from the redesigned UI and app widgets, to wealthy haptics, improved video and picture high quality, privateness options like approximate location, and far more. For a fast take a look at associated Google I/O periods, see Android 12 at Google I/O later within the put up.
You may get Beta 2 immediately in your Pixel machine by enrolling here for over-the-air updates, and for those who beforehand enrolled for Beta 1, you’ll mechanically get immediately’s replace. You can too get Android 12 Beta 2 on choose units from a few of our device-maker companions like Sharp. Study extra at android.com/beta.
Go to the Android 12 developer site for particulars on easy methods to get began.
What’s new in Beta 2?
Beta 2 contains a number of of the brand new privateness options we talked about at Google I/O, in addition to numerous function updates to enhance performance, stability, and efficiency. Listed here are just a few highlights.
Privateness Dashboard – We’ve added a Privateness Dashboard to provide customers higher visibility over the information that apps are accessing. The dashboard provides a easy and clear timeline view of all latest app accesses to microphone, digital camera, and placement. Customers may also request particulars from an app on why it has accessed delicate knowledge, and builders can present this info in an exercise by dealing with a brand new system intent, ACTION_VIEW_PERMISSION_USAGE_FOR_PERIOD. We advocate that apps make the most of this intent to proactively assist customers perceive accesses within the given time interval. That will help you observe these accesses in your code and any third-party libraries, we advocate utilizing the Knowledge Auditing APIs. More here.
Privateness dashboard and placement entry timeline.
Mic and digital camera indicators – We’ve added indicators to the standing bar to let customers know when apps are utilizing the machine digital camera or microphone. Customers can go to Fast Settings to see which apps are accessing their digital camera or microphone knowledge and handle permissions if wanted. For builders, we advocate reviewing your app’s makes use of of the microphone and digital camera and eradicating any that customers wouldn’t count on. More here.
Microphone & digital camera toggles – We’ve added Fast Settings toggles on supported units that make it straightforward for customers to immediately disable app entry to the microphone and digital camera. When the toggles are turned off, an app accessing these sensors will obtain clean digital camera and audio feeds, and the system handles notifying the consumer to allow entry to make use of the app’s options. Builders can use a brand new API,
SensorPrivacyManager, to examine whether or not toggles are supported on the machine. The microphone and digital camera controls apply to all apps no matter their platform concentrating on. More here.
Clipboard learn notification – To provide customers extra transparency on when apps are studying from the clipboard, Android 12 now shows a toast on the backside of the display screen every time an app calls
getPrimaryClip(). Android received’t present the toast if the clipboard was copied from the identical app. We advocate minimizing your app’s reads from the clipboard, and ensuring that you simply solely entry the clipboard when will probably be anticipated by customers. More here.
Extra intuitive connectivity expertise – To assist customers perceive and handle their community connections higher, we’re introducing an easier and extra intuitive connectivity expertise throughout the Standing Bar, Fast Settings, and Settings. The brand new Web Panel helps customers change between their Web suppliers and troubleshoot community connectivity points extra simply. Tell us what you suppose!
New Web controls by way of Fast Settings.
Go to the Android 12 developer site to be taught extra about all the new options in Android 12.
Android 12 at Google I/O
At Google I/O we talked about the whole lot that’s new in Android for builders – from Android 12 to Fashionable Android Improvement instruments, new kind components like Put on and foldables, and Google Play. Listed here are the highest 3 issues to learn about Android 12 at Google I/O.
#1 A brand new UI for Android – Android 12 brings the most important design change in Android’s historical past. We rethought the whole expertise, from the colours to the shapes, gentle and movement, making Android 12 extra expressive, dynamic, and private, underneath a single design language referred to as Materials You.
#2 Efficiency – With Android 12, we made vital and deep investments in efficiency, from foundational system efficiency and battery life to foreground service adjustments, media high quality and efficiency, and new instruments to optimize apps.
#3 Privateness and safety – In Android 12 we’re persevering with to provide customers extra transparency and management whereas conserving their units and knowledge safe.
For an outline of Android 12 for builders, watch this 12 months’s What’s new in Android speak, and take a look at Top 12 tips to get ready for Android 12 for an outline of the place to check your app for compatibility. The complete checklist of Android content material at Google I/O is here.
With extra early-adopter customers and builders getting Android 12 beta on Pixel and other devices, now could be the time to ensure your apps are prepared!
To check your app for compatibility, set up the printed model from Google Play or different supply onto a tool or emulator operating Android 12 Beta. Work by way of all the app’s flows and look ahead to practical or UI points. Assessment the behavior changes to focus your testing. There’s no want to alter your app’s
targetSdkVersion presently, so once you’ve resolved any points, publish an replace as quickly as potential on your Android 12 Beta customers.
With Beta 2, Android 12 is closing in on Platform Stability in August 2021. Beginning then, app-facing system behaviors, SDK/NDK APIs, and non-SDK lists can be finalized. At the moment, you need to end up your remaining compatibility testing and launch a totally suitable model of your app, SDK, or library. Extra on the timeline for builders is here.
Get began with Android 12!
At present’s Beta launch has the whole lot you want to strive the newest Android 12 options, take a look at your apps, and provides us feedback. Simply enroll any supported Pixel device to get the replace over-the-air. To get began creating, set up the Android 12 SDK.
You can too get Android 12 Beta 2 on units from a few of our high device-maker companions. Go to android.com/beta to see the total checklist of companions taking part in Android 12 Beta. For even broader testing, you’ll be able to strive Android 12 Beta on Android GSI images, and for those who don’t have a tool you’ll be able to take a look at on the Android Emulator.
Beta 2 can also be out there for Android TV, so you’ll be able to try the newest TV options and take a look at your apps on the all-new Google TV expertise. Strive it out with the ADT-3 developer equipment. More here.
For full particulars on Android 12 Beta, go to the Android 12 developer site.