Review Changes On Android 11

Tram Ho

Recently Google has released a beta version of Android 11 for use in the Developer environment, namely on March 18 last. That means developers can update the SDK and test it on the Emulator. We’ll see if there are any changes in this much-awaited version.

The first thing to mention is the 5G APIs.

1. API 5G

Developer will be provided with an API to return the status of whether the device is connected to 5G technology or not. From there, you can impress users using 5G devices to improve service quality. In addition, it is compatible with the previous normal connection APIs to improve the quality of 5G transmission lines

2. Support for foldable devices

It supports a sensor for direct identification, or it is possible through the AndroidX API to know the folding angle more accurately. So we can deliver a better user experience on high-end devices. Now it’s time to fold, it’s not good anymore 😄

3. Improve call authentication

There is a new API so that the app can check and validate calls more effectively, to avoid caller ID fraud. And the system can alert specific reasons why the call may be fake, users quickly manipulate reject the call and mark it as spam.

4. Improved AI

As introduced in the new Google AI engineers discovered how to “brainstorm” for their device control that allows faster, more accurate training to help the AI ​​model learn faster. The handling of regular cases will improve latency. That means you will experience an OS with better support.

5. Access camera and microphone

In Android 10 version, android:foregroundServiceType was added to ensure more responsibility in accessing “location” permission in foreground mode. Now, it is added to divide the permissions for 2 access features: camera and microphone. You want to use the same declaration as Android 10.

6. Updated storage range

They want to protect users’ data further on external storage devices. The support to convert archives of files from the old archives to the ‘scoped storage model’ has been improved and better managed on cache. For example: Scoped storage enforcement , One-time permissions , etc.

7. Sync IME transitions

The new API WindowInsetsAnimationController will synchronize the content of your application with the IME (soft keyboard), making the hiding of the keyboard smoother, no more jerky like before, bringing a more intuitive user experience. This is also a great UX improvement. (Picture below)

8. Display frequency

Normally, the display frequency of games and apps currently being supported by the OS is at 60Hz, although this is a good level, there are currently devices that support display at a better level of 90Hz. and 120Hz. So to meet the game’s maximum quality, Android 11 allows you to set the maximum display frequency that the device can achieve via the Surface.setFrameRate() API Surface.setFrameRate()

9. Resume on reboot

When a new version of OS update is available, you can set up overnight updates. After the update is completed, the OS still has to reboot to update the new OTA, but with previous versions, the application could not access the Credential Encrypted memory after the OTA was operational, but had to wait until the user unlocked. then the new device will work properly. That way you will be late to receive new data, calls, messages etc.

But in this version, the update still happens overnight and other applications work normally right after being updated without unlocking operation from the user. You can try this function by clicking Restart after 2AM on the device.

10. Camera on emulator

With this version you can use the camera in both front and rear cams. With the following cam supported Camera2 API HW Level 3 supports YUV and captures RAW images, it fully supports advanced testing features such as ZSL and RAW / DNG. The front cam supports the simulation of narrow, wide-angle photography. That’s quite enough, isn’t it, bro? With that, it is enough for a worthy experience that is taking the time to update the new SDK and try it out. 😄

Note:

Oh and one more note is that the Android 11 version supports one of the following devices: Pixel 2/2 XL, Pixel 3/3 XL, Pixel 3a / 3a XL, or Pixel 4/4 XL

Whoever builds on the Pixel will not work. Who can not build or have anything, please leave a comment at the bottom of this article.

Bonus:

11. When was the release date

This April and May is currently in Beta. By the beginning of June, we will finish the final stage before releasing the official update to users and by the end of September, we will be able to experience it on the actual device.

(Photos for you to see)

Share the news now

Source : Viblo