Google today Fired First Android 11 Developer Preview, Now available for download from developer.android.com. The preview release includes a preview SDK for developers, which includes system images for Pixel 2, Pixel 2 XL, Pixel 3, Pixel 3 XL, Pixel 3a, Pixel 3a XL, Pixel 4 and Pixel 4 XL, and the official Android emulator .
Google has released the first developer preview of the next Android version in the first quarter for the fifth consecutive year, but this is by far the earliest developer preview. Android N (later known as Android Nougat), Android O (Android Oreo), Android P (Android Pie), and Android Q (Android 10) all debuted in March. Last year, Google used Android Beta Program, Which lets you get earlier Android versions via wireless updates on selected devices. However, this year Google will not release the first preview version as a Beta (you need to refresh the device manually). In other words, Android 11 is not yet ready for early adopters, it's just for developers.
If Google sticks to its usual rhythm, the company may open up Android 11 testing to more phones in a second developer preview. However, the first Android 11 developer previews are available on more phones (eight pixels instead of six). But this is just Over 2.5 billion active Android devices per month — The main reason developers are eager to see the new features of the platform first.
With Android Q, Google discussed support for 5G and foldable devices. While maintaining these advantages, the company also emphasized improvements in machine learning.
If you want a short version, please see the following Android 11 Developer Preview Summary: 5G Experience, People and Dialogue Improvements, Neural Networks API 1.3, Privacy and Security Features, Google Play System Update, Application Compatibility, Connectivity, Images and Camera Improvements, and low-latency adjustments.
Developer Preview 1 Features
Still dissatisfied? This is a longer version of all new APIs and features (and many more new features; after all, this is just a preview for developers):
- Bandwidth Estimator API: Google updated this 5G API to make it easier to check Downlink / Uplink BandwidthWithout having to poll the network or calculate your own estimates. If the modem does not provide support, the API will make a default estimate based on the current connection.
- Dynamic metering API: This API allows you to check if the connection is Unmeasured If so, you can provide higher resolution or higher quality, so more data can be used. The API now includes cellular networks, so you can identify users who are providing truly unmetered data when the operator is connected to the operator's 5G network.
- Pinhole and waterfall screens: Application can use existing management pinhole screens and waterfall screens Display matting API. if you want, A new API Make your app use the entire waterfall screen, including edges, with illustrations to help you manage interactions near the edges.
- The "dedicated conversation" section in the notification shade: Users can find ongoing conversations with others in their favorite apps.
- Bubbles: Keep conversations visible and accessible when performing multitasking on your phone. SMS and chat apps should use Bubble API Notice about enabling this feature in Android 11.
- Insert images into notification responses: If your app supports image copy / paste, you can now let users insert assets directly into notification inline responses as well as the app itself. Chrome also provides image copy support, and image paste support will be displayed in Gboard's clipboard.
- Neural Network API (NNAPI) 1.3: Google is expanding operations and controls to run compute-intensive operations for computer learning on Android devices. The Quality of Service API supports the priority and timeout of model execution, and the Memory Domain API reduces memory copying and conversion of continuous model execution. Gaining quantitative support Signed integer asymmetric quantization, Where signed integers are used instead of floating point numbers to enable smaller models and faster inference.
- One-time license: For the most sensitive data types (not just location, but also the device ’s microphone and camera), users can now grant temporary access with one-time permissions. This permission means that the application can access the data until the user leaves the application, and then they must request permission again for the next access.
- Range storage: Enhancements include optional raw file path access to media, updated DocumentsUI, and batch editing operations in MediaStore.
- More secure location access: Updated Google Play policies to ensure apps only request location permissions when really necessary.
- Biometrics: Expand to meet a wider range of device needs. BiometricPrompt now supports Three authenticator types With different levels of granularity (strong, weak and device credentials). BiometricPrompt has been decoupled from the "activity" life cycle of the application to make it easier to integrate with various application architectures and improve the trading interface.
- Platform hardening: Expanded use of compiler-based cleaners in safety-critical components including BoundSan, IntSan, CFI, and Shadow-Call Stack. Google also enabled Heap pointer mark For apps targeted to Android 11 or higher to help apps capture memory issues in production. Team use Huashan Find and fix memory errors-developers can now use Support HWAsan system image Find such problems in their applications.
- Store and share data securely: Applications can now easily and securely share data blobs with other applications in the following ways: BlobstoreManager. Blob storage is great for use cases, such as sharing ML models between multiple applications for the same user.
- Identity credentials: Android 11 adds platform support for securely storing and retrieving verifiable identification documents, such as ISO 18013-5 mobile driving licenses.
- Google Play system update: Project main line Twelve new updatable modules have been obtained, for a total of 22 modules. The new module includes a permissions module to standardize user and developer access to key privacy controls on Android devices; a media provider module; and a NNAPI module to optimize performance and ensure consistent APIs across devices.
- Minimize the impact of behavior changes: Android 11 minimizes behavior changes that may affect applications by closely reviewing their impact and opt-in where possible, until the developer sets targetSdkVersion to Android 11.
- Simplify testing and debugging: Many major changes are switchable. Therefore, developers can force enable or disable changes through developer options or ADB, respectively. Therefore, there is no longer a need to change targetSdkVersion or recompile applications for basic testing.
- Updated Greylist: Updated list of restricted non-SDK interfaces.
- Dynamic resource loader: The resource loader framework in Android 11 dynamically loads resources and assets at runtime.
- New Platform Stability Milestone: A new release milestone called "Platform Stability" will be released in early June. This milestone includes not only the final SDK / NDK API, but also the final internal API and system behavior that may affect the application.
- Improvements to call screening services: Call screening applications can now do more to help users. App can get STIR / SHAKEN of incoming call Verify status As part of the call details, they can customize what the system provides Screen after a call Let users do things like mark calls as spam or add to contacts.
- Wi-Fi suggested API enhancements: Google extends Wi-Fi Recommendation API Gives connection management applications greater capabilities to manage their networks.
- Passpoint enhancements: Android now enforces and notifies the expiration date of Passpoint profiles, supports the "common name" specification in profiles, and allows Passpoint R1 profiles to use self-signed private CAs. Connectivity apps are now available Wi-Fi Recommendation API Manage the Passpoint network.
- HEIF animation drawable objects: ImageDecoder API You can now decode and render image sequence animations stored in HEIF files, which can leverage high-quality assets while minimizing the impact on network data and APK size. HEIF image sequences can drastically reduce the file size of image sequences in the following situations Compared to animated GIF. Developers can display HEIF image sequences in their applications by calling encodeDrawable Use HEIF source. If the source contains a series of images, then AnimatedImageDrawable return.
- Native image decoder: New NDK API Let the application decode and encode images (such as JPEG, PNG, and WebP) from native code for graphics or post-processing, while preserving smaller APK sizes because you don't need to bundle external libraries. The native decoder also utilizes the Android process for continuous platform security updates.
- Mute during camera capture: When the session is active, the app can use the new API to mute vibrations in ringtones, alerts or notifications.
- Bokeh mode: Applications can use metadata tags to enable bokeh mode for camera capture requests on devices that support this feature. Still image mode provides the highest quality capture, while continuous mode ensures that the capture is synchronized with sensor output, such as video capture.
- Low-latency video decoding in MediaCodec: Low-latency video is essential for real-time video streaming applications and services such as Stadia. A video codec that supports low-latency playback will return to the first frame of the stream as soon as possible after decoding begins. Applications can use the new API to check with Configuration Low latency playback for specific codecs.
- HDMI low-latency mode: Applications can use the new API to check and request automatic low-latency mode (also called game mode) on external displays and TVs. In this mode, the display or TV disables graphics post-processing to minimize latency.
Preview / Beta schedule
After refreshing Android 11 to the device or launching the Android emulator, you will need to update the Android Studio environment with the Android 11 Preview SDK (Setting guide). For a full summary of new features, check API overview, API referencewith Difference report.
The purpose of this first developer preview is to make early adopters and developers use builds early so they can explore new features and APIs of the application, test compatibility and Give feedback Before sharing more details 2020 I / O, Planned for release from May 12th to May 14th. More new features will be released in subsequent previews and betas.
Last year, there were six betas. This year, there will be 3 developer previews and 3 betas. Here is the preview / beta schedule for Android 11:
- February: Developer Preview 1 (Early baseline builds focus on developer feedback, including new features, APIs and behavior changes.)
- March: Developer Preview 2 (Incremental updates with additional features, APIs, and behavior changes.)
- April: Developer Preview 3 (Incremental updates for stability and performance.)
- May: Beta 1 (Initial beta quality version, wireless update to early adopters signing up for Android Beta.)
- June: Beta 2 (Platform stability milestones. Final APIs and behaviors. Play released.)
- Q3: Beta 3 (Release candidate release.)
- Q3: Final release (Android11 released to AOSP and the ecosystem.)
Google requires developers to make their applications compatible with Android 11 so that their users can achieve a seamless transition when upgrading. If you find any errors, you can Report here.