Exploring Android 11: A Comprehensive Overview

Exploring Android 11: A Comprehensive Overview

This is the last article in the #11WeeksOfAndroid series. Thank you for exploring key areas of Android development with us over the past time. Let’s review these exciting contents together:
  • #11WeeksOfAndroid
    https://developer.android.google.cn/11weeksofandroid

Contacts and Identity

You can explore how to implement chat shortcuts and Bubbles through chat notifications. We also shared videos about new features in chat and other system UI updates, as well as the Contacts and Chat Developer Documentation. Finally, you can listen to the interview with the system UI team about Contacts and Bubbles in the Android Backstage podcast.
  • Chat Notifications
    https://www.youtube.com/watch?v=CKlVSvFyt3s&list=PLWz5rJ2EKKc-Z8NeBXJkf1bzUVhx3fvh4&index=3
  • Contacts and Chat Developer Documentation
    https://developer.android.google.cn/preview/features/conversations
  • Contacts
    http://androidbackstage.blogspot.com/2020/06/episode-141-discussing-conversations.html
  • Bubbles
    http://androidbackstage.blogspot.com/2020/06/episode-140-bubbles.html
The complexity of users and developers makes it difficult to verify identity. To address this issue, we are researching the One Tap and Block Store in the new Google Identity Services Library.
  • One Tap
    https://developers.google.com/identity/one-tap/android
If you are interested in learning more about “Identity”, we have also released a video “Exploring Identity in Android: New Login Features”. In this video, Vishal introduces the newly added libraries in the Google Identity System: One Tap and Block Store.
  • “Exploring Identity in Android: New Login Features” Video
    https://www.youtube.com/watch?v=KFGthqwDmc0&list=PLWz5rJ2EKKc-Z8NeBXJkf1bzUVhx3fvh4&index=4
The Messenger team from Facebook and the messaging team from Twitter have collaborated with us early on regarding chat features. You can check the relevant cases in the official documentation to learn how these two teams implemented these features.
  • Official Documentation: Twitter Team Case Study
    https://android-developers.googleblog.com/2020/06/bringing-twitters-dms-into-android-11s.html
  • Official Documentation: Facebook Team Case Study
    https://android-developers.googleblog.com/2020/06/messenger-and-conversations.html
You can learn more through the “Contacts and Identity” Learning Path, Video List, and Previous Articles.
  • “Contacts and Identity” Learning Path

    https://developers.android.google.cn/courses/pathways/android-week1-people-identity

  • Video List

    https://www.youtube.com/playlist?list=PLWz5rJ2EKKc-V4LzxVebgrymsVxZuJRNu

Machine Learning

We previously announced the winners of the Android Developer Challenge (AndroidDevChallenge). Check out the winner applications that showcase how powerful machine learning helps users solve problems, such as an application for navigation for visually impaired people in crowded spaces, or another application that helps students learn sign language.
  • Winners List

    https://android-developers.googleblog.com/2020/06/dev-challenge-winners.html

  • Winner Applications

    https://developer.android.google.cn/helpful-innovation

  • Navigation for Visually Impaired People

    https://play.google.com/store/apps/details?id=com.br.ml.brpathfinder

  • Helping Students Learn Sign Language

    https://play.google.com/store/apps/details?id=com.mangoai.leepi

Recently, we have launched ML Kit as a standalone SDK, and it no longer requires users to use a Firebase account. You just need to add a line of code in the build.gradle file to add ML capabilities to your application.
  • ML Kit as a Standalone SDK

    https://android-developers.googleblog.com/2020/06/mlkit-on-device-machine-learning-solutions.html

Another highly anticipated new feature is support for replacing Google models with your own models when performing image labeling and object detection and tracking.

  • Image Labeling

    https://developers.google.cn/ml-kit/vision/image-labeling/custom-models/android

  • Object Detection and Tracking

    https://developers.google.cn/ml-kit/vision/object-detection/custom-models/android

Learn why it is important to find the unique intersection of user problems and machine learning (ML) advantages, and how the People + AI Guidebook can help you make machine learning (ML) product decisions. You can gain more inspiration from the interview with the Read Reading Team.

  • Finding the Unique Intersection of User Problems and Machine Learning (ML) Advantages

    https://android-developers.googleblog.com/2020/06/on-device-ML-design-insights.html

  • People + AI Guidebook

    https://pair.withgoogle.com/guidebook/

  • Read Reading Team Interview

    https://www.youtube.com/watch?v=fllbN6ZixnE

Another focus is how to greatly simplify the process of adding custom models to Android applications:

https://android-developers.googleblog.com/2020/06/tools-for-custom-ML-models.html

Finally, try our Codelab:

  • ML Kit Codelab – Language recognition and text translation using ML Kit and CameraX.

    https://codelabs.developers.google.com/codelabs/mlkit-android-translate/

  • Custom Model Codelab – Build an Android application to recognize flowers using TensorFlow Lite Model Maker and Android Studio Machine Learning Model Binding.

    https://codelabs.developers.google.com/codelabs/recognize-flowers-with-tensorflow-on-android-beta/#0
You can learn more through the “Machine Learning” Learning Path, Video List, and Previous Articles.
  • “Machine Learning” Learning Path

    https://developer.android.google.cn/courses/pathways/android-week2-machine-learning

  • Video List

    https://www.youtube.com/playlist?list=PLWz5rJ2EKKc9znUgvI7lFPE-v5Vw4mGwG

  • Previous Articles

    https://android-developers.googleblog.com/2020/06/full-spectrum-of-on-device-machine.html

Privacy and Security

As stated in our previous article – “Privacy and Security”, we are giving users more control and transparency over access to user data.

In Android 11, we introduced several privacy improvements, such as one-time permissions, allowing users to grant applications access to the device’s microphone, camera, or location, but that access is only valid at the time of authorization. You can learn more about how to build privacy-friendly applications using these new changes. You can also watch the video to learn more about Android Security Updates.
  • Privacy Improvements
    https://youtu.be/5w5h_UdIiqs
  • One-Time Permissions
    https://developer.android.google.cn/preview/privacy/permissions#one-time
  • New Changes
    https://www.youtube.com/watch?v=MXlVj-EYgIQ&feature=youtu.be
  • Video: Android Security Updates
    https://youtu.be/bsdtRZusbpI

Other notable updates include:

  • Permission Auto Reset: If a user has not used an application adapted to Android 11 for a long time, the system will automatically reset all runtime permissions associated with that application and notify the user.

  • Automatic Reset
    https://developer.android.google.cn/preview/privacy/permissions#auto-reset
  • Data Access Auditing API: In Android 11, developers can access this new API, allowing them to better understand their application’s use of private and protected data. Learn more about the new tools in Android 11 that make your application more private and stable.

  • Data Access Auditing API

    https://developer.android.google.cn/preview/privacy/data-access-auditing

  • Scoped Storage: In Android 11, all applications targeting API level (Target SDK Level) 30 will be required to use the scoped storage feature. You can watch the video below for more information, or check the Storage FAQ.

  • Google Play System Updates: Google Play System Updates were initially launched as part of Project Mainline with Android 10, providing users with faster updates to core operating system components.

  • Project Mainline
    https://android-developers.googleblog.com/2019/05/fresher-os-with-projects-treble-and-mainline.html
  • Jetpack Biometric Library: This library has now been updated, adding new BiometricPrompt features in Android 11, while supporting backward compatibility.

  • Jetpack Biometric Library Update

    https://developer.android.google.cn/jetpack/androidx/releases/biometric#1.1.0-alpha02

  • BiometricPrompt

    https://developer.android.google.cn/preview/features#biometric-auth

You can learn more through the “Privacy, Trust, and Security” Learning Path, Video List, Previous Articles, and relevant documentation on Privacy and Security Best Practices.
  • “Privacy, Trust, and Security” Learning Path

    https://developer.android.google.cn/courses/pathways/android-week3-privacy-trust-security

  • Video List

    https://www.youtube.com/playlist?list=PLWz5rJ2EKKc82becEmw0oxCB0YffWutWB

  • Privacy

    https://developer.android.google.cn/privacy/best-practices

  • Security

    https://developer.android.google.cn/topic/security/best-practices

Android 11 Compatibility

Before the official release of Android 11, we released several test versions. In the Android 11 Beta 2 version, we added a new milestone called “Platform Stability” to clearly inform developers that all APIs and system behaviors have reached their final state. The third and final Beta version released a few weeks later included the latest fixes and optimizations, and the Android 11 official version was recently released.

Please check the following practical resources to ensure your application is compatible with Android 11:

  • Official Documentation: Migrating Applications to Android 11

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

  • Official Documentation: Behavior Changes that May Affect Applications

    https://developer.android.google.cn/preview/behavior-changes-all

  • Detailed Article: Testing Application Compatibility with New Tools in Android 11

  • Video: Testing Application Compatibility with Android Studio

    https://www.youtube.com/watch?v=GM7CXRJKpEI

  • Video: Testing Platform Changes in Android 11

    https://www.youtube.com/watch?v=82einkyFns4

  • Video: Platform Stability and Android Release Timeline

    https://www.youtube.com/watch?v=OzlhNZEAchQ

In the article “Accelerating Android Updates”, we discussed how to maintain the latest operating system’s critical quality by extending Android’s updatability architecture.
  • Accelerating Android Updates
    https://android-developers.googleblog.com/2020/07/accelerating-android-updates.html
We also highlighted an exciting case study from Excelliance Tech. Excelliance Tech recently transitioned its LeBian SDK from non-SDK interfaces to stable official APIs, allowing for higher compatibility with the Android operating system over time.
You can learn more through the “Android 11 Compatibility” Learning Path, Video List, and Previous Articles.
  • “Android 11 Compatibility” Learning Path
    https://developer.android.google.cn/courses/pathways/android-week4-compatibility
  • Video List
    https://www.youtube.com/playlist?list=PLWz5rJ2EKKc-Rkjav7zN93x4gJPOruB26

Development Languages

In Android 11, we officially recommend using coroutines to handle asynchronous work, further improving the developer experience of Kotlin on Android. If you are not familiar with coroutines, please check the following resources:
  • Android ❤️ Coroutines: How to Use Kotlin to Manage Asynchronous Tasks

  • Coroutine Learning Path

    https://developer.android.google.cn/courses/pathways/android-coroutines

  • New Coroutine Developer Guide

    https://developer.android.google.cn/kotlin/coroutines

You can also get the latest case studies and data in the new Kotlin Developer Stories, including the new Google Home case study and the Kotlin State Technology Video in Android. For beginners, we have also launched the new Android Kotlin Basics, welcome to learn!
  • Kotlin Developer Stories

    http://developer.android.google.cn/kotlin/stories

  • New Google Home Case Study

    https://developer.android.google.cn/stories/apps/google-home

  • Kotlin State Technology Video in Android

    https://www.youtube.com/watch?v=AgPj1Q6D–c&vl=ja

  • Android Kotlin Basics

    https://developer.android.google.cn/courses/topics/android-basics-kotlin

If you are a Java language developer, you can watch the video “Support for Newer Java APIs” to learn how we provide new OpenJDK libraries across various versions of Android. For Android 11, we also updated the Android runtime to speed up application startup through I/O Prefetching.
  • Support for New Java APIs
    https://www.youtube.com/watch?v=heCvGfOGH0s&feature=emb_title
  • I/O Prefetching
    https://medium.com/androiddevelopers/improving-app-startup-with-i-o-prefetching-62fbdb9c9020
Android 11 includes updates to the native toolchain, including better Profile-Guided Optimization (PGO) tools and improvements to native dependency management in Android Studio 4.0.
  • Profile-Guided Optimization (PGO)
    https://medium.com/androiddevelopers/pgo-for-native-android-applications-1a48a99e95d0
  • Improvements to Native Dependency Management in Android Studio 4.0
    https://android-developers.googleblog.com/2020/02/native-dependencies-in-android-studio-40.html
Finally, we will continue to improve the D8 and R8 compilers in Android Studio, providing better support for Kotlin in the R8 Shrinker. You can check the related articles for details.
  • R8 Shrinker
    https://developer.android.google.cn/studio/build/shrink-code
  • Learn More
    https://medium.com/androiddevelopers/shrinking-kotlin-libraries-and-applications-using-kotlin-reflection-with-r8-6fe0a0e2d115
You can learn more through the “Development Languages” Learning Path, Video List, and Previous Articles.
  • “Development Languages” Learning Path
    https://developer.android.google.cn/courses/pathways/android-week5-languages
  • Video List
    https://www.youtube.com/playlist?list=PLWz5rJ2EKKc_OyeYcCO97J7kd22mQu38Y

Android Jetpack

Interested in the new features of Jetpack? The new features video of Android Jetpack briefly introduces many updates to the libraries and the corresponding getting started guides.
  • Learn More about Hilt and other major releases, including cheat sheets to help you get started, and the process of using Hilt for dependency injection after we migrated our examples. Less boilerplate = more fun.
  • Learn More about Paging 3.0, which is a complete rewrite of the library using Kotlin coroutines, adding improved error handling and better transformations.
  • Get to know CameraX Beta, and understand how it helps developers handle extreme situations across different devices and operating system versions without hassle.
  • New Features Video of Android Jetpack
    https://www.youtube.com/watch?v=R3caBPj-6Sg&t=1s
  • Cheat Sheets
    https://medium.com/androiddevelopers/hilt-and-dagger-annotations-cheat-sheet-9adea070e495
  • Hilt for Dependency Injection
    https://www.youtube.com/watch?v=B56oV3IHMxg
  • Learn More about Paging 3.0
    https://www.youtube.com/watch?v=1cwqGOku2a4
  • Get to know CameraX Beta
    https://www.youtube.com/watch?v=LUw_LpTMTto&list=PLWz5rJ2EKKc9wZnLd8uWSK3VpnxS-Jjfo&index=5

This year, we released Navigation 2.3, which brings several major improvements to help you navigate easily between different screens in your application while following Android interface principles.

  • Navigation 2.3
    https://www.youtube.com/watch?v=09qjn706ITA&list=PLWz5rJ2EKKc9wZnLd8uWSK3VpnxS-Jjfo&index=6
In Android 11, we are still committed to giving users more control over sensitive permissions. Now, with the new ActivityResult API, common use cases have gained type-safe guarantees. These changes simplify how you request permissions, and we will continue to work towards making permissions simpler in the future.
  • ActivityResult API
    https://developer.android.google.cn/training/basics/intents/result
You can also learn about our recently released AppStartup library and the latest changes to WorkManager.
  • AppStartup
    https://android-developers.googleblog.com/2020/07/decrease-startup-time-with-jetpack-app.html
  • WorkManager
    https://medium.com/androiddevelopers/use-workmanager-for-immediate-background-execution-a57db502603d
You can learn more through the Jetpack Learning Path, Video List, and Previous Articles.
  • Jetpack Learning Path
    https://developer.android.google.cn/courses/pathways/android-week6-jetpack?linkId=94749714
  • Video List
    https://www.youtube.com/playlist?list=PLWz5rJ2EKKc9wZnLd8uWSK3VpnxS-Jjfo

Android Developer Tools

Recently, we shared the latest updates on Android developer tools and the recent updates on design tools, which you can learn more about by watching the videos:

  • Latest Updates on Android Developer Tools

    https://www.youtube.com/watch?v=NMFGuy6TRqk&feature=youtu.be

  • Recent Updates on Android Design Tools
    https://www.youtube.com/watch?v=ns67AAuDs4s&feature=youtu.be

There are also two in-depth shares related to design tools:

  • Enhancing User Experience of the Design Tools Suite in Android Studio 4.1: Detailed introduction to various changes in the layout editor, resource manager, navigation editor, and updates to keyboard shortcuts to accelerate the interface design process.

    https://medium.com/androiddevelopers/design-tools-suite-ux-enhancements-in-android-studio-4-1-60c11f54ddb0

  • Introducing Motion Editor: Helping you quickly understand the newly launched Motion Editor and how to use this latest feature to create animations for your application.

    https://android-developers.googleblog.com/2020/07/introducing-motion-editor.html

You can learn about layout debugging and layout inspector updates. Explore the latest developments in Jetpack Compose Design Tools, and how to use the new database inspector in Android Studio. You are also welcome to explore the latest development tools we provide for Jetpack Hilt in Android Studio.
  • Layout Inspector

    https://youtu.be/jyMo18IERLc

  • Latest Developments in Jetpack Compose Design Tools

    https://youtu.be/exjL2kGPngI

  • How to Use the New Database Inspector in Android Studio

    https://youtu.be/UMc7Tu0nKYQ

  • Jetpack Hilt in Android Studio
    https://medium.com/androiddevelopers/dagger-navigation-support-in-android-studio-49aa5d149ec9

We also released four articles introducing the build system in Android developer tools:

  • New APIs in Android Gradle Plugin

    https://medium.com/androiddevelopers/new-apis-in-the-android-gradle-plugin-f5325742e614

  • Understanding Your Build with the Build Analyzer

    https://medium.com/androiddevelopers/understanding-your-build-with-the-build-analyzer-5c15688ec72e
  • Diving Deep into Configuration Caching

    https://medium.com/androiddevelopers/configuration-caching-deep-dive-bcb304698070
  • Shrinking Your App with R8

    https://medium.com/androiddevelopers/shrinking-your-app-with-r8-909efac25de4

This article about Android Emulator introduces the latest dynamics of virtual testing. Finally, to learn about the latest changes in performance tools, watch the performance analyzer about System Trace. Additionally, there is more information on C++ Memory Profiling with Android Studio 4.1.
  • Android Emulator
    https://medium.com/androiddevelopers/developing-for-android-11-with-the-android-emulator-a9486af2d7ef
  • Performance Analyzer about System Trace
    https://www.youtube.com/watch?v=EjmIit_amnE&feature=youtu.be
  • C++ Memory Profiling with Android Studio 4.1
    https://medium.com/androiddevelopers/native-memory-profiling-with-android-studio-4-1-33a9e6b44be
You can learn more through the “Android Developer Tools” Learning Path, Video List, and Previous Articles.
  • “Android Developer Tools” Learning Path
    https://developer.android.google.cn/courses/pathways/android-week7-developer-tools
  • Video List
    https://www.youtube.com/playlist?list=PLWz5rJ2EKKc95jeR9iSR8g_IV5TQhkaC2

Google Play App Distribution and Monetization

We released 3 videos to help you quickly understand the new content and changes in the Google Play Console:
  • Bilibili Video Collection Link

    https://www.bilibili.com/medialist/play/ml1042157758

We also shared the latest improvements to app bundles and plan to require that new applications and games be published in this format in the second half of 2021. Developers can now request ratings and reviews from within the app through the new in-app review API!
Don’t forget our more transparent subscription policy, which helps increase user trust in Google Play Billing. We also expanded the feature set to better engage and retain users, and launched Play Billing Library 3, which developers will need to use starting in mid-2021.
In July, we launched Google Play Pass in nine new markets. Developers using both Google Play Pass and Google Play direct billing earn 2.5 times the revenue in the US compared to developers who only use Google Play Pass, and it does not reduce the revenue from the Play Store. You can visit the official documentation for more details and submit your participation intention.
  • Nine New Markets
    https://blog.google/products/google-play/google-play-pass-new-apps-games-plans-and-availability/
  • Official Documentation
    https://developer.android.google.cn/google-play/guides/play-pass
  • Submit Participation Intention
    https://docs.google.com/forms/d/e/1FAIpQLSdmL0YkKrklqZHTcb6sVZLnSXA7Tf5TELppa0mx7tAn1x3AJA/viewform
You can learn more through the “Google Play App Distribution and Monetization” Learning Path, Video List, and Previous Articles.
  • “Google Play App Distribution and Monetization” Learning Path
    https://developer.android.google.cn/courses/pathways/android-week8-app-distribution-monetization
  • Video List
    https://www.youtube.com/playlist?list=PLWz5rJ2EKKc_WqAZ2HEGMAX7wQGIg5T46

Android, Beyond Phones

We highlighted:

  • Android TV: Especially the latest changes in Android TV, we also shared six new ways coming soon and new resources that can help developers start building their first Android TV applications, even diving into new integrations such as Cast Connect and seamless subscriptions.

  • Latest Changes in Android TV
    https://www.youtube.com/watch?v=OOV6Ef9zDg0&list=PLWz5rJ2EKKc-Z8NeBXJkf1bzUVhx3fvh4&index=2
  • Six New Ways Coming Soon
    https://android-developers.googleblog.com/2020/08/6-new-ways-to-engage-with-users-on.html
  • New Resources
    https://medium.com/androiddevelopers/android-tv-best-practices-for-engaging-apps-acd0219ff395
  • Cast Connect
    https://www.youtube.com/watch?v=3L-XjCf018s&list=PLWz5rJ2EKKc-Z8NeBXJkf1bzUVhx3fvh4&index=3
  • Seamless Subscriptions
    https://www.youtube.com/watch?v=ARuf97ncE4w&list=PLWz5rJ2EKKc-Z8NeBXJkf1bzUVhx3fvh4&index=4
  • Android for Cars: We introduced how to reach more drivers through Android for Cars, and the first car equipped with the Android Automotive Operating System and built-in Google apps and services – Polestar 2. As more car manufacturers launch vehicles with this embedded functionality, developers can build media applications on the Android Automotive Operating System more easily with updated documentation and simulators.

  • Android for Cars

    https://android-developers.googleblog.com/2020/08/android-for-cars.html

  • Android Automotive Operating System

    https://source.android.com/devices/automotive/start/what_automotive

  • Polestar 2

    https://www.polestar.com/us/polestar-2/

  • Documentation

    https://developer.android.google.cn/training/cars/media/automotive-os

  • Simulators

    https://developer.android.google.cn/training/cars/testing#system-images

  • Big Screens: ChromeOS.dev is a dedicated resource for technical developers, designers, product managers, and business leaders. Welcome to learn how to extend your applications beyond phones and Android development on Chrome OS best practices.
  • ChromeOS.dev
    https://chromeos.dev
  • Phones
    https://www.youtube.com/watch?v=ukFjRUIzcaI
  • Android Development on Chrome OS
    https://www.youtube.com/watch?v=-e08ixmih20
  • Wear OS: Learn about the improvements coming in this platform’s upcoming release this fall.
  • Improvements
    https://android-developers.googleblog.com/2020/08/whats-happening-in-wear-os-by-google.html
You can learn more through the Learning Paths, Video Lists, and Previous Articles.
  • Android TV Learning Path
    https://developer.android.google.cn/courses/pathways/android-week9-android-tv
  • Big Screens Learning Path
    https://developer.android.google.cn/courses/pathways/android-week9-large-screens
  • Video List: Android, Beyond Phones
    https://www.youtube.com/playlist?list=PLWz5rJ2EKKc9fvWc2PYBQx1ubxUZNn1kf
  • Previous Articles
    https://android-developers.googleblog.com/2020/08/11-weeks-of-android-beyond-phones.html

Games and Media

We shared some game updates and brought you a special episode of The Android Game Developer Show.
  • The Android Game Developer Show
    https://www.youtube.com/watch?v=DKVEL0_Gpzs&feature=youtu.be
  • Starting with the Android tools for mobile game development, we incorporated an enhanced version of the CPU Profiler’s System Trace view in Android Studio 4.1, and added the Native Memory Profiler. Register to get the developer preview of the Android Game Development Extension and Android GPU Inspector.

  • System Trace
    https://medium.com/androiddevelopers/whats-new-in-android-studio-system-trace-5841465c5935
  • Native Memory
    https://medium.com/androiddevelopers/native-memory-profiling-with-android-studio-4-1-33a9e6b44be
  • Android Game Development Extension
    https://services.google.com/fb/forms/androidgamedevelopmentextension-developerpreview/
  • Android GPU Inspector
    https://gpuinspector.dev/
  • Dive deep into Android Performance Tuner, learn how it explains annotations, quality levels, and fidelity parameters, and best practices for use.

  • Android Performance Tuner
    http://developers.android.google.cn/performance-tuner
  • Google Play Asset Delivery also brings app bundles for games. Through the new Codelab, help you smoothly integrate Android Performance Tuner and Google Play Asset Delivery into Unity or native C/C++ games.
  • Google Play Asset Delivery
    https://developer.android.google.cn/guide/app-bundle/asset-delivery
  • Codelab
    https://medium.com/androiddevelopers/codelabs-for-new-android-game-technologies-486a847eb92e
  • Android Performance Tuner
    https://developer.android.google.cn/games/sdk/performance-tuner
  • Google Play Asset Delivery
    https://developer.android.google.cn/guide/app-bundle/asset-delivery
  • To support your market entry, we launched the open beta of Play Games Services – Friends, allowing you to build and enhance in-game friend networks and giving your game a chance to appear in the new clusters of the Google Play Games app.
  • Play Games Services – Friends
    https://developers.android.google.cn/games/services/common/concepts/friends
  • The Google Play Console beta showcases a new release management experience and first-day auto-install updates, a new Google Play feature that allows users to request automatic installation of your game during pre-registration. Learn how to optimize the product detail page to fully leverage the greatly enhanced visual experience of Google Play for games, and how the new in-app review API allows you to prompt users to leave comments in the game without returning to the app detail page.
Manage app releases easily
  • Request automatic installation of your game during pre-registration
    https://support.google.com/googleplay/android-developer/answer/9859047?_ga=2.231733915.521848568.1594959946-295916848.1580755207
  • Optimize the product detail page
    https://support.google.com/googleplay/android-developer/answer/1078870?hl=en
  • In-app Review API
    https://developer.android.google.cn/guide/playcore/in-app-review
Ensure your application uses a MediaSession token with a valid MediaStyle to take full advantage of the new media controls in Android 11. You can learn more about supporting media recovery methods, including how to make your application discoverable through MediaBrowserServiceCompat, using EXTRA_RECENT hints to help recover content, and handling onPlay and onGetRoot callbacks. Also, how to use the updated MediaRouter Jetpack Library and UAMP Sample.
  • MediaSession
    https://developer.android.google.cn/guide/topics/media-apps/working-with-a-media-session
  • MediaStyle
    https://developer.android.google.cn/reference/androidx/media/app/NotificationCompat.MediaStyle
  • MediaBrowserServiceCompat
    https://developer.android.google.cn/reference/androidx/media/MediaBrowserServiceCompat
  • EXTRA_RECENT
    https://developer.android.google.cn/reference/kotlin/androidx/media/MediaBrowserServiceCompat.BrowserRoot#EXTRA_RECENT:kotlin.String
  • onPlay
    https://developer.android.google.cn/reference/kotlin/android/support/v4/media/session/MediaSessionCompat.Callback#onPlay()
  • onGetRoot
    https://developer.android.google.cn/reference/android/service/media/MediaBrowserService#onGetRoot(java.lang.String,%20int,%20android.os.Bundle)
  • MediaRouter Jetpack Library
    https://developer.android.google.cn/jetpack/androidx/releases/mediarouter
  • UAMP Sample
    https://github.com/android/uamp
Finally, we introduced several ways to benefit applications from 5G. Android 11 adds new APIs and updates existing APIs to ensure you have all the tools needed to take full advantage of 5G capabilities, such as enhanced bandwidth estimation APIs, 5G detection capabilities, and new metering tags from cellular operators. Now, the Android Emulator allows you to develop and test these APIs without a 5G device or network connection. More content can be found in our Android 5G Section.
  • Benefit Applications from 5G
    https://developer.android.google.cn/training/connectivity/enhance-with-5g
  • Bandwidth Estimation API
    https://developer.android.google.cn/preview/features/5g#estimator
  • 5G Detection Capabilities
    https://developer.android.google.cn/preview/features/5g#detection
  • Metering Tags
    https://developer.android.google.cn/preview/features/5g#meteredness
  • Android Emulator
    https://developer.android.google.cn/preview/behavior-changes-all#emulator-5g
  • Android 5G Section
    http://developer.android.google.cn/5g
You can learn more through the “Games and Media” Learning Path, Video List, and Previous Articles. Visit the official documentation to get all the tools and resources we provide for game developers.
  • “Games and Media” Learning Path
    https://developer.android.google.cn/courses/pathways/android-week10-games-and-media
  • Video List
    https://www.youtube.com/playlist?list=PLWz5rJ2EKKc9hyU9KryXE5AFWiRKLCQY4
  • Official Documentation
    https://developer.android.google.cn/games

UI and Compose

To help you quickly master Compose, we released four new Codelabs, nine new samples, and related new documentation. The Compose team also released a podcast, along with more introduction videos for your reference.
  • Four New Codelabs
    https://developer.android.google.cn/courses/pathways/compose
  • Nine New Samples
    https://github.com/android/compose-samples
  • New Documentation
    https://developer.android.google.cn/jetpack/compose
  • Video: Understanding the Programming Philosophy of Compose
    https://www.youtube.com/watch?v=SMOhl9RK0BA
  • Video: Understanding How Jetpack Compose Simplifies Android Interfaces
    https://www.youtube.com/watch?v=DDd6IOlH3io
  • Video: “Compose for Existing” Applications
    https://www.youtube.com/watch?v=PjQdFmiDgwk
One of the new features of Android 11 is that applications can seamlessly transition between the opening and closing of the on-screen keyboard. To learn how to add this to your application, check the technical documentation and sample applications.
  • Technical Documentation
    https://medium.com/androiddevelopers/animating-your-keyboard-fb776a8fb66d
  • Sample Applications
    https://github.com/android/user-interface-samples/tree/master/WindowInsetsAnimation
We recommend that you refer to the Material Design Guidelines to ensure your application runs consistently while ensuring user habits can continue. Learn more about using the Material Design Components (MDC) library, Material Theming (Color, Type, and Shape), dark themes, and Material’s Motion System. If you have not yet migrated to MDC, you can first check our migration guide.
  • Recommendations
    https://medium.com/androiddevelopers/we-recommend-material-design-components-81e6d165c2dd
  • Material Design Guidelines
    https://material.io/design/introduction
  • Material Design Components (MDC) Library
    https://github.com/material-components/material-components-android
  • Color
    https://medium.com/androiddevelopers/material-theming-with-mdc-color-860dbba8ce2f
  • Type
    https://medium.com/androiddevelopers/material-theming-with-mdc-type-8c2013430247
  • Shape
    https://medium.com/androiddevelopers/material-theming-with-mdc-shape-126c4e5cd7b4
  • Motion System
    https://medium.com/androiddevelopers/building-beautiful-transitions-with-material-motion-for-android-c1f09bb90bf9/
  • Migration Guide
    https://medium.com/androiddevelopers/migrating-to-material-components-for-android-ec6757795351
It can even simplify your migration with new libraries such as the MDC Compose Theme Adapter, which converts MDC XML themes to Compose `MaterialTheme`.
  • MDC Compose Theme Adapter
    https://github.com/material-components/material-components-android-compose-theme-adapter
  • `MaterialTheme`
    https://developer.android.google.cn/reference/kotlin/androidx/compose/material/package-summary#materialtheme
You can learn more through the Compose Learning Path, “Modern Interfaces” Learning Path, Video List, and Previous Articles.
  • Compose Learning Path
    https://developer.android.google.cn/courses/pathways/compose
  • “Modern Interfaces” Learning Path
    https://developer.android.google.cn/courses/pathways/android-week11-modern-ui
  • Video List
    https://www.youtube.com/playlist?list=PLWz5rJ2EKKc-GZBw-Z4f7i9dBVUbF2vad

Resources

You can get all the theme content on the Android 11 Tab, or check the complete video list of #11WeeksOfAndroid video content. Clicking on the original text to visit the official website can also provide more information on the theme. Please continue to follow us, and we look forward to your feedback. Thank you for being with us!
  • Complete Video List
    https://www.youtube.com/user/androiddevelopers
  • Bilibili Video Collection
    https://space.bilibili.com/64169458/channel/detail?cid=133709
  • Learn More About the Theme
    http://developer.android.google.cn/android11
Exploring Android 11: A Comprehensive Overview

Exploring Android 11: A Comprehensive Overview

Leave a Comment

Your email address will not be published. Required fields are marked *