Google within the current day launched Android 11, the newest mannequin of its mobile OS, and pushed the availability code to the Android Open Source Project (AOSP). Unlike earlier principal variations, Android 11 just is not solely arriving as an over-the-air update to Pixel phones first, however as well as on OnePlus, Xiaomi, Oppo, and Realme telephones “with more partners launching and upgrading devices over the coming months.” Update at 1:30 PM Pacific: Some of the phone makers prompted some confusion within the current day by releasing their very personal “Android 11 beta.” All the betas are for his or her custom-made UIs, nonetheless, primarily based totally on the final word assemble of Android 11, a Google spokesperson confirmed.
That’s a big departure for Android, updates for which take months to attain due to carriers and machine makers dragging their ft. It doesn’t help that Android is the dominant mobile working system accessible on 1000’s of assorted machine configurations, powering over 2.5 billion month-to-month vigorous devices. With Android 11 poised to in all probability arrive on further devices and sooner, builders who didn’t reap the advantages of the Android 11 beta course of may need to catch up and guarantee their apps and video video games are ready for firms and clients alike.
Android 11 has had a rocky beta schedule. Last yr, there have been six betas. This yr, we observed four developer previews and three betas. Google launched Android 11 DP1 in February (the earliest it has ever launched an Android developer preview), Android 11 DP2 in March, and Android 11 DP3 in April. Android 11 Beta 1 was presupposed to arrive in May, nonetheless we acquired Android 11 DP4 as a stopgap measure. Beta 1 arrived in June, adopted by Beta 2 in July and Beta three in August. Beta 1 would have normally been confirmed off at Google’s I/O developer conference, the place the first Android beta typically debuts, nonetheless the event was canceled due to the coronavirus. #Android11: the Beta Launch Show was presupposed to happen in lieu, nonetheless Google postponed after which lastly canceled that as properly on account of protests over systemic racism and police brutality.
Android 11 choices
Android 11 brings a protracted guidelines of newest choices. Google initially break up them into three themes: People, Controls, and Privacy. But there’s moreover help for 5G, new screen types, and call screening. There’s even a frame rate API for serving to apps and video video games undertake variable refresh costs, which is able to in all probability be an enormous focus over the next few years as telephones and TVs undertake the attribute from laptop shows. Google moreover expanded the Neural Networks API for working computationally intensive machine finding out operations.
The workers moreover snuck in one other change on the end of the beta course of: the newest COVID-19 Exposure Notification API that Google developed with Apple. In late July, Google up to date its mannequin of the system with help for interoperability between worldwide places and launched that Android 11 apps can use the API with out having to activate the machine location setting.
Android 11 people choices
Android 11 is supposed to be “more people-centric and expressive” so that it “can recognize and prioritize the most important people in your life.” In completely different phrases, depend on a number of messaging efficiency:
- Conversation notifications appear in a loyal half on the prime of the shade, with a people-forward design and conversation-specific actions, akin to opening the dialog as a bubble, making a dialog shortcut on the home show display screen, or setting a reminder.
- Bubbles help clients to keep conversations in view and accessible whereas multitasking. Google wants messaging and chat apps to make use of the Bubbles API on notifications in Android 11.
- Consolidated keyboard methods let Autofill apps and Input Method Editors (IMEs) securely present context-specific entities and strings immediately in an IME’s suggestion strip.
- Voice Access, for people who administration their phone solely by voice, now comprises an on-device seen cortex that understands show display screen content material materials and context, and generates labels and entry elements for accessibility directions.
Android 11 controls choices
Android 11 makes it easier to handle your good devices:
- Device Controls help clients entry and administration their associated devices. Simply long-press the power button to convey up machine controls instantly. Apps can use a model new API to look throughout the controls.
- Media Controls permit you to change the output machine for audio or video content material materials, whether or not or not it is headphones, audio system, and even the TV. You can permit this within the current day from Developer Options, and it’s going to be on by default in an upcoming Beta launch.
Android 11 privateness choices
Android 11 moreover brings further administration over delicate permissions and retains devices safer by sooner updates:
- One-time permission helps you to give an app entry to the machine microphone, digital digital camera, or location merely that one time. The app can request permissions as soon as extra the next time the app is used.
- Background location: Developers have to get approval to entry background location of their app to cease misuse, nonetheless Google gained’t be imposing this beforehand launched protection for current apps until 2021.
- Permissions auto-reset: If you haven’t used an app for an extended time interval, Android 11 will “auto-reset” your complete runtime permissions associated to the app and notify you. The app can request the permissions as soon as extra the next time the app is used.
- Scoped storage: Google has improved this attribute to raised defend app and shopper data on exterior storage, and made extra enhancements to help builders further merely migrate.
- Google Play System Updates, launched remaining yr, expedite updates of core OS components to devices throughout the Android ecosystem. Google is doubling the number of updatable modules. The 12 new modules will help improve privateness, security, and consistency for purchasers and builders.
- BiometricPrompt API: Developers can specify the biometric authenticator power required by their app to unlock or entry delicate parts of the app. For backward compatibility, Google added these capabilities to the Jetpack Biometric library.
- Identity Credential API: New use cases akin to mobile driver’s licences, National ID, and Digital ID.
If you’re a developer, it is best to arrange your manufacturing app on a software or emulator working Android 11, check out the entire shopper flows and choices, and guarantee not one of many modifications break one thing. Before exploring the new APIs and capabilities, start by testing your current app and releasing a compatibility substitute.
Top habits modifications embrace:
These apply regardless of your app’s targetSdkVersion.
While these modifications will solely affect Android 11 clients, each people who up to date to it or purchased a model new machine, that additionally interprets to 1000’s and 1000’s of devices. Android 11 moreover comprises opt-in behavior changes — these affect your app as quickly because it’s concentrating on the model new platform.
Google recommends builders dive into the subsequent choices for all Android 11 apps: dark theme, gesture navigation, Sharing Shortcuts API, synchronized IME transitions, and new screen types. Notably, the first three had been initially added in Android 10. Otherwise, Google recommends exploring these choices within the occasion that they’re associated to your app: Conversations, Bubbles API, 5G, device controls, and media controls.
You may also want to receive Android 11 factory system images for Pixel devices, Generic System Images, the Android Flash Tool, and the newest Android Emulator system photos by the use of the SDK Manager in Android Studio.