The First Beta of Android 15



Posted by Dave Burke, VP of Engineering


Android 14 logo

In the present day 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 system 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, defend person 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 function in serving to Android repeatedly enhance. The Android 15 developer website 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 prematurely in your continued assist in making Android a platform that works for everybody.

We’ll have heaps extra to share as we transfer by means of the discharge cycle, and remember to tune into Google I/O the place you’ll be able to 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. Which means apps not must explicitly name Window.setDecorFitsSystemWindows(false) or enableEdgeToEdge() to indicate their content material behind the system bars, though we advocate 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 in keeping with the Materials specs.

a side-by-side comparison of App targets SDK 34 (left) and App targets SDK 35 (right) demonstrating edge-to-edge on an Android 15 device

On the left: App targets SDK 34 (Android 14) and isn’t edge-to-edge on an Android 15 system. On the correct: App targets SDK 35 (Android 15) and is edge-to-edge on an Android 15 system. Notice the Materials 3 TopAppBar is routinely defending the standing bar, which might in any other case be clear by default.

The system bars are clear or translucent and content material will draw behind by default. Discuss with “Deal with overlaps utilizing insets” (Views) or Window insets in Compose to see the right way to forestall 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 modifications 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 easy operation with a number of NFC-aware functions.

Inter-character justification

Beginning with Android 15, textual content may 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 many others.

JUSTIFICATION_MODE_NONE

image shows how japanese kanji (top) and english alphabet characters (bottom) appear with JUSTIFICATION_MODE_NONE

JUSTIFICATION_MODE_INTER_WORD

image shows how japanese kanji (top) and english alphabet characters (bottom) appear with JUSTIFICATION_MODE_INTER_WORD

JUSTIFICATION_MODE_INTER_CHARACTER

image shows how japanese kanji (top) and english alphabet characters (bottom) appear with JUSTIFICATION_MODE_INTER_WORD

App archiving

Android and Google Play introduced assist for app archiving final 12 months, permitting customers to unlock area by partially eradicating sometimes used apps from the system that had been revealed utilizing Android App Bundle on Google Play. Android 15 now consists of OS stage 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 package deal, which removes the APK and any cached recordsdata, however persists person knowledge. Archived apps are returned as displayable apps by means of the LauncherApps APIs; customers will see a UI remedy to focus on that these apps are archived. If a person faucets on an archived app, the accountable installer will get a request to unarchive it, and the restoration course of may be monitored by the ACTION_PACKAGE_ADDED broadcast.

App-managed profiling

Android 15 consists of the all new ProfilingManager class, which lets you acquire profiling info from inside your app. We’re planning to wrap this with an Android Jetpack API that may simplify building of profiling requests, however the core API will permit the gathering of heap dumps, heap profiles, stack sampling, and extra. It supplies a callback to your app with a equipped tag to determine the output file, which is delivered to your app’s recordsdata listing. The API does price limiting to attenuate the efficiency influence.

Higher Braille

In Android 15, we have made it attainable for TalkBack to assist Braille shows which are utilizing the HID normal over each USB and safe Bluetooth.

This normal, very like 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 option to handle and confirm their contacts’ public keys.

Secured background exercise launches

Android 15 brings extra modifications to stop malicious background apps from bringing different apps to the foreground, elevating their privileges, and abusing person 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’ll be able to anticipate extra customers to attempt your app on Android 15 and lift points they discover.

To check for compatibility, set up your revealed app on a tool or emulator operating Android 15 beta and work by means of all your app’s flows. Assessment the conduct modifications to focus your testing. After you’ve got resolved any points, publish an replace as quickly as attainable.

To offer you extra time to plan for app compatibility work, we’re letting you already know our Platform Stability milestone nicely prematurely.

Android 15 release timeline

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.

In the present day’s beta launch has every thing it’s good to attempt the Android 15 options, check your apps, and provides us suggestions. Now that we have entered the beta part, you’ll be able to enroll any supported Pixel system right here to get this and future Android Beta updates over-the-air. For those who don’t have a Pixel system, you’ll be able to use the 64-bit system photos with the Android Emulator in Android Studio. For those who’re already within the Android 14 QPR beta program on a supported system, or have put in the developer preview, you will routinely get up to date to Android 15 Beta 1.

For the most effective growth expertise with Android 15, we advocate that you just use the newest model of Android Studio Jellyfish (or more moderen Jellyfish+ variations). When you’re arrange, listed below are a number of the issues you must do:

    • Strive the brand new options and APIs – your suggestions is essential through 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 – study whether or not your app is affected by modifications in Android 15; set up your app onto a tool or emulator operating Android 15 and extensively check it.

We’ll replace the beta system photos and SDK recurrently all through the Android 15 launch cycle. Learn extra right here.

For full info, go to the Android 15 developer website.

Java and OpenJDK are emblems or registered emblems of Oracle and/or its associates.



Recent Articles

Related Stories

Leave A Reply

Please enter your comment!
Please enter your name here

Stay on op - Ge the daily news in your inbox