Introducing Android XR SDK Developer Preview

Introducing Android XR SDK Developer Preview



Introducing Android XR SDK Developer Preview

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

At the moment, we’re launching the developer preview of the Android XR SDK – a complete growth equipment for Android XR. It is the latest platform within the Android household constructed for prolonged actuality (XR) headsets (and glasses sooner or later!). You’ll have countless 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: in the event you construct for Android, you are already constructing for XR! Learn on to get began with growth for headsets.

With the Android XR SDK you may:

    • 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 properties or workplaces
    • Benefit from 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 growth. We’re additionally bringing the Play Retailer to Android XR, the place most Android apps will mechanically be made accessible with none further growth effort. Customers will be capable to uncover and use your current apps in a complete new dimension. To distinguish your current Compose app, you could 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 big screens reap the benefits of 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 growth and speed up productiveness.

    • Utilizing Unity’s real-time 3D engine? The Android XR Extensions for Unity offers the packages you want to construct or port highly effective, immersive experiences.
    • Creating 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 consists of new Jetpack libraries purpose-built for XR. The highlights embody:

    • Jetpack Compose for XR – lets you 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 know the actual world

“With Android XR, we are able to convey Calm instantly into your world, capturing the senses and permitting you to expertise it in a deeper and extra transformative approach. By collaborating carefully with the Android XR crew on this cutting-edge expertise, we’ve reimagined how you can create a way of depth and area, leading to a stage of immersion that immediately helps you are 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.

Study extra about growing 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 newest 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 consists of 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.

Study 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 inside 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 fashionable XR packages:

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

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

Try our getting began information for unity and Unity’s weblog put up to be taught 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 Net

Chrome on Android XR helps the WebXR normal. When you’re constructing for the net, you may improve current websites with 3D content material or construct new immersive experiences. It’s also possible to use full-featured frameworks like three.js, A-Body, or PlayCanvas to create digital worlds, or you should utilize a less complicated 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 cell AR gadgets or devoted VR {hardware} seamlessly work on Android XR.

Study extra about growing 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 dimension of arms to raised signify the variety 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 atmosphere

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 long run collectively

We could not be extra proud or excited to be saying 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 options 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 reap the benefits of 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 are able to’t wait to go on this journey with all of you that make up the superb group of Android and Unity builders.

To get began creating and growing for Android XR, take a look at developer.android.com/develop/xr the place one can find all the instruments, libraries and assets you want to create with the Android XR SDK! In case you are occupied with gaining access to prerelease {hardware} and collaborating with the Android XR crew, specific your curiosity to take part in an Android XR Developer Bootcamp in 2025 by filling out this kind.

Leave a Reply

Your email address will not be published. Required fields are marked *