HomeMobileAndroid Builders Weblog: Updates to the Android XR SDK: Introducing Developer Preview...

Android Builders Weblog: Updates to the Android XR SDK: Introducing Developer Preview 2



Android Builders Weblog: Updates to the Android XR SDK: Introducing Developer Preview 2

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

Since launching the Android XR SDK Developer Preview alongside Samsung, Qualcomm, and Unity final yr, we’ve been blown away by the entire pleasure we’ve been listening to from the broader Android group. Whether or not it is by way of coding live-streams or native Google Developer Group talks, it has been an impressive expertise collaborating in the neighborhood to construct the way forward for XR collectively, and we’re simply getting began.

At present we’re excited to share an replace to the Android XR SDK: Developer Preview 2, filled with new options and enhancements that will help you develop useful and pleasant immersive experiences with acquainted Android APIs, instruments and open requirements created for XR.

At Google I/O, we now have two technical periods associated to Android XR. The primary is Constructing differentiated apps for Android XR with 3D content material, which covers many options current in Jetpack SceneCore and ARCore for Jetpack XR. The longer term is now, with Compose and AI on Android XR covers creating XR-differentiated UI and our imaginative and prescient on the intersection of XR with cutting-edge AI capabilities.

Android XR sessions at Google I/O 2025

Constructing differentiated apps for Android XR with 3D content material and The longer term is now, with Compose and AI on Android XR

What’s new in Developer Preview 2

For the reason that launch of Developer Preview 1, we’ve been centered on making the APIs simpler to make use of and including new immersive Android XR options. Your suggestions has helped us form the event of the instruments, SDKs, and the platform itself.

With the Jetpack XR SDK, now you can play again 180° and 360° movies, which could be stereoscopic by encoding with the MV-HEVC specification or by encoding view-frames adjacently. The MV-HEVC customary is optimized and designed for stereoscopic video, permitting your app to effectively play again immersive movies at nice high quality. Apps constructed with Jetpack Compose for XR can use the SpatialExternalSurface composable to render media, together with stereoscopic movies.

Utilizing Jetpack Compose for XR, now you can additionally outline layouts that adapt to completely different XR show configurations. For instance, use a SubspaceModifier to specify the dimensions of a Subspace as a share of the system’s advisable viewing measurement, so a panel effortlessly fills the area it is positioned in.

Materials Design for XR now helps extra part overrides for TopAppBar, AlertDialog, and ListDetailPaneScaffold, serving to your large-screen enabled apps that use Materials Design effortlessly adapt to the brand new world of XR.

An app adapts to XR using Material Design for XR with the new component overrides

An app adapts to XR utilizing Materials Design for XR with the brand new part overrides

In ARCore for Jetpack XR, now you can observe palms after requesting the suitable permissions. Palms are a group of 26 posed hand joints that can be utilized to detect hand gestures and convey a complete new degree of interplay to your Android XR apps:

moving image demonstrates how hands bring a natural input method to your Android XR experience.

Palms convey a pure enter technique to your Android XR expertise.

For extra steering on creating apps for Android XR, try our Android XR Fundamentals codelab, the updates to our Hey Android XR pattern challenge, and a brand new model of JetStream with Android XR assist.

The Android XR Emulator has additionally obtained updates to stability, assist for AMD GPUs, and is now totally built-in throughout the Android Studio UI.

the Android XR Emulator in Android STudio

The Android XR Emulator is now built-in in Android Studio

Builders utilizing Unity have already efficiently created and ported present video games and apps to Android XR. At present, you possibly can improve to the Pre-Launch model 2 of the Unity OpenXR: Android XR package deal! This replace provides many efficiency enhancements comparable to assist for Dynamic Refresh Fee, which optimizes your app’s efficiency and energy consumption. Shaders made with Shader Graph now assist SpaceWarp, making it simpler to make use of SpaceWarp to cut back compute load on the system. Hand meshes are actually uncovered with occlusion, which allows sensible hand visualization.

Try Unity’s improved Blended Actuality template for Android XR, which now contains assist for occlusion and protracted anchors.

We just lately launched Android XR Samples for Unity, which reveal capabilities on the Android XR platform comparable to hand monitoring, aircraft monitoring, face monitoring, and passthrough.

moving image of Google’s open-source Unity samples demonstrating platform features and showing how they’re implemented

Google’s open-source Unity samples reveal platform options and present how they’re carried out

The Firebase AI Logic for Unity is now in public preview! This makes it simple so that you can combine gen AI into your apps, enabling the creation of AI-powered experiences with Gemini and Android XR. The Firebase AI Logic totally helps Gemini’s capabilities, together with multimodal enter and output, and bi-directional streaming for immersive conversational interfaces. Constructed with manufacturing readiness in thoughts, Firebase AI Logic is built-in with core Firebase companies like App Verify, Distant Config, and Cloud Storage for enhanced safety, configurability, and knowledge administration. Be taught extra about this on the Firebase weblog or go straight to the Gemini API utilizing Vertex AI in Firebase SDK documentation to get began.

Persevering with to construct the longer term collectively

Our dedication to open requirements continues with the glTF Interactivity specification, in collaboration with the Khronos Group. which shall be supported in glTF fashions rendered by Jetpack XR later this yr. Fashions utilizing the glTF Interactivity specification are self-contained interactive property that may have many pre-programmed behaviors, like rotating objects on a button press or altering the colour of a fabric over time.

Android XR shall be out there first on Samsung’s Venture Moohan, launching later this yr. Quickly after, our companions at XREAL will launch the subsequent Android XR system. Codenamed Venture Aura, it’s a conveyable and tethered system that offers customers entry to their favourite Android apps, together with these which were constructed for XR. It should launch as a developer version, particularly so that you can start creating and experimenting. The perfect information? With the acquainted instruments you employ to construct Android apps at present, you possibly can construct for these gadgets too.

product image of XREAL’s Project Aura against a nebulous black background

XREAL’s Venture Aura

The Google Play Retailer can be preparing for Android XR. It should checklist supported 2D Android apps on the Android XR Play Retailer when it launches later this yr. In case you are engaged on an Android XR differentiated app, you may get it prepared for the massive launch and be one of many first differentiated apps on the Android XR Play Retailer:

And we all know a lot of you might be excited for the way forward for Android XR on glasses. We’re shaping the developer expertise now and can share extra particulars on how one can take part later this yr.

To get began creating and creating for Android XR, try developer.android.com/develop/xr the place you will see that the entire instruments, libraries, and assets you might want to work with the Android XR SDK. Particularly, check out our samples and codelabs.

We welcome your suggestions, ideas, and concepts as you’re serving to form Android XR. Your ardour, experience, and daring concepts are very important as we proceed to develop Android XR collectively. We stay up for seeing your XR-differentiated apps when Android XR gadgets launch later this yr!

Discover this announcement and all Google I/O 2025 updates on io.google beginning Might 22.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments