Android 2 Developer Preview 12 has already been released


Google recently released the second trial version of the open mobile platform Android 12 and in this new version presented we can find the following innovations key, such as ability to adapt interface elements to devices with rounded screens.

With this, the developers now they can get information about screen splices and adjust UI elements that fall into invisible corner areas. Through the new RoundedCorner API, you can find out parameters such as the radius and center of the rounding, and through Display.getRoundedCorner () and WindowInsets.getRoundedCorner () you can determine the coordinates of each rounded corner of the screen.

Moreover, picture-in-picture mode was improved along with smoother transition effects. If you enable automatic switching to PIP with the start gesture (by moving the bottom of the screen up), the application now immediately switches to PIP mode, without waiting for the animation to complete. Improved PIP resizing with non-video content.

We can also find that the performance forecast system was improved as applications can now query total expected bandwidth by carrier, specific wireless network (Wi-Fi SSID), network type, and signal strength.

The application of common visual effects has been simplified, like blurring and distorting colors, which can now be applied using the RenderEffect API to any RenderNode object or the entire visible area, even in a chain with other effects. This feature, for example, allows you to blur the image displayed through ImageView without explicitly copying, rendering, and replacing the bitmap, taking these actions alongside the platform.

In addition, Window.setBackgroundBlurRadius () API is offered , With which can blur the background of a window with a frosted glass effect and highlight the depth by blurring the space around the window.

Also, pWe'll find built-in media transcoding tools that can be used in environments with a camera application that saves HEVC video for compatibility with non-HEVC applications. For such applications, an automatic transcoding function has been added to the more common AVC format.

Added support for AVIF image format (AV1 Image Format), which uses intra-frame compression technologies from the AV1 video encoding format. The container for distributing compressed data in AVIF is completely similar to HEIF. AVIF supports HDR (high dynamic range) and wide gamut images, as well as standard dynamic range (SDR) images.

To avoid potential performance issues, apps are prohibited from running services in the foreground while running in the background, except in some special cases. It is recommended to use WorkManager to start working in the background. To simplify the transition, a new type of job is proposed in the JobScheduler, which starts immediately, has a higher priority and access to the network.

A unified OnReceiveContentListener API has been proposed for inserting and moving between applications of extended content types (rich text, images, video, sound files, etc.) using various data sources, including clipboard, keyboard, and drag interface. and drop.

Added a tactile feedback effect made with the help of a vibration motor built into phones, the frequency and intensity of the vibration depend on the parameters of the current output sound. The new effect allows you to physically experience sound and can be used to add realism to games and sound shows.

In immersive mode, in which the program is displayed in full screen with hidden service panels, navigation is simplified using control gestures. For example, when reading books, watching videos, and working with photos, you can now navigate with a single swipe gesture.

The interface design for displaying notifications has been updated, which has become simpler and more functional. Also smoother and updated transition and animation effects. Notifications with content specified by the application are generally displayed.

Improved responsiveness and reaction speed when working with notifications. For example, when a user touches a notification, they now instantly jump to the associated app. Applications have limited use of the notification springboard.

Optimized IPC calls in Binder, By implementing a new caching strategy and resolving lock disputes, latency has been significantly reduced. Overall, the throughput of Binder calls has roughly doubled, but in some areas it has been possible to achieve even more significant acceleration.

The release of Android 12 is expected in the third quarter of 2021. S


The content of the article adheres to our principles of editorial ethics. To report an error click here!.

Be the first to comment

Leave a Comment

Your email address will not be published.



  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.