introduction
On March 17, 2022, Google released the Android 13 Developer Preview 2. Today, out of curiosity, let's take a look at what new and different experiences the new version brings.
12L experience
This is the new appearance experience optimization of Android big screen, such as:
PS: The user swiping down is generally to clear the message notification, Google optimizes the user experience
More optimization click here >>>>
Privacy and User Trust
Notification permission
PS: User permission popup
When sending a push, you need to dynamically apply for the permission POST_NOTIFICATIONS, and then the user can agree to push it successfully (for Target version 13 or higher)
In the past, pushes did not require permission to pop up a dialog box for users to select. It can be seen that Google believes that pushes to users also require users’ consent to avoid harassment of users (when there are too many pushes)
For more development details, click here >>>
Downgrade privileges
Some apps may no longer require certain permissions previously granted by the user to enable certain features, or retain sensitive permissions from older Android versions.
In Android 13, a new API is provided that lets apps protect user privacy by downgrading previously granted runtime permissions.
For more development details, click here >>>
Safer Intents
In Android 12, there is a guideline that requires developers to declare the Intent declared in the manifest (to avoid random broadcasting and launching of other apps, etc.)
Although it only solves the security problem of static registration;
But in Android 13, it is required to do the same for context-registered sinks by adding the RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED flags when registering sinks for non-system sources.
For more development details, click here >>>
experience and performance
Japanese line break experience
PS: Japanese text wrapping with phrase style enabled (bottom) and not enabled (top).
android:lineBreakWordStyle="phrase" is used with TextViews
line height for non-latin scripts
New non-Latin (ex: Tamil, Burmese, Telugu, Tibetan, etc.) line heights to prevent clipping and improve character positioning
PS: Improved line height for non-latin scripts in apps targeting Android 13 (bottom)
Text conversion experience
Users can find what they're looking for faster and easier
For example, the previous search required Japanese users
(1) Enter hiragana as the pinyin of its search term (i.e. place or app name)
(2) Convert Hiragana characters to Kanji using the keyboard
(3) Re-search using Chinese characters to
(4) Get their search results
Now with the new text conversion API, Japanese users can enter hiragana and instantly see kanji search results in real-time, skipping steps 2 and 3
For more development details, see >>>
Color vector font
Android 13 adds rendering support for COLR version 1 (canonical, introductory video) fonts and updates system emoji to COLRv1 format.
COLRv1 is a new, highly compact font format that renders quickly and clearly at any size;
COLRv1 vector emoji (left) and bitmap emoji
For more information about color vector fonts, you can click here >>>
Bluetooth LE Audio
Low Energy (LE) audio is the next generation of wireless audio designed to replace classic Bluetooth and enable new use cases and connectivity topologies. ( click here for details >> )
It will allow users to share and broadcast their audio to friends and family, or subscribe to public radio for information, entertainment or accessibility.
It's designed to ensure that users can receive high-fidelity audio without sacrificing battery life, and be able to switch seamlessly between different use cases, something that couldn't be achieved with Bluetooth Classic.
Android 13 adds built-in support for LE Audio, so developers should get the new feature for free on compatible devices.
Summarize
Go here to learn about the general changes of Android 13 preview version 2. For more details, please click here >>>
Tips
Dig deep into the field of Android mobile, precipitate Android applications and other technologies, WeChat "DaviZgx", welcome to join the group communication