Posted by Dave Burke, VP of Engineering
As we speak 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 person privateness and safety, and make your app accessible to as many individuals as attainable — all in a vibrant and numerous ecosystem of units, 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 constantly enhance. The Android 15 developer web site has tons extra details about the beta, together with downloads for Pixel and the launch timeline. We’re wanting ahead to listening to what you assume, and thanks upfront on your continued help make Android a platform that works for everybody.
We’ll have tons extra to share as we transfer by the discharge cycle, and you should definitely tune into Google I/O the place you may 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 units. Which means that apps not must 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, based mostly on how the composables are positioned in your app in line with 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 find out how to stop vital 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 units to allow them to be notified of polling loop exercise, which permits for easy operation with a number of NFC-aware purposes.
Inter-character justification
Beginning with Android 15, textual content will 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 unencumber area by partially eradicating occasionally used apps from the machine that had been printed utilizing Android App Bundle on Google Play. Android 15 now contains 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 methodology to request archiving a at the moment put in app bundle, which removes the APK and any cached information, however persists person information. Archived apps are returned as displayable apps by the LauncherApps APIs; customers will see a UI therapy to spotlight 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 will be monitored by the ACTION_PACKAGE_ADDED broadcast.
App-managed profiling
Android 15 contains the all new ProfilingManager class, which lets you gather 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 information listing. The API does charge limiting to reduce the efficiency affect.
Higher Braille
In Android 15, we have made it attainable for TalkBack to assist Braille shows which can be 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 offer customers a centralized solution to handle and confirm their contacts’ public keys.
Secured background exercise launches
Android 15 brings further adjustments to forestall 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 units. 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 could be the time to do it. Within the weeks forward, you may 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 working Android 15 beta and work by your entire app’s flows. Evaluate the habits adjustments to focus your testing. After you’ve got 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 understand our Platform Stability milestone properly upfront.
At this milestone, we’ll ship last SDK/NDK APIs and in addition last inner APIs and app-facing system behaviors. We’re anticipating to achieve Platform Stability in June 2024, and from that point you’ll have a number of months earlier than the official launch to do your last testing. The discharge timeline particulars are right here.
As we speak’s beta launch has every little thing it’s essential attempt the Android 15 options, take a look at your apps, and provides us suggestions. Now that we have entered the beta section, you may enroll any supported Pixel machine right here to get this and future Android Beta updates over-the-air. In case you don’t have a Pixel machine, you may use the 64-bit system pictures with the Android Emulator in Android Studio. In case you’re already within the Android 14 QPR beta program on a supported machine, or have put in the developer preview, you may routinely get up to date to Android 15 Beta 1.
For the most effective improvement 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 it’s best to do:
- Attempt the brand new options and APIs – your suggestions is important 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 adjustments in Android 15; set up your app onto a tool or emulator working Android 15 and extensively take a look at it.
We’ll replace the beta system pictures and SDK usually all through the Android 15 launch cycle. Learn extra right here.
For full info, go to the Android 15 developer web site.
Java and OpenJDK are logos or registered logos of Oracle and/or its associates.
Leave a Comment