Skip to main content

Google releases Android 12 Developer Preview 2

 

Today Google released Developer Preview 2 of Android 12 to developers. Some features included in DP2 are user-facing updates to PIP, lockscreen pin entry, one-handed mode, tweaks to the dark theme, and many more.


In a blog post Google’s Dave Burke, VP of Engineering writes


Last month we shared the first preview of Android 12, an early look at the next version of Android. Today we’re bringing you the next milestone build in this year’s release, with more new features and changes for you to try with your apps.


In Android 12 we’re making the OS smarter, easier to use, and better performing, with privacy and security at the core. We’re also working to give you new tools for building great experiences for users, whether they’re using phones, laptops, tablets, TVs, or cars. Some things to look for in today’s release include new rounded corners APIs, improved picture-in-picture APIs, better companion device management, easier effects like blur and color filter, app overlay controls, and more.


More on the release and what's new under the hood can be found below.


Trust and safety


We’re continuing to focus on giving users more transparency and control while keeping their devices and data secure. In today’s release, we’ve added some new features to check out and test with your apps.


App overlay controls - Android’s system alert window gives apps a way to get users’ attention for important actions by showing an overlay on top of the active app. These windows can interrupt the user, though, so we already require apps to request permission before displaying them. Now in Android 12 we’re giving you control over whether these overlays can be shown over your content. 


Extended security for lockscreen notification actions - Android 12 adds finer-grained privacy and security controls for notifications displayed on the device lockscreen. 


Access to app digests - For apps that need to validate the integrity of app packages installed on Android devices, we’re introducing a new API that lets you query the platform directly for the checksum of an installed app.


Better user experience tools


We’re working to give you more tools to help you deliver a polished experience and better performance for users. Here are some of the updates in today’s release.



Support for Rounded corners - Many modern devices use screens with rounded corners, giving them a clean modern look, but also introducing some extra considerations for app developers. To deliver a great UX on these devices, developers need to account for the rounded corners and adjust any nearby UI elements to prevent them from being truncated.


Picture in Picture (PIP) improvements - for people using gesture nav, we’ve improved how apps transition to picture-in-picture (PIP) mode on swipe up-to-home. If an app enables auto-PIP, the system now directly transitions the app to PIP mode on up-to-home, instead of waiting for the up-to-home animation to complete. This makes the transition smoother and improves perceived performance. We’ve also improved PIP window resizing for non-video content. Apps can now enable seamless resize to let the system resize the PIP Activity when needed. Android 12 also supports stashing the PiP window by dragging it to the left or right edge of the screen.


Keeping companion device apps awake - For apps that manage companion devices like smartwatches and fitness trackers, it can be a challenge to make sure the app is running and connected whenever an associated companion device is nearby. To make this easier, we’re extending the Companion Device Manager with a new CompanionDeviceService API. Apps that manage companion devices can implement this service to let the system wake the app whenever the associated companion device is nearby. The system keeps the service bound whenever the device is nearby, and notifies the service when the device goes in and out of range or is turned off, to let the app clean up state as needed.


Bandwidth estimation improvements - for developers who need to know the typical bandwidth available to each user so you can tailor their experience, we now provide improved bandwidth estimation.


Easier blurs, color filters and other effects - In Android 12, we’re making it easier to apply common graphics effects to your Views and rendering hierarchies. 


This appears to be another huge release and I’m looking forward to future DPs and Betas. Android 12 is shaping up to be a massive release in the fall.


Link(s)

Android Developers Blog


Comments

Popular posts from this blog

Soundcore K20i review | A look at Ankers budget friendly earbuds (video)

Soundcore K20i by Anker, Semi-in-Ear Earbuds, Bluetooth Wireless, 36H Playtime, Fast Charge, Clear Sound, Comfortable Fit, ENC 2-Mic Clear Calls, Custom EQ, IPX5, Bluetooth 5.3, App Control. https://a.co/d/a27Mi9t

JBL Live 770NC review | An all around performer

The JBL Live 770NC headphones are a good choice for those looking for a combination of noise cancellation, sound quality, and comfort. Check out the video below for my thoughts on the Live 770NCs after a few months of use.

New Picture in Picture feature in ChromeOS 130 borrows from Android

With the release of ChromeOS 130 Google introduced a new picture in picture feature that's awfully similar to Android in looks and in functionality. Check out the video below and let me know what you think.