News

Unwrapping the Android 11 Beta, plus extra developer updates

unwrapping-the-android-11-beta-plus-extra-developer-updates

Posted by Stephanie Cuthbertson, Director, Product Administration

Editor’s be aware: The worldwide group of Android builders has all the time been a robust power in shaping the path of the Android platform; every voice issues to us. Now we have cancelled the digital launch occasion to permit folks to give attention to vital discussions round racial justice in the USA. As a substitute, we’re releasing the Android 11 Beta at this time in a a lot completely different kind, through short-form movies and internet pages that you may eat at your individual tempo when the time is best for you. Tens of millions of builders around the globe construct their enterprise with Android, and we’re releasing the Beta at this time to proceed to assist these builders with the most recent instruments. We humbly thank those that are capable of provide their suggestions on this launch.

In the present day, we’re unwrapping the Beta launch for Android 11 in addition to the most recent updates for builders from Kotlin coroutines, to progress on the Jetpack Compose toolkit, to quicker builds in Android Studio, even a refreshed expertise for the Play Console.

Android 11 Beta: now out there

You’ve been serving to us with suggestions on the Android 11 developer previews since February, and at this time we launched the primary Beta of Android 11 targeted on three key themes: Individuals, Controls, and Privateness.

Individuals: we’re making Android extra people-centric and expressive, reimagining the way in which we have now conversations on our telephones, and constructing an OS that may acknowledge and prioritize an important folks in your life:

Dialog notifications seem in a devoted part on the prime of the shade, with a people-forward design and dialog particular actions, similar to opening the dialog as a bubble, making a dialog shortcut on the house display screen, or setting a reminder.

Bubbles assist customers to maintain conversations in view and accessible whereas multitasking. Messaging and chat apps ought to use the Bubbles API on notifications to allow this in Android 11.

Consolidated keyboard strategies let Autofill apps and Enter Technique Editors (IMEs) securely provide context-specific entities and strings immediately in an IME’s suggestion strip, the place they’re most handy for customers.

Voice Entry, for individuals who management their cellphone completely by voice, now contains an on-device visible cortex that understands display screen content material and context, and generates labels and entry factors for accessibility instructions.

gif of people features such as prioritize messages across apps from the VIPs in your life

Controls: the most recent launch of Android can now assist you’ll be able to rapidly get to your entire good units and management them in a single house:

Machine Controls make it quicker and simpler than ever for customers to entry and management their related units. Now, by merely lengthy urgent the facility button, they’re capable of carry up system controls immediately, and in a single place. Apps can use a brand new API to look within the controls. Extra right here.

Media Controls make it fast and handy for customers to modify the output system for his or her audio or video content material, whether or not it’s headphones, audio system and even their TV. You possibly can allow this at this time from Developer Choices, and it will likely be on by default in an upcoming Beta launch. Extra right here.

Controls gif including Smart home controls, payment methods and more, all in one place

Privateness: In Android 11, we’re giving customers much more management over delicate permissions and dealing to maintain units safer by means of quicker updates.

One-time permission lets customers give an app entry to the system microphone, digicam, or location, simply that one time. The app can request permissions once more the following time the app is used. Extra right here.

Permissions auto-reset: if customers haven’t used an app for an prolonged time frame, Android 11 will “auto-reset” the entire runtime permissions related to the app and notify the person. The app can request the permissions once more the following time the app is used. Extra right here.

Background location: In February, we introduced builders might want to get approval to entry background location of their app to stop misuse. We’re giving builders extra time to make adjustments and will not be implementing the coverage for present apps till 2021. Extra right here.

Google Play System Updates, launched final 12 months, lets us expedite updates of core OS elements to units within the Android ecosystem. In Android 11, we greater than doubled the variety of updatable modules, and people 12 new modules will assist enhance privateness, safety, and consistency for customers and builders.

Privacy gif including more ways to keep your data secure with one-time permissions and permissions auto-reset.

Developer friendliness: We wish to make it straightforward for builders to benefit from the brand new launch, so to make compat testing simpler, we’ve:

Gated most breaking adjustments till you goal Android 11 (so that they gained’t take impact till you explicitly change your manifest)

Added new UI in developer choices to allow you to toggle many of those adjustments for testing

added a brand new Platform Stability launch milestone the place all API and habits adjustments will probably be full, so you’ll be able to finalize your app updates figuring out the platform is secure.

Android 11 additionally contains plenty of different developer productiveness enhancements like wi-fi ADB debugging, ADB incremental for quicker installs of enormous APKs, and extra nullability annotations on platform APIs (to catch points at construct time as an alternative of runtime), and extra.

The primary Beta for Android 11 is offered at this time, with last SDK and NDK APIs and new options to attempt in your apps. In case you have a Pixel 2, three, 3a, or four system, enroll right here to get Android 11 Beta updates over-the-air. As all the time, downloads for Pixel and the Android Emulator are additionally out there. To find out about the entire developer options in Android 11, go to the Android 11 developer website.

Fashionable Android improvement

Over the previous a number of years, the Android group has been laborious at work bettering the cellular developer expertise, to make you extra productive. This contains the Android Studio IDE, an awesome language (Kotlin!), Jetpack libraries to make frequent duties straightforward, and Android App Bundles to enhance app distribution. In the present day we name this trendy Android improvement – bringing you one of the best of Android to make you as environment friendly and productive as doable.

Modern android development showcasing new logos gif

Android Studio

In the present day, we launched new options in Android Studio four.1 Beta and four.2 Canary, targeted on plenty of essential asks from builders:

Debugging is less complicated with wi-fi debugging over ADB with Android 11 units. We additionally added the Database Inspector and Dependency Injection (Dagger) instruments;

Machine testing is healthier, with the Android Emulator now hosted immediately contained in the IDE. Exams now run side-by-side so you’ll be able to see outcomes from a number of units on the similar time. And we’ve improved the system supervisor to extra simply deal with your units.

Machine studying is less complicated — now you can import your fashions for ML Package and TensorFlow Lite immediately within the IDE.

Construct and deployment are quicker because of Kotlin Image Processing, caching of the duty graph in Gradle, and quicker app deployment to all units on Android 11. And the brand new construct analyzer may help you diagnose the place your construct could have bottlenecks.

Video games tooling is extra highly effective with an up to date efficiency profiler UI, an overhauled System Hint device, and assist for native reminiscence profiling.

Android Studio - New Features, 4.1 Beta & 4.2 Canary

Check out the most recent: Android Studio four.1 Beta and Android Studio four.2 Canary.

Kotlin and Jetpack

Languages and libraries are a significant space of funding in trendy Android improvement, with Kotlin’s trendy, concise language and Jetpack’s opinionated highly effective libraries all targeted round making you extra productive.

With the rise in Kotlin adoption (with over 70% of prime 1000 apps on Google Play now utilizing Kotlin) and so many builders utilizing Kotlin, we will now use it to simplify your expertise in new methods. Kotlin coroutines are a language function of Kotlin which make concurrent calls a lot simpler to write down and perceive. We’re making coroutines our official advice, and we’ve constructed coroutines assist into three of the most-used Jetpack libraries — Lifecycle, WorkManager, and Room — so you’ll be able to write even higher code.

Kotlin itself additionally continues to get higher with each launch, because of the superior group at Jetbrains. Kotlin 1.four gives quicker code completion, extra highly effective sort inference enabled by default, perform interfaces, in addition to useful high quality of life enhancements like mixing named and positioning arguments.

We additionally proceed to push Jetpack ahead – a set of libraries which spans a number of Android releases and is designed to make frequent cellular improvement patterns quick and straightforward. Many people have lengthy cherished Dagger, so we labored with the Dagger group to carry you Hilt, a developer-friendly wrapper on prime of Dagger, as a really useful Dependency Injection resolution for Android. You’ll discover this in alpha able to check out. We’ve additionally added a second new library App Startup, to assist each app builders and library builders enhance app startup time by optimizing initialization of libraries. Now we have many extra updates to present libraries as properly, together with a significant replace to Paging three, rewritten Kotlin-first with full assist for coroutines!

The most recent on our new UI toolkit, Compose

There’s yet one more factor you’ll want to be tremendous productive — and that’s a robust UI toolkit to rapidly and simply construct lovely UIs on Android, with native entry to the platform APIs. That’s why we’re constructing Jetpack Compose, our new trendy UI toolkit that brings your app to life with much less code, highly effective instruments, and intuitive Kotlin APIs.

In the present day we’re launching Jetpack Compose Developer Preview 2, filled with options builders have been asking us for:

Interoperability with Views (begin mixing Composable capabilities in your present app) (new!)

Animations (new!)

Testing (new!)

Constraint Structure (new!)

Adapter checklist (new!)

Materials UI elements

Textual content and editable Textual content (new!)

Theming and Graphics

Window administration

Enter and Gestures

We have additionally added plenty of new capabilities to Android Studio four.2, in shut partnership with Jetbrains Kotlin group, that can assist you construct apps with Compose:

Kotlin compiler plugin for code technology

Compose Preview Annotations

Actual-time interactive Compose previews

Deploy particular person composables to system

Compose Code completion

Pattern Information API for Compose

Compose isn’t prepared for manufacturing use but, particularly as we end efficiency optimizations, however we’d love you to present it a try to share suggestions. We plan to launch Alpha this summer season and 1.zero subsequent 12 months.

An all-new Google Play Console

Google Play is concentrated on serving to builders develop their enterprise. With that mission in thoughts, we have redesigned the Google Play Console that can assist you maximize your success on our platform. Along with being clearer and simpler to make use of, we have added options that can assist you:

Discover, uncover, and perceive options that can assist you thrive on Google Play

Discover new steerage on coverage adjustments, launch standing, and person suggestions

Higher perceive efficiency insights with new acquisition reviews

Allow everybody in your group to make use of Play Console options with new person administration choices

Be taught extra in regards to the new Google Play Console on this submit or be a part of the beta now at play.google.com/console. Your suggestions helps us proceed to enhance Google Play Console for everybody, so please tell us what you suppose.

Wrapping all of it up

However there’s a lot extra we’re launching that we didn’t get to speak about!

Now we have 12 talks we simply posted proper on the Android Builders YouTube channel.

We’re launching 11 Weeks of Android to maintain the dialog going, with new developer content material every week on matters you’ve requested for, like UI, Jetpack and Machine Studying. Try the schedule right here to be taught extra.

We’re introducing a worldwide sequence of on-line group meetups to debate what’s new in Android 11, how you can make your app appropriate, and the necessities and greatest practices of recent Android improvement. Discover an Android 11 Meetup close to you.

0 Comments

admin