Android 14 Beta release, steady improvement and bright spots coexist

2119bae333badd36c6b6e15b832abd4c.png

作者 / Dave Burke, VP of Engineering

Today, we bring you  cee28c25b5fbd0a945f848cc20e697d0.pngthe first beta version of Android 14. This version is still built around the core themes of privacy, security, performance, developer productivity, and user customization , while continuing to improve the experience on large-screen devices such as tablets and foldable devices. We've been steadily refining the features and stability of Android 14, and now it's time to open up the experience to developers and early adopters.

Every year brings improvements and new features to Android, and the feedback you submit in the Android Beta Program is critical along the way. We have provided more information about this beta version on the Android 14 developer website, including how to use Pixel devices to get the beta version and release schedule. I am very much looking forward to hearing your thoughts. Here we thank you in advance. It is your continuous support that makes Android a platform for everyone!

  • Participate in beta testing

    https://www.google.com/android/beta

  • Android 14 developer site

    https://developer.android.google.cn/about/versions/14

  • Get the Google Pixel system image

    https://developer.android.google.cn/about/versions/14/download

  • release schedule

    https://developer.android.google.cn/about/versions/14/overview#timeline

  • submit feedback

    https://developer.android.google.cn/about/versions/14/feedback

Cross-device and multi-size screen support

Android 14 continues to build on previous releases with good support for tablets and foldable devices. We have also been creating a wealth of tools and resources for you, such as design references and development guides, to help you polish your application experience.

  • Design Reference: Extending User Experience Through Large-Screen Devices

    https://developer.android.google.cn/large-screens/gallery

  • Development Guide: Getting Started with Large Screens

    https://developer.android.google.cn/guide/topics/large-screens/get-started-with-large-screens

Smarter system interface

In the Android operating system, functions are implemented by two independent but equally important packages: a framework that provides services, and a system interface that allows users to use these services. Each version of Android will bring new improvements to the system interface, here are some changes you may notice in Beta 1.

new back arrow

99641997d90a4a6537bc46e354ddbeb1.png

When using gesture navigation to interact with your app, the back arrow is now more prominent, making the back gesture easier to understand and more useful. The back arrow also automatically adapts to the user's wallpaper or device theme.

More powerful system Sharesheet

224f1b70499280ade9ef81c2cfabebdb.png

In Android 14, apps can now add custom actions to the system Sharesheet they call. You can use ChooserAction.Builder to create a custom ChooserAction, and after creating an Intent with Intent.createChooser, give your own list of ChooserActions as its Intent.EXTRA_CHOOSER_CUSTOM_ACTIONS.

  • ChooserAction.Builder

    https://developer.android.google.cn/reference/android/service/chooser/ChooserAction#Builder

  • ChooserAction

    https://developer.android.google.cn/reference/android/service/chooser/ChooserAction

  • Intent.createChooser

    https://developer.android.google.cn/reference/android/content/Intent#createChooser(android.content.Intent,%20java.lang.CharSequence)

  • Intent.EXTRA_CHOOSER_CUSTOM_ACTIONS

    https://developer.android.google.cn/reference/android/content/Intent#EXTRA_CHOOSER_CUSTOM_ACTIONS

Additionally, the system now uses more app signals to determine the ranking of directly shared targets. You can provide a signal to report the shortcut's purpose and the corresponding function binding by calling pushDynamicShortcut.

  • Provide direct share goals

    https://developer.android.google.cn/training/sharing/receive#providing-direct-share-targets

  • pushDynamicShortcut

    https://developer.android.google.cn/reference/androidx/core/content/pm/ShortcutManagerCompat#pushDynamicShortcut%28android.content.Context,androidx.core.content.pm.ShortcutInfoCompat%29

  • function binding

    https://developer.android.google.cn/reference/kotlin/androidx/core/content/pm/ShortcutInfoCompat.Builder#addCapabilityBinding%28java.lang.String,java.lang.String,java.util.List%3Cjava.lang.String%3E%29

More graphics features

You can use the new graphics features in Android 14 to make your app stand out.

Path (Path) can be queried and interpolated

Android's powerful and flexible Path API is used to create and render vector graphics. Starting with Android 14, you can query a path to know what's in it. The updated API can also interpolate between paths with exact matching structures for deformation effects. We also provide backward compatibility through the AndroidX development library, which can support up to API 21. Please visit the official documentation to learn more:

https://developer.android.google.cn/about/versions/14/features#paths

  • Path

    https://developer.android.google.cn/reference/android/graphics/Path

  • Graphic Path Version 1.0

    https://developer.android.google.cn/jetpack/androidx/releases/graphics#graphics-path-1.0.0-alpha01

Customization

Per app language preference

Android 14 enhances the language preference settings of each application, allowing dynamic customization of the language list displayed in the language list of each application on the Android settings page, and also allowing IME to obtain the interface language of the current application. Starting with Android Studio Giraffe Canary 7 and AGP 8.1.0-alpha07, the configuration work for an app to support per-app language preferences can be done automatically. The Android Gradle plugin generates a LocaleConfig file based on your project resources and adds a reference to it in the generated manifest file, so you don't have to manually create or update this file when your app's supported languages ​​change. For details, please refer to "Automatically support the language preference setting of each application". Welcome to submit test feedback.

  • Per app language preference

    https://developer.android.google.cn/guide/topics/resources/app-languages

  • setOverrideLocaleConfighttps://developer.android.google.cn/reference/android/app/LocaleManager#setOverrideLocaleConfig%28android.app.LocaleConfig%29

  • LocaleConfig

    https://developer.android.google.cn/reference/android/app/LocaleConfig

  • Automatic support for each application language preference

    https://developer.android.google.cn/studio/preview/features#automatic-per-app-languages

  • submit feedback

    https://developer.android.google.cn/studio/report-bugs

privacy

Visible only to accessibility services that support users with disabilities

Android 14 introduces the accessibilityDataSensitive attribute, which allows apps to make a given view visible only to accessibility services that declare support for users with disabilities. Claims that these apps support users with disabilities are verified by Play Protect, so users can download them from the Google Play Store with confidence. TalkBack and other services that claim to help users with disabilities are not affected by this attribute.

Applications may consider using accessibilityDataSensitive to:

  • Protect user data (such as personal data or clear text passwords) 

  • Prevents critical actions from being inadvertently performed (such as transferring money or checking out in a shopping app)

app compatibility

If you haven't tested your app's compatibility on Android 14, now is the time to start! As Android 14 enters the beta version, we have opened up early experience users and developers to experience it. In the coming weeks, you'll see more users experiment with your app on Android 14 and report issues they find.

For compatibility testing, install your production app on a device or emulator running Android 14 Beta and test all of your app's flows. Use the Behavioral Change Checklist to prioritize testing. Please release an update to your app as soon as you resolve any issues you find.

b5a64599ffea5bba81fc518a09051583.png

  • Behavior changes (for all apps)

    https://developer.android.google.cn/about/versions/14/behavior-changes-all

Now you can also start preparing to upgrade your app's target platform to Android 14, just use the app compatibility switch in the developer options to test.

27db84100aa037a80bca2b9de8fe8ba4.png

△ Application compatibility switch in developer options

Experience Android 14 Now

Whether you want to experience the features of Android 14, test apps or submit feedback, you can start with this beta version. If you want to test how your app behaves on tablets and foldables, the easiest way to do this is to use the tablet or foldable configuration of the Android emulator in the latest preview of the Android Studio SDK Manager. With the release of the Beta version, you can directly use supported Pixel devices to participate in the test, and get this and future Android 14 Beta versions (including feature updates) through OTA. If you don't have a Pixel device, you can test in Android Studio using the Android emulator with a 64-bit system image installed.

  • Feedback and Demand

    https://developer.android.google.cn/about/versions/14/feedback

  • Install the SDK

    https://developer.android.google.cn/about/versions/14/setup-sdk#install-sdk

  • Participate in beta testing

    https://www.google.com/android/beta

For the best Android 14 development experience, we recommend using the latest preview version of Android Studio Giraffe or later.

  • Android Studio Giraffe

    https://developer.android.google.cn/studio/preview

After setting up the SDK, you can:

  • Experiment with new features and APIs - Your feedback is critical as we polish and finalize the API. You can report issues on our tracking page.

  • Test your app for compatibility - Test whether your app is affected by Android 14 default behavior changes. Please install the app on a device or emulator running Android 14 to test it thoroughly.

  • Test your app with optional changes - Android 14 provides optional behavior changes that only affect if your app targets the new platform. It is important to understand and evaluate these changes early on. For testing purposes, you can enable or disable these changes individually.

  • Set up the Android 14 SDK

    https://developer.android.google.cn/about/versions/14/setup-sdk

  • report a problem

    https://developer.android.google.cn/about/versions/14/feedback

  • Compatibility Framework Changes (Android 14)

    https://developer.android.google.cn/about/versions/14/reference/compat-framework-changes

We will regularly update preview and beta system images and SDKs throughout the Android 14 release cycle.

If you have already participated in the Android 13 QPR Beta test and your device supports it, you can directly use this Beta version without additional operations.

  • Android 13 QPR Beta 版

    https://developer.android.google.cn/about/versions/13/get-qpr

Please visit the Android 14 developer site for details on how to get the beta:

https://developer.android.google.cn/about/versions/14

536c58a741e18997ca4c0be0986f9281.gif

dc92046314c6ab20820c545507822431.gif Click at the end of the screen  read the original text |  Learn more about Android 14 detailed update


38b41cfb78b45c93b0d11e98a858dfc1.png

30c033f1d26c4c79af9e9d10548e748c.gif

a8decdec2ef8913c8bdbf662245c5da0.png

Guess you like

Origin blog.csdn.net/jILRvRTrc/article/details/130143156