Introducing Android XR SDK Developer Preview

Introducing Android XR SDK Developer Preview



Posted by Matthew McCullough – VP of Product Administration, Android Developer

In the present day, we’re launching the developer preview of the Android XR SDK – a complete improvement equipment for Android XR. It is the most recent platform within the Android household constructed for prolonged actuality (XR) headsets (and glasses sooner or later!). You’ll have infinite alternatives to create and develop experiences that mix digital and bodily worlds, utilizing acquainted Android APIs, instruments and open requirements created for XR. All of this implies: for those who construct for Android, you are already constructing for XR! Learn on to get began with improvement for headsets.

With the Android XR SDK you’ll be able to:

    • Break freed from conventional screens by spatializing your app with wealthy 3D components, spatial panels, and spatial audio that convey a pure sense of depth, scale, and tangible realism
    • Transport your customers to a fantastical digital area, or have interaction with them in their very own houses or workplaces
    • Reap the benefits of pure, multimodal interplay capabilities resembling arms and eyes

“We imagine Android XR is a game-changer for storytelling. It permits us to merge narrative depth with superior interactive options, creating an immersive world the place audiences can have interaction with characters and tales like by no means earlier than.” 

Your apps on Android XR

The Android XR SDK is constructed on the present foundations of Android app improvement. We’re additionally bringing the Play Retailer to Android XR, the place most Android apps will mechanically be made out there with none extra improvement effort. Customers will be capable to uncover and use your current apps in a complete new dimension. To distinguish your current Compose app, chances are you’ll opt-in, to mechanically spatialize Materials Design (M3) elements and Compose for adaptive layouts in XR.

Moving image showing sizing capabilities in Android XR

Apps optimized for giant screens benefit from sizing capabilities in Android XR

The Android XR SDK has one thing for each developer:

Constructing with Kotlin and Android Studio? You will really feel proper at dwelling with the Jetpack XR SDK, a set of acquainted libraries and instruments to simplify improvement and speed up productiveness.

    • Utilizing Unity’s real-time 3D engine? The Android XR Extensions for Unity offers the packages that you must construct or port highly effective, immersive experiences.
    • Growing on the net? Use WebXR so as to add immersive experiences supported on Chrome.
    • Working with native languages like C/C++? Android XR helps the OpenXR 1.1 normal.

Creating with Jetpack XR SDK

The Jetpack XR SDK contains new Jetpack libraries purpose-built for XR. The highlights embrace:

    • Jetpack Compose for XR – allows you to declaratively create spatial UI layouts and spatialize your current 2D UI constructed with Compose or Views
    • ARCore for Jetpack XR – brings highly effective notion capabilities on your app to grasp the actual world

“With Android XR, we will convey Calm straight into your world, capturing the senses and permitting you to expertise it in a deeper and extra transformative method. By collaborating carefully with the Android XR staff on this cutting-edge expertise, we’ve reimagined the right way to create a way of depth and area, leading to a degree of immersion that immediately helps you’re feeling extra current, centered, and relaxed.” 

Kickstart your Jetpack XR SDK journey with the Hi there XR Pattern, an easy introduction to the important options of Jetpack Compose for XR.

Be taught extra about creating with the Jetpack XR SDK.

Moving image of the JetNews sample app adapted for Android XR

The JetNews pattern app is an Android large-screen app tailored for Android XR

We’re additionally introducing new instruments and capabilities to the most recent preview of Android Studio Meerkat to spice up productiveness and simplify your creation course of for Android XR.

    • Use the brand new Android XR Emulator to create a virtualized XR gadget for deploying and testing apps constructed with the Jetpack XR SDK. The emulator contains XR-specific controls for utilizing a keyboard and mouse to navigate an emulated digital area.
    • Use the Android XR template to get a jump-start on creating an app with Jetpack Compose for XR.
    • Use the up to date Structure Inspector to examine and debug spatialized UI elements created with Jetpack Compose for XR.

Be taught extra in regards to the XR enabled instruments in Android Studio and the Android XR Emulator.

Moving image of the The Android XR Emulator in Android Studio

The Android XR Emulator in Android Studio has new controls to discover 3D area throughout the emulator

Creating with Unity

We have partnered with Unity to natively combine their real-time 3D engine with Android XR beginning with Unity 6. Unity is introducing the Unity OpenXR: Android XR package deal for bringing your multi-platform XR experiences to Android XR.

Unity is including Android XR assist to those common XR packages:

We’re additionally rolling out the Android XR Extensions for Unity with samples and revolutionary options resembling mouse interplay profile, surroundings mix mode, personalised hand mesh, object monitoring, and extra.

“Having already introduced Demeo to most commercially out there platforms, it is protected to say we had been impressed with the method of adapting the sport to run on Android XR.” 

Take a look at our getting began information for unity and Unity’s weblog put up to study extra.

Moving image of the The Vacation Simulator

Trip Simulator has been up to date to Unity 6 and helps Android XR

Creating for the Internet

Chrome on Android XR helps the WebXR normal. In the event you’re constructing for the online, you’ll be able to improve current websites with 3D content material or construct new immersive experiences. You can too use full-featured frameworks like three.js, A-Body, or PlayCanvas to create digital worlds, or you need to use an easier API like model-viewer so your customers can visualize merchandise in an e-commerce web site. And since WebXR is an open normal, the identical experiences you construct for cellular AR gadgets or devoted VR {hardware} seamlessly work on Android XR.

Be taught extra about creating with WebXR.

Moving image demonstrating virtual objects interacting with real world surfaces in Chrome on Android XR

Chrome on Android XR helps WebXR options together with depth maps permitting digital objects to work together with actual world surfaces

Constructed on Open Requirements

We’re persevering with the Android custom of constructing with open requirements. On the coronary heart of the Android notion stack is OpenXR – a high-performance, cross-platform API centered on portability. Android XR is compliant with OpenXR 1.1, and we’re additionally increasing the Open XR requirements with modern vendor extensions to introduce highly effective world-sensing capabilities resembling:

    • AI-powered hand mesh, designed to adapt to the form and measurement of arms to higher characterize the range of your customers
    • Refined gentle estimation, for lighting your digital content material to match real-world lighting situations
    • New trackables that allow you to convey actual world objects like laptops, telephones, keyboards, and mice right into a digital surroundings

The Android XR SDK additionally helps open normal codecs resembling glTF 2.0 for 3D fashions and OpenEXR for high-dynamic-range environments.

Constructing the longer term collectively

We could not be extra proud or excited to be asserting the Developer Preview of the Android XR SDK. We’re releasing this developer preview, as a result of we wish to construct the way forward for XR along with you. We welcome your suggestions and may’t wait to work with you and construct your concepts and recommendations into the platform. Your ardour, experience, and daring concepts are completely important as we proceed to construct Android XR.

We look ahead to interacting along with your apps, reimagined to benefit from the distinctive spatial capabilities of Android XR, utilizing acquainted instruments like Android Studio and Jetpack Compose. We’re keen to go to the superb 3D worlds you construct utilizing highly effective instruments and open requirements like Unity and OpenXR. Most of all, we will’t wait to go on this journey with all of you that make up the superb neighborhood of Android and Unity builders.

To get began creating and creating for Android XR, take a look at developer.android.com/develop/xr the place you can find all the instruments, libraries and assets that you must create with the Android XR SDK! If you’re desirous about gaining access to prerelease {hardware} and collaborating with the Android XR staff, categorical your curiosity to take part in an Android XR Developer Bootcamp in 2025 by filling out this type.

author avatar
roosho Senior Engineer (Technical Services)
I am Rakib Raihan RooSho, Jack of all IT Trades. You got it right. Good for nothing. I try a lot of things and fail more than that. That's how I learn. Whenever I succeed, I note that in my cookbook. Eventually, that became my blog. 
rooshohttps://www.roosho.com
I am Rakib Raihan RooSho, Jack of all IT Trades. You got it right. Good for nothing. I try a lot of things and fail more than that. That's how I learn. Whenever I succeed, I note that in my cookbook. Eventually, that became my blog. 

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here


Latest Articles

author avatar
roosho Senior Engineer (Technical Services)
I am Rakib Raihan RooSho, Jack of all IT Trades. You got it right. Good for nothing. I try a lot of things and fail more than that. That's how I learn. Whenever I succeed, I note that in my cookbook. Eventually, that became my blog.