Posted by Dave Burke, VP of Engineering
Right now we’re releasing the primary beta of Android 15. With the progress we have made refining the options and stability of Android 15, it is time to open the expertise as much as each builders and early adopters, so now you can enroll any supported Pixel machine right here to get this and future Android 15 Beta and have drop Beta updates over-the-air.
Android 15 continues our work to construct a platform that helps enhance your productiveness, give customers a premium app expertise, shield consumer privateness and safety, and make your app accessible to as many individuals as attainable — all in a vibrant and various ecosystem of gadgets, silicon companions, and carriers.
Android delivers enhancements and new options year-round, and your suggestions on the Android beta program performs a key position in serving to Android repeatedly enhance. The Android 15 developer web site has heaps extra details about the beta, together with downloads for Pixel and the launch timeline. We’re wanting ahead to listening to what you suppose, and thanks upfront on your continued help make Android a platform that works for everybody.
We’ll have heaps extra to share as we transfer via the discharge cycle, and make sure you tune into Google I/O the place you possibly can dive deeper into matters that curiosity you with over 100 classes, workshops, codelabs, and demos.
Edge-to-edge
Apps focusing on Android 15 are displayed edge-to-edge by default on Android 15 gadgets. Because of this apps now not have to explicitly name Window.setDecorFitsSystemWindows(false) or enableEdgeToEdge() to indicate their content material behind the system bars, though we suggest persevering with to name enableEdgeToEdge() to get the edge-to-edge expertise on earlier Android releases.
To help your app with going edge-to-edge, most of the Materials 3 composables deal with insets for you, primarily based on how the composables are positioned in your app based on the Materials specs.
The system bars are clear or translucent and content material will draw behind by default. Confer with “Deal with overlaps utilizing insets” (Views) or Window insets in Compose to see how one can stop essential contact targets from being hidden by the system bars.
Smoother NFC experiences – half 2
Android 15 is working to make the faucet to pay expertise extra seamless and dependable whereas persevering with to assist Android’s strong NFC app ecosystem. Along with the observe mode adjustments from Android 15 developer preview 2, apps can now register a fingerprint on supported gadgets to allow them to be notified of polling loop exercise, which permits for clean operation with a number of NFC-aware functions.
Inter-character justification
Beginning with Android 15, textual content could be justified using letter spacing through the use of JUSTIFICATION_MODE_INTER_CHARACTER. Inter-word justification was first launched in Android O, however inter-character solves for languages that use the white area for segmentation, e.g. Chinese language, Japanese, and so forth.
App archiving
Android and Google Play introduced assist for app archiving final 12 months, permitting customers to liberate area by partially eradicating sometimes used apps from the machine that had been printed utilizing Android App Bundle on Google Play. Android 15 now consists of OS degree assist for app archiving and unarchiving, making it simpler for all app shops to implement it.
Apps with the REQUEST_DELETE_PACKAGES permission can name the PackageInstaller requestArchive technique to request archiving a presently put in app bundle, which removes the APK and any cached information, however persists consumer information. Archived apps are returned as displayable apps via the LauncherApps APIs; customers will see a UI remedy to spotlight that these apps are archived. If a consumer faucets on an archived app, the accountable installer will get a request to unarchive it, and the restoration course of could be monitored by the ACTION_PACKAGE_ADDED broadcast.
App-managed profiling
Android 15 consists of the all new ProfilingManager class, which lets you gather profiling data from inside your app. We’re planning to wrap this with an Android Jetpack API that can simplify development of profiling requests, however the core API will permit the gathering of heap dumps, heap profiles, stack sampling, and extra. It gives a callback to your app with a equipped tag to determine the output file, which is delivered to your app’s information listing. The API does fee limiting to attenuate the efficiency impression.
Higher Braille
In Android 15, we have made it attainable for TalkBack to assist Braille shows which might be utilizing the HID normal over each USB and safe Bluetooth.
This normal, very similar to the one utilized by mice and keyboards, will assist Android assist a wider vary of Braille shows over time.
Key administration for end-to-end encryption
We’re introducing the E2eeContactKeysManager in Android 15, which facilitates end-to-end encryption (E2EE) in your Android apps by offering an OS-level API for the storage of cryptographic public keys.
The E2eeContactKeysManager is designed to combine with the platform contacts app to provide customers a centralized solution to handle and confirm their contacts’ public keys.
Secured background exercise launches
Android 15 brings extra adjustments to forestall malicious background apps from bringing different apps to the foreground, elevating their privileges, and abusing consumer interplay, aiming to guard customers from malicious apps and provides them extra management over their gadgets. Background exercise launches have been restricted since Android 10.
App compatibility
With Android 15 now in beta, we’re opening up entry to early-adopter customers in addition to builders, so if you have not but examined your app for compatibility with Android 15, now’s the time to do it. Within the weeks forward, you possibly can count on extra customers to attempt your app on Android 15 and lift points they discover.
To check for compatibility, set up your printed app on a tool or emulator operating Android 15 beta and work via your whole app’s flows. Evaluate the habits adjustments to focus your testing. After you have resolved any points, publish an replace as quickly as attainable.
To present you extra time to plan for app compatibility work, we’re letting you recognize our Platform Stability milestone properly upfront.
At this milestone, we’ll ship remaining SDK/NDK APIs and in addition remaining inside APIs and app-facing system behaviors. We’re anticipating to succeed in Platform Stability in June 2024, and from that point you’ll have a number of months earlier than the official launch to do your remaining testing. The discharge timeline particulars are right here.
Right now’s beta launch has every thing it’s essential to attempt the Android 15 options, take a look at your apps, and provides us suggestions. Now that we have entered the beta section, you possibly can enroll any supported Pixel machine right here to get this and future Android Beta updates over-the-air. If you happen to don’t have a Pixel machine, you possibly can use the 64-bit system pictures with the Android Emulator in Android Studio. If you happen to’re already within the Android 14 QPR beta program on a supported machine, or have put in the developer preview, you will mechanically get up to date to Android 15 Beta 1.
For the perfect growth expertise with Android 15, we suggest that you simply use the newest model of Android Studio Jellyfish (or newer Jellyfish+ variations). When you’re arrange, listed below are a few of the issues you must do:
- Strive the brand new options and APIs – your suggestions is essential in the course of the early a part of the developer preview and beta program. Report points in our tracker on the suggestions web page.
- Take a look at your present app for compatibility – be taught whether or not your app is affected by adjustments in Android 15; set up your app onto a tool or emulator operating Android 15 and extensively take a look at it.
We’ll replace the beta system pictures and SDK frequently all through the Android 15 launch cycle. Learn extra right here.
For full data, go to the Android 15 developer web site.
Java and OpenJDK are emblems or registered emblems of Oracle and/or its associates.