Right this moment we’re releasing Android 15 and making the supply code accessible on the Android Open Supply MissionĀ (AOSP). Android 15 will likely be accessible on supported Pixel gadgets within the coming weeks, in addition to on choose gadgets from Samsung, Honor, iQOO, Lenovo, Motorola, Nothing, OnePlus, Oppo, realme, Sharp, Sony, Tecno, vivo, and Xiaomi within the coming months.
We’re proud to proceed our work in open supply by way of the AOSP. Open supply permits anybody to construct upon and contribute to Android, leading to gadgets which might be extra numerous and modern. You possibly can leverage your app growth abilities in Android Studio with Jetpack Compose to create functions that thrive throughout all the ecosystem. You possibly can even study the supply code for a deeper understanding of how Android works.
Android 15 continues our mission of constructing a personal and safe platform that helps enhance your productiveness whereas providing you with new capabilities to provide stunning apps, superior media and digital camera experiences, and an intuitive person expertise, significantly on tablets and foldables.
Beginning at present, we’re kicking off a brand new instructional sequence referred to as Highlight Weeks, the place we dive into technical matters throughout Android, starting with per week of content material on Android 15. Take a look at what we’ll be masking all through the week, in addition to at present’s deep dive into edge-to-edge.
Bettering your developer expertise
Whereas most of our work to enhance your productiveness facilities round instruments like Android Studio, Jetpack Compose, and the Android Jetpack libraries, every new Android platform launch consists of quality-of-life updates to enhance the event expertise. For instance, Android 15 offers you new insights and telemetry to permit you to additional tune your app expertise, so you can also make adjustments that enhance the way in which your app runs on any platform launch.
- The ApplicationStartInfo API helps present perception into your app startup together with the startup purpose, time spent in launch phases, begin temperature, and extra.
- The StorageStats.getAppBytesByDataType([type]) API offers you new insights into how your app is utilizing storage, together with apk file splits, ahead-of-time (AOT) and speedup associated code, dex metadata, libraries, and guided profiles.
- Android 15 provides new Canvas drawing capabilities, together with Matrix44 to assist manipulate the Canvas in 3D and clipShader/clipOutShader to allow complicated shapes by intersecting both the present shader or a distinction of the present shader.
Bettering typography and internationalization
Android helps you make stunning apps that work nicely throughout the worldwide variety of the Android ecosystem.
- Now you can create a FontFamily occasion from variable fonts in Android 15 with out having to specify wght and ital axes utilizing the buildVariableFamily API; the textual content renderer will routinely alter the values of the wght and ital axes to match the airing textual content with suitable fonts.
- The font file in Android 15 for Chinese language, Japanese, and Korean (CJK) languages, NotoSansCJK, is now a variable font, opening up new potentialities for artistic typography.
Digicam and media enhancements
Every Android launch helps you convey superior media and digital camera experiences to your customers.
- For screens that comprise each HDR and SDR content material, Android 15 lets you management the HDR headroom with setDesiredHdrHeadroom to stop SDR content material from showing too washed-out.
- Android 15 helps intelligently adjusting audio loudness and dynamic vary compression ranges for apps with AAC audio content material that comprises loudness metadata in order that audio ranges can adapt to person gadgets and environment. To allow, instantiate a LoudnessCodecController with the audio session ID from the related AudioTrack.
- Low Mild Increase in Android 15 adjusts the publicity of the Preview stream in low-light situations, enabling enhanced picture previews, scanning QR codes in low mild, and extra.
- Superior flash energy changes in Android 15 allow exact management of flash depth in each SINGLE and TORCH modes whereas capturing photos.
- Android 15 extends Common MIDI Packets help to digital MIDI apps, enabling composition apps to regulate synthesizer apps as a digital MIDI 2.0 gadget identical to they might with an USB MIDI 2.0 gadget.
Bettering the person expertise
We proceed to refine the Android person expertise with each launch, whereas working to enhance efficiency and battery life. Right here is simply a few of what Android 15 brings to make the expertise extra intuitive, performant, and accessible.
- Customers can save their favourite split-screen app combos for fast entry and pin the taskbar on display to shortly change between apps for higher giant display multitasking on Android 15; ensuring your app is adaptive is extra vital than ever.
- Android 15 permits TalkBack to help Braille shows which might be utilizing the HID normal over each USB and safe Bluetooth to assist Android help a wider vary of Braille shows.
- On supported Android 15 gadgets,Ā NfcAdapter permits apps to request observe mode in addition to register filters, enabling one-tap transactions in lots of instances throughout a number of NFC succesful apps.
- Apps can declare a property to permit your Software or Exercise to be introduced on the small cowl screens of supported flippable gadgets.
- Android 15 enormously enhances AutomaticZenRules to permit apps to additional customise Consideration Administration (Do Not Disturb) guidelines by including sorts, icons, set off descriptions, and the flexibility to set off ZenDeviceEffects.
- Android 15 now consists of OSāstage help for app archiving and unarchiving. Archiving removes the APK and any cached recordsdata, however persists person knowledge and returns the app as displayable by way of the LauncherApps APIs, and the unique installer can restore it upon a request to unarchive.
Privateness and safety enhancements
Privateness and safety are on the core of every thing we do, and we work to make significant enhancements to guard your apps and our customers with every platform launch.
- Personal house in Android 15 lets customers create a separate house on their gadget the place they will hold delicate apps away from prying eyes, below a further layer of authentication. Some forms of apps resembling medical apps, launcher apps, and app shops might have to take extra steps to perform as anticipated in a person’s personal house.
- Android 15 provides help for apps to detect that they’re being recorded with the intention to inform the person that they are being recorded in case your app is performing a delicate operation.
- PendingIntent creators block background exercise launches by default in Android 15 to assist forestall apps from unintentionally making a PendingIntent that could possibly be abused by malicious actors.
Get your apps, libraries, instruments, and recreation engines prepared!
If you happen to develop an SDK, library, device, or recreation engine, it is significantly vital to arrange any obligatory updates instantly to stop your downstream app and recreation builders from being blocked by compatibility points and permit them to focus on the most recent SDK options. Please let your builders know if updates are wanted to totally help Android 15.
Testing your app includes putting in your manufacturing app utilizing Google Play or different means onto a tool or emulator working Android 15. Work by way of all of your app’s flows and search for useful or UI points. Evaluation the habits adjustments to focus your testing. Listed below are a number of adjustments to contemplate that apply even when you do not but goal Android 15:
- Bundle stopped state adjustments – Android 15 updates the habits of the bundle FLAG_STOPPED state to maintain apps stopped till the person launches or not directly interacts with the app.
- Help for 16KB web page sizes – Starting with Android 15, 16 KB web page dimension help will likely be accessible on choose gadgets as a developer possibility. Moreover, Android Studio additionally affords an emulator system picture with 16 KB help by way of the SDK supervisor. In case your app or library makes use of the NDK, both straight or not directly by way of a library, you should utilize the developer possibility within the QPR beta or the Android 15 emulator system picture to check and repair functions to arrange for Android gadgets with 16 KB web page sizes within the close to future.
- Eliminated legacy emoji font file – Some Android 15 gadgets resembling Pixel will now not have the bitmap NotoColorEmojiLegacy.ttf file included for compatibility since Android 13 and can solely have the default vector file.
Please completely train libraries and SDKs that your app is utilizing throughout your compatibility testing. You might have to replace to present SDK variations or attain out to the developer for assist when you encounter any points.
When youāve revealed the Android 15-compatible model of your app, you can begin the course of to replace your app’s targetSdkVersion.
App compatibility
Weāre working to make updates sooner and smoother with every platform launch by prioritizing app compatibility. In Android 15 weāve made most app-facing adjustments opt-in till your app targets SDK model 35. This provides you extra time to make any obligatory app adjustments.
To make it simpler so that you can take a look at the opt-in adjustments that may have an effect on your app, based mostly in your suggestions weāve made a lot of them toggleable once more this 12 months. With the toggles, you may force-enable or disable the adjustments individually from Developer choices or adb. Take a look at how to do that, right here.
That can assist you migrate your app to focus on Android 15, the Android SDK Improve Assistant inside the newest Android Studio Koala Characteristic Drop launch now covers android 15 API adjustments and walks you thru the steps to improve your targetSdkVersion.
Get began with Android 15
When you’ve got a supported Pixel gadget, you’ll obtain the general public Android 15 over the air replace when it turns into accessible. If you happen to do not need to wait, you will get the latest quarterly platform launch (QPR) beta by becoming a member of the Android 15 QPR beta program at any time.
If you happen to’re already within the QPR beta program on a Pixel gadget that helps the subsequent Android launch, you will probably have been provided the chance to put in the primary Android 15 QPR beta replace. If you wish to opt-out of the beta program with out wiping your gadget, do not set up the beta and as an alternative watch for an replace to the discharge model when it’s made accessible in your Pixel gadget. As soon as you have utilized the secure launch replace, you may choose out and not using a knowledge wipe so long as you do not apply the subsequent beta replace.
Keep tuned for the subsequent 5 days of our Highlight Week on Android 15, the place we’ll be masking matters like edge-to-edge, passkeys, updates to foreground companies, picture-in-picture, and extra. Observe alongside on our weblog, X, LinkedIn or YouTube channels. Thanks once more to everybody who participated in our Android developer preview and beta program. We’re wanting ahead to seeing how your apps make the most of the updates in Android 15.
For full info, go to the Android 15 developer web site.
Java and OpenJDK are emblems or registered emblems of Oracle and/or its associates.