Google releases the first Android 11 Developer Preview with new features like screen recording, chat bubbles and more

Google today released the first Android 11 Developer Preview build with several new features and APIs for users and developers. Google is planning to release the final version of Android 11 OS in Q3 2020. This Android 11 release will also include some new features like built-in support for screen recording, improved location privacy (users can grant temporary access to location, microphone, and camera through a one-time permission), better protection to app and user data on external storage and more. Find the list of developer features below.

Data access auditing:

  • To provide more transparency into how your app and its dependencies access private data from users, Android 11 introduces data access auditing. By using this feature, you can better identify and rectify potentially unexpected data access.

Performant graphics debug layer injection:

  • Applications can now load external graphics layers (GLESVulkan) into native application code to expose the same functionality as a debuggable app, but without incurring the performance overhead. This feature is especially important when profiling your application with tools like GAPID.

Batch operations for media files:

  • For consistency across devices and added user convenience, Android 11 adds several methods to the MediaStore API. To learn more about these methods, see the perform batch operations section on the Android 11 privacy page related to storage.

Rich media in quick replies:

Access to media files using raw file paths:

  • Starting in Android 11, apps that have the READ_EXTERNAL_STORAGE permission can read a device’s media files using direct file paths and native libraries. To learn more about this capability, see the access files using raw paths section on the Android 11 privacy page related to storage.

Secure sharing of large datasets:

  • In some situations, such as those that involve machine learning or media playback, your app might want to use the same large dataset as another app. In previous versions of Android, your app and another app would each need to download a separate copy of the same dataset.

Requesting and checking for low latency support:

  • Certain displays can perform graphics post-processing, such as some external displays and TVs. This post-processing improves the graphics but can increase latency. Newer displays which support HDMI 2.1 have an auto low latency mode (ALLM, also known as game mode), which minimizes latency by switching off this post-processing. For more details on ALLM, refer to the HDMI 2.1 specification.

Low-latency decoding in MediaCodec:

NDK image decoder:

  • The NDK ImageDecoder API provides a standard API for Android C/C++ apps to decode images directly. App developers no longer need to use the framework APIs (via JNI) or bundle third-party image-decoding libraries. For more information, see the Image decoder developer guide.

Resource loaders:

  • Android 11 introduces a new API that allows apps to dynamically extend how resources are searched and loaded. The new API classes ResourcesLoader and ResourcesProvider are primarily responsible for providing the new functionality. Together, they provide the ability to supply additional resources and assets, or modify the values of existing resources and assets.

Updates to the ICU libraries:

  • Android 11 updates the android.icu package to use version 66 of the ICU library, compared to version 63 in Android 10. The new library version includes updated CLDR locale data and a number of enhancements to internationalization support in Android.

Neural Networks API 1.3:

New operations:

New ML controls:

  • NNAPI 1.3 introduces new controls to help machine learning run smoothly.

Biometric authentication strength:

CallScreeningService updates:

  • Starting in Android 11, a CallScreeningService can request information about the STIR/SHAKEN verification status (verstat) for incoming calls. This information is provided as part of the call details for incoming calls.

Expanded camera support in Android emulator:

Android 11 introduces improved Android Emulator camera capabilities. The added features include the following:

  • RAW capture
  • YUV reprocessing
  • Level 3 devices
  • Logical camera support

Mute notification sounds and vibrations during active capture:

  • Beginning with Android 11, when actively using the camera, your app can mute only vibrations, both sounds and vibrations, or neither using setCameraAudioRestriction().

Wi-Fi Passpoint enhancements:

  • Passpoint enables apps to automatically and silently perform authentication and connect to secure Wi-Fi hotspots. Apps that target API level ‘R’ and higher can use the following additional capabilities of Passpoint.

Wi-Fi Suggestion API is expanded:

Android 11 expands the Wi-Fi Suggestion API to increase your app’s network management capabilities, including the following:

  • Connectivity management apps can manage their own networks by allowing disconnection requests.
  • Passpoint networks are integrated into the Suggestion API and can be suggested to the user.
  • Analytics APIs enable you to get information about the quality of your networks.

Chat Bubbles:

  • Bubbles are now available to developers to help surface conversations across the system. Bubbles was an experimental feature in Android 10 that was enabled through a developer option — in Android 11 this is no longer necessary.

Source: Google

Comments