Skip to main content

How to make sure your app is ready for Android 11: Android 11 Beta for devs

Android 11 beta for developers

Credit: Edgar Cervantes / Android Authority

After a brief delay, Android 11 Beta is now available. You can grab it here.

This means it’s well and truly “go time” for developers who need to ensure that their apps are in tip-top shape to support the new operating system before the full roll-out. And with this update coming hot off the heels of Android Studio 4.0, the new Google Play Console beta, and Google Play Asset delivery, it looks as though we’re going to have

So what do you need to know? What’s new from the previous developer previews? As always, Google has a blog post detailing everything at length. But read on and we’ll take a brief overview of what’s likely to be relevant for most developers, and recap on what we already know about Android 11 from the developer previews.

New Android 11 Beta features for developers

Google says that its aim for Android 11 is for it to be “people-centric” and “expressive.” To that end, the new features largely revolve around quick-access controls and communication features.

A few of the highlights that developers need to be aware of include:

Conversation Notifications

These will now have their own dedicated section in the notification shade. Conversations will then be opened as bubbles when selected. You’ll also be able to copy and paste images between inline replies!

Bubbles

After being in development seemingly for forever, bubbles will finally make its prime-time debut in Android 11. Developers need to use the Bubbles API if they want to take advantage of the feature. You can find information on this here.

We also wrote a full tutorial on how to implement bubbles, all the way back in 2019!

Voice access

Voice control is now augmented by an impressive on-device “visual cortex” that will provide useful contextual information about what’s on the screen.

Device controls

Long pressing the power button will provide quick access to numerous controls. If you wish for your own settings to be included here, then you will need to declare a ControlsProviderService. You can find out how to do that here.

One-time permissions

This is one that we already knew about thanks to the developer previews. Essentially, users will now have the option to accept a permission a single time only. That will require you to make some tweaks to the way you currently handle permissions. You can get all the information you need here.

Permissions auto-reset

We now also know that if a user hasn’t used an app for a while, the permissions will “auto-reset.” This means the app will need to request permission again when it is relaunched. Here’s what you need to know.

Background location

Developers also need to get approval when accessing background location. Developers will have until 2021 to implement this, but there’s no time like the present! Find out more here.

Other updates from the developer previews

While these are the new or updated changes for developers to be aware of in the Android 11 Beta, there’s a lot more to keep in mind that we already know about from the Android 11 Developer Previews.

Also read: Android 11 will help prevent curved screens from breaking your apps

We’ve already broken these features down in detail here. But to quickly recap:

  • Developers will be able to access more information about 5G connections via the Dynamic meteredness API and bandwidth estimator API. The 5G state API will let you know if a user is connected.
  • Scoped storage will be mandatory for all apps targeting Android 11. You can learn more about this here.
  • BiometricPrompt will now support all authenticator types and levels of granularity
  • Apps can send camera capture requests that enable bokeh mode
  • Low-latency video-decoding is here
  • ADB incremental will let users install large APKs up to 10x faster
  • Devs can request the location of the hinge on foldable devices to adapt layouts

Quality of life for devs

Google seems to keen to keep developers happy with this new update. Breaking changes are toggle-able for instance and will be gated until you explicitly target Android 11 in the manifest. Wireless ADB debugging and ADB incrementals should also make life easier for developers

Google has revealed more new stuff for developers lately too, including “Android Performance Tuner” as part of the Android Game SDK, that will provide useful game performance insights in Android Vitals. Android Studio also has some new features to play around with in 4.1 Beta and 4.2 Canary, where you can try out the wireless debugging and a more intuitive emulator (now embedded within the IDE).

Also read: Android 11 Developer Preview: What developers need to know

For more on all these features, keep it tuned to Android Authority! And be sure to check back here as new features roll out, to ensure your apps are up-to-date.



source https://www.androidauthority.com/android-11-beta-developers-1129606/

Comments

Popular posts from this blog

5 tips to Voice Speech Recognition in Android Marshmallow

Android Marshmallow landed on our Android devices. The opportunity for us to offer a small compilation of tricks to try immediately. The latest version of the Google OS starts (very gently, unhurriedly) to be offered on other devices as Nexus. You will find on Android TM, in the coming weeks, a compilation of the best tips for Android 6.0 Marshmallow. It starts slowly with a video featuring the 10 essential tips & tricks of this new version of the little green robot OS. To continue, we offer a selection of five "tricks" on the management of the battery on Android 6.0 Marshmallow. To enjoy longer your newly updated mobile. Follow the guide. then continue with 5 tips to tame the super-assistant Google Now on Tap. Here you will find 5 "tips" to manage in the best way your applications. We then discuss the quick tips to navigate more easily on this version of the Google OS. We enchanters with features focused on safety and the protection of personal data. We co...

Energy Android TV Play turns your TV into a Smart TV

ENERGY SISTEM Android Energy TV Play, you have a smart TV with Android operating system allows you to convert any traditional TV has announced the launch of a new product. Energy Android TV Play can be connected to the TV to enjoy f the size of a flash drive, a smart phone, a tablet and a computer unconsolidated is a lightweight device. System 1.6 GHz, DDR3 1GB of RAM and a dual-core processor can be expanded using external USB devices, which is the internal memory of 8 GB. It also integrates WiFi and a USB port for connecting external devices. One of its outstanding features, it is easily connected to the TV screen by screen cast application to display the contents of any terminal, making any phone or tablet is synchronized with iOS or Android. All ENERGY SISTEM products one click In addition, through streaming media service applications, images, video or other multimedia content, and game play is the ability to share. With integrated WiFi, the device you want from t...

How to run Python apps on any platform

Credit: Adam Sinicki / Android Authority Want to know how to run Python? It sounds simple, but it can actually be tricky to figure this out. In this post, we’ll discuss how to test your Python code, as well as how to run Python in other contexts: online for example, or as a packaged app. Sometimes, the thing holding you back from learning to code can be extremely simple. I remember wanting to learn to program when I was younger – or learning to take what I’d learned from BASIC on the ZX Spectrum and apply that to a modern environment. My problem? I didn’t know “where” to program. Once I understood C# or Java, where would I enter the code and how would I run it? And whenever I asked someone, they would look at me blankly. What kind of a question is that? Thing is, I had never needed an IDE or an interpreter before. Machines like the ZX Spectrum and Tatung Einstein (any other Einstein users out there?) simply booted up with a prompt to code into! Many people have a similar iss...