First Developer Preview Of Android 12 Released

The preview has updates to how the OS handles images, video, and security.

Recently, Google announced the release of the first Developer Preview of Android 12, the next version of Android.

Google said that Android 12 gives you new tools for building great experiences for users. Along with features like compatible media transcoding, which helps your app to work with the latest video formats, and easier copy/paste of rich content into your apps, the Android team is also adding privacy protections and optimizing performance to keep your apps responsive.

Source: Google

Android 12 introduces great new features and APIs for developers such as: Unified API for receiving content, Compatible media transcoding, AVIF image support, Generate haptic effects from audio, Native ImageDecoder support for animated GIF and WebP, Device properties verification available in non-DPC apps, and more.

A new unified API lets users receive rich content from any available source: clipboard, keyboard, or drag and drop. Android 12 can automatically transcode HEVC(H.265) and HDR (HDR10 and HDR10+) videos recorded on the device to AVC (H.264), a format which is widely compatible with standard players. 

The team said that in Android 12 it's continuing to focus on giving users more transparency and control while keeping their devices and data secure. Preview of Android 12 adds new controls over identifiers that can be used for tracking, safer defaults for app components, and more.

Source: Google

The release features Modern SameSite cookie behaviors in WebView, Restricted Netlink MAC, Safer exporting of components, and Safer handling of Intents.

Android 12 also focuses in key areas to help deliver a polished experience and better performance for users. Now with Compatible media transcoding, an app that doesn’t support HEVC can have the platform automatically transcode the file into AVC.  Developers can opt-in to use the transcoding service by just declaring the media formats that their apps don't support. The feature will be active on all devices using HEVC format for video capture.

The Preview is also introducing platform support for AV1 Image File Format (AVIF), which is a container format for images and sequences of images encoded using AV1. AVIF takes advantage of the intra-frame encoded content from video compression. It improves image quality significantly for the same file size when compared to older image formats, such as JPEG.

Source: Google

The release also features a new expedited job in JobScheduler that gets elevated process priority, network access, and runs immediately regardless of power constraints like Battery Saver or Doze.

The release also simplifies immersive mode so that gesture navigation is easier and more consistent, for example when watching a video, reading a book, or playing a game.

For additional details, you can visit the official release notes here.