{"id":277360,"date":"2025-05-26T14:10:29","date_gmt":"2025-05-26T14:10:29","guid":{"rendered":"https:\/\/michigandigitalnews.com\/index.php\/2025\/05\/26\/android-developers-blog-updates-to-the-android-xr-sdk-introducing-developer-preview-2\/"},"modified":"2025-06-25T17:08:17","modified_gmt":"2025-06-25T17:08:17","slug":"android-developers-blog-updates-to-the-android-xr-sdk-introducing-developer-preview-2","status":"publish","type":"post","link":"https:\/\/michigandigitalnews.com\/index.php\/2025\/05\/26\/android-developers-blog-updates-to-the-android-xr-sdk-introducing-developer-preview-2\/","title":{"rendered":"Android Developers Blog: Updates to the Android XR SDK: Introducing Developer Preview 2"},"content":{"rendered":"<p> [ad_1]<br \/>\n<\/p>\n<div>\n<meta content=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEj6E4IA0G-nsPWLYDP3V2rxang1_wR1bhfP5EeKqTJZlPRrpXBLDG5kKG3qli7-pYqmAo2wdu9p3zq8tUy3v6Ko0CbXu-jri5lNbCoR0fLLPTpKnum8zRLWzLcYmZ2qVd0_l0TFyzlHufD3J8Nn-iaD6M215KpYtHZXGhDTgN4vcIMSyvhK522Xnmowzdw\/s1600\/android-xr-google-io-meta.png\" name=\"twitter:image\"\/><br \/>\n<img decoding=\"async\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEj6E4IA0G-nsPWLYDP3V2rxang1_wR1bhfP5EeKqTJZlPRrpXBLDG5kKG3qli7-pYqmAo2wdu9p3zq8tUy3v6Ko0CbXu-jri5lNbCoR0fLLPTpKnum8zRLWzLcYmZ2qVd0_l0TFyzlHufD3J8Nn-iaD6M215KpYtHZXGhDTgN4vcIMSyvhK522Xnmowzdw\/s1600\/android-xr-google-io-meta.png\" style=\"display: none;\"\/><\/p>\n<p><em>Posted by Matthew McCullough \u2013 VP of Product Management, Android Developer<\/em><\/p>\n<p><a href=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjPp6HgZqiN1uweKBPa65S2eBZNgSTYHCRswoCxX2JMlwBW7IcDQV_7K13IrOamurxjeYJwg_zejYbRQMQwyLuO4dX08M2JG2l83byhJXkLtUR5SOkl3FZb_x8oX6aTaC-3f6jaA3Z7C_ReYJWNud31TJL2sdgUEmeKERNAWiUpdtbozALI5UYp9nCattI\/s1600\/IO25-Blog-Hero-Template-Art-Long-01.png\"><img decoding=\"async\" border=\"0\" data-original-height=\"800\" data-original-width=\"100%\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjPp6HgZqiN1uweKBPa65S2eBZNgSTYHCRswoCxX2JMlwBW7IcDQV_7K13IrOamurxjeYJwg_zejYbRQMQwyLuO4dX08M2JG2l83byhJXkLtUR5SOkl3FZb_x8oX6aTaC-3f6jaA3Z7C_ReYJWNud31TJL2sdgUEmeKERNAWiUpdtbozALI5UYp9nCattI\/s1600\/IO25-Blog-Hero-Template-Art-Long-01.png\"\/><\/a><\/p>\n<p>Since launching the <a href=\"https:\/\/android-developers.googleblog.com\/2024\/12\/introducing-android-xr-sdk-developer-preview.html\" target=\"_blank\" rel=\"noopener\">Android XR SDK Developer Preview<\/a> alongside Samsung, Qualcomm, and Unity last year, we\u2019ve been blown away by all of the excitement we\u2019ve been hearing from the broader Android community. Whether it&#8217;s through <a href=\"https:\/\/www.youtube.com\/watch?v=AkKjMtBYwDA&amp;t=116s\" target=\"_blank\" rel=\"noopener\">coding live-streams<\/a> or local <a href=\"https:\/\/www.youtube.com\/watch?v=RsFL8wvZFK8\" target=\"_blank\" rel=\"noopener\">Google Developer Group talks<\/a>, it&#8217;s been an outstanding experience participating in the community to build the future of XR together, and we&#8217;re just getting started.<\/p>\n<p>Today we\u2019re excited to share an update to the <a href=\"http:\/\/developer.android.com\/xr\" target=\"_blank\" rel=\"noopener\">Android XR SDK<\/a>: Developer Preview 2, packed with new features and improvements to help you develop helpful and delightful immersive experiences with familiar Android APIs, tools and open standards created for XR.<\/p>\n<p>At Google I\/O, we have two technical sessions related to Android XR. The first is <a href=\"https:\/\/io.google\/2025\/explore\/technical-session-22\" target=\"_blank\" rel=\"noopener\">Building differentiated apps for Android XR with 3D content<\/a>, which covers many features present in Jetpack SceneCore and ARCore for Jetpack XR. <a href=\"https:\/\/io.google\/2025\/explore\/technical-session-2\" target=\"_blank\" rel=\"noopener\">The future is now, with Compose and AI on Android XR<\/a> covers creating XR-differentiated UI and our vision on the intersection of XR with cutting-edge AI capabilities.<\/p>\n<p><image><\/p>\n<div style=\"text-align: center;\"><img decoding=\"async\" alt=\"Android XR sessions at Google I\/O 2025\" border=\"0\" id=\"imgCaption\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEhN4ijYv9_IUNzf9FB1F6Wi9nwub5AEuPTHEwdgj7ep1NW_yN4IwmBTcyR7wE11l4pzTIUWgZeD_3QenGfrrRc4cpcRRtttqfV86Ie-7D3prjMRtyZx3MWyfvOnXycVLFo6c23a6HEze_nDtHZAuM_QOeXIxU-cL2HToAOkaZOev-WsQvVC9C-OMHW8H3k\/s1600\/android-xr-google-io-sessions.png\" width=\"100%\"\/><\/div>\n<p><imgcaption><center><em><a href=\"https:\/\/io.google\/2025\/explore\/technical-session-22\" target=\"_blank\" rel=\"noopener\">Building differentiated apps for Android XR with 3D content<\/a> and <a href=\"https:\/\/io.google\/2025\/explore\/technical-session-2\" target=\"_blank\" rel=\"noopener\">The future is now, with Compose and AI on Android XR<\/a><\/em><\/center><\/imgcaption><\/image><\/p>\n<h2><span style=\"font-size: x-large;\">What\u2019s new in Developer Preview 2<\/span><\/h2>\n<p>Since the release of <a href=\"https:\/\/developers.googleblog.com\/en\/introducing-android-xr-sdk-developer-preview\/\" target=\"_blank\" rel=\"noopener\">Developer Preview 1<\/a>, we\u2019ve been focused on making the APIs easier to use and adding new immersive Android XR features. Your feedback has helped us shape the development of the tools, SDKs, and the platform itself.<\/p>\n<p>With the <b>Jetpack XR SDK<\/b>, you can now play back 180\u00b0 and 360\u00b0 videos, which can be stereoscopic by encoding with the MV-HEVC specification or by encoding view-frames adjacently. The MV-HEVC standard is optimized and designed for stereoscopic video, allowing your app to efficiently play back immersive videos at great quality. Apps built with Jetpack Compose for XR can use the <span style=\"font-family: courier;\"><a href=\"https:\/\/developer.android.com\/develop\/xr\/jetpack-xr-sdk\/develop-ui#add-surface\" target=\"_blank\" rel=\"noopener\">SpatialExternalSurface<\/a><\/span> composable to render media, including stereoscopic videos.<\/p>\n<p>Using <b>Jetpack Compose for XR<\/b>, you can now also define layouts that adapt to different XR display configurations. For example, use a <span style=\"font-family: courier;\"><a href=\"https:\/\/developer.android.com\/reference\/kotlin\/androidx\/xr\/compose\/subspace\/layout\/SubspaceModifier#%28androidx.xr.compose.subspace.layout.SubspaceModifier%29.fillMaxSize%28kotlin.Float%29\" target=\"_blank\" rel=\"noopener\">SubspaceModifier<\/a><\/span> to specify the size of a <span style=\"font-family: courier;\"><a href=\"https:\/\/developer.android.com\/develop\/xr\/jetpack-xr-sdk\/add-subspace\" target=\"_blank\" rel=\"noopener\">Subspace<\/a><\/span> as a percentage of the device\u2019s recommended viewing size, so a panel effortlessly fills the space it&#8217;s positioned in.<\/p>\n<p><b>Material Design for XR<\/b> now supports more component overrides for <span style=\"font-family: courier;\"><a href=\"https:\/\/developer.android.com\/develop\/ui\/compose\/components\/app-bars\" target=\"_blank\" rel=\"noopener\">TopAppBar<\/a><\/span>, <span style=\"font-family: courier;\"><a href=\"https:\/\/developer.android.com\/develop\/ui\/compose\/components\/dialog#alert\" target=\"_blank\" rel=\"noopener\">AlertDialog<\/a><\/span>, and <span style=\"font-family: courier;\"><a href=\"https:\/\/developer.android.com\/develop\/ui\/compose\/layouts\/adaptive\/list-detail\" target=\"_blank\" rel=\"noopener\">ListDetailPaneScaffold<\/a><\/span>, helping your large-screen enabled apps that use Material Design effortlessly adapt to the new world of XR.<\/p>\n<p><image><\/p>\n<div style=\"text-align: center;\"><img decoding=\"async\" alt=\"An app adapts to XR using Material Design for XR with the new component overrides\" border=\"0\" id=\"imgCaption\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEj8nZO4V5FMG8zYiut0XDvyVhKVQiplNwEUoECmtbI_w_CQPpG-LnmcsremuuyfVDuPdfv3XX8RPq4XHAXSKJisCILs4at38y2UQJntrh8fPSEk-_wN6M2CoVaWDmV20_BmPAt9ETHgwz5mm1PWgVhTgZ5I57DL4HIx7NDS_MbT4-Z47EzYCi6CALc2gMM\/s1600\/app-adapts-android-xr-material-design-google-io.png\" width=\"100%\"\/><\/div>\n<p><imgcaption><center><em>An app adapts to XR using Material Design for XR with the new component overrides<\/em><\/center><\/imgcaption><\/image><\/p>\n<p>In <b>ARCore for Jetpack XR<\/b>, you can now track hands after requesting the appropriate permissions. Hands are a collection of 26 posed hand joints that can be used to detect hand gestures and bring a whole new level of interaction to your Android XR apps:<\/p>\n<p><image><\/p>\n<div style=\"text-align: center;\"><img fetchpriority=\"high\" decoding=\"async\" alt=\"moving image demonstrates how hands bring a natural input method to your Android XR experience.\" border=\"0\" height=\"553\" id=\"imgCaption\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEh5ECo8aP0SFOaw8qfkewc866hbkOZ9ZJgdimmeFU_n3VNGTh6FK1m4R5sladem74xrUsF0QrevO4abVsPrVNq0FVU3t4pM8uPiItdCeZumsOzfZh_cskSnzM19EnoP52mf019a16-vtVrxxJX4M5lIWAHc5XfymTo0jg-lvO8s9UWruSnSVdqT5uUbNLA\/w640-h553\/arcore-jetpack-android-xr-google-io.gif\" width=\"640\"\/><\/div>\n<p><imgcaption><center><em>Hands bring a natural input method to your Android XR experience.<\/em><\/center><\/imgcaption><\/image><\/p>\n<p>For more guidance on developing apps for Android XR, check out our <a href=\"https:\/\/developer.android.com\/codelabs\/xr-fundamentals-part-1\" target=\"_blank\" rel=\"noopener\">Android XR Fundamentals codelab<\/a>, the updates to our <a href=\"http:\/\/goo.gle\/haxr\" target=\"_blank\" rel=\"noopener\">Hello Android XR sample project<\/a>, and <a href=\"http:\/\/goo.gle\/adaptive-jetstream\" target=\"_blank\" rel=\"noopener\">a new version of JetStream<\/a> with Android XR support.<\/p>\n<p>The <b>Android XR Emulator<\/b> has also received updates to stability, support for AMD GPUs, and is now fully integrated within the Android Studio UI.<\/p>\n<p><image><\/p>\n<div style=\"text-align: center;\"><img decoding=\"async\" alt=\"the Android XR Emulator in Android STudio\" border=\"0\" id=\"imgCaption\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEhMsM6_DNRkrBrxM6yuvk2YW7f6VU0XG3o4xPPzxG0b_SzdVelcRKbVplMsu136nio1UpIotiAXjQtL_1ok7DMaMMZOsFKyVidFhzSKN1dWvevZ144LcODGH1O9pLVOJq49JdGh6kGywH4B451BaRI9w5jgmyREMoMK2pcwN9rFZG12v4Vft5qVgIKHE2Y\/s16000\/android-xr-emulator-in-android-studio-google-io.png\"\/><\/div>\n<p><imgcaption><center><em>The Android XR Emulator is now integrated in Android Studio<\/em><\/center><\/imgcaption><\/image><\/p>\n<p>Developers using Unity have <a href=\"https:\/\/unity.com\/blog\/porting-apps-games-over-android-xr-unity-6\" target=\"_blank\" rel=\"noopener\">already successfully created and ported existing games and apps to Android XR<\/a>. Today, you can upgrade to the <a href=\"https:\/\/discussions.unity.com\/t\/android-xr-pre-release-now-available\/1634938\" target=\"_blank\" rel=\"noopener\">Pre-Release version 2<\/a> of the Unity OpenXR: Android XR package! This update adds many performance improvements such as support for <a href=\"https:\/\/docs.unity3d.com\/Packages\/com.unity.xr.androidxr-openxr@1.0\/manual\/features\/display-utilities.html\" target=\"_blank\" rel=\"noopener\">Dynamic Refresh Rate<\/a>, which optimizes your app\u2019s performance and power consumption. Shaders made with <a href=\"https:\/\/unity.com\/features\/shader-graph\" target=\"_blank\" rel=\"noopener\">Shader Graph<\/a> now support <a href=\"https:\/\/docs.unity3d.com\/6000.1\/Documentation\/Manual\/xr-graphics-spacewarp.html\" target=\"_blank\" rel=\"noopener\">SpaceWarp<\/a>, making it easier to use SpaceWarp to reduce compute load on the device. Hand meshes are now exposed with occlusion, which enables realistic hand visualization.<\/p>\n<p>Check out Unity\u2019s <a href=\"https:\/\/docs.unity3d.com\/Packages\/com.unity.template.mixed-reality@2.1\/manual\/index.html\" target=\"_blank\" rel=\"noopener\">improved Mixed Reality template<\/a> for Android XR, which now includes support for occlusion and persistent anchors.<\/p>\n<p>We recently launched <a href=\"https:\/\/github.com\/android\/xr-unity-samples\" target=\"_blank\" rel=\"noopener\">Android XR Samples for Unity<\/a>, which demonstrate capabilities on the Android XR platform such as hand tracking, plane tracking, face tracking, and passthrough.<\/p>\n<p><image><\/p>\n<div style=\"text-align: center;\"><img decoding=\"async\" alt=\"moving image of Google\u2019s open-source Unity samples demonstrating platform features and showing how they\u2019re implemented\" border=\"0\" height=\"640\" id=\"imgCaption\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEiHiuAwjZJtPTRL6q7bvpY4xwXfqGj52bT1fYywSchvBHYVjeqi0_17QOZdn0BylkT9J-txSEJUjZu2WjMheml_sGX17Goi5ZkYSCVhvQ7i8JzXiuakPcR1_XnaRg7SI5OhWvN0ImaxLcpcHbky6rtz7vOXsOV4HZc6PVaeu623XnM6R23lM5tNZ171FxU\/w640-h640\/unity-demo-android-xr-google-io.gif\" width=\"640\"\/><\/div>\n<p><imgcaption><center><em>Google\u2019s open-source Unity samples demonstrate platform features and show how they\u2019re implemented<\/em><\/center><\/imgcaption><\/image><\/p>\n<p>The Firebase AI Logic for Unity is now in public preview! This makes it easy for you to integrate gen AI into your apps, enabling the creation of AI-powered experiences with Gemini and Android XR. The Firebase AI Logic fully supports Gemini&#8217;s capabilities, including multimodal input and output, and bi-directional streaming for immersive conversational interfaces. Built with production readiness in mind, Firebase AI Logic is integrated with core Firebase services like App Check, Remote Config, and Cloud Storage for enhanced security, configurability, and data management. Learn more about this on <a href=\"https:\/\/firebase.blog\/posts\/2025\/05\/ai-logic-unity-androidxr\" target=\"_blank\" rel=\"noopener\">the Firebase blog<\/a> or go straight to the <a href=\"https:\/\/firebase.google.com\/docs\/vertex-ai\/get-started\" target=\"_blank\" rel=\"noopener\">Gemini API using Vertex AI in Firebase SDK documentation<\/a> to get started.<\/p>\n<h2><span style=\"font-size: x-large;\">Continuing to build the future together<\/span><\/h2>\n<p>Our commitment to open standards continues with the <a href=\"https:\/\/www.khronos.org\/blog\/gltf-interactivity-specification-released-for-public-comment\" target=\"_blank\" rel=\"noopener\">glTF Interactivity specification<\/a>, in collaboration with the Khronos Group. which will be supported in glTF models rendered by Jetpack XR later this year. Models using the glTF Interactivity specification are self-contained interactive assets that can have many pre-programmed behaviors, like rotating objects on a button press or changing the color of a material over time.<\/p>\n<p>Android XR will be available first on Samsung\u2019s Project Moohan, launching later this year. Soon after, our partners at XREAL will release the next Android XR device. Codenamed Project Aura, it\u2019s a portable and tethered device that gives users access to their favorite Android apps, including those that have been built for XR. It will launch as a developer edition, specifically for you to begin creating and experimenting. The best news? With the familiar tools you use to build Android apps today, you can build for these devices too.<\/p>\n<p><image><\/p>\n<div style=\"text-align: center;\"><img decoding=\"async\" alt=\"product image of XREAL\u2019s Project Aura against a nebulous black background\" border=\"0\" id=\"imgCaption\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgujCjZD5_MiRHDiDp_O-PRCGs_CdfARZbtfC5xqrKgMlJbWZQxNwdNN9C4SwVYB7Lu0Pm8GTubBcVenZm07pCIMAuAx5WcFjADHyE0JeQYhIlEmTqoW0te7xBz15Ab3Oh7C8IN4uk5zLnvqRJmUIEz0lOtSMO-e1oeiWK-jo2NvvrzBQoNUSU7_0UFmf4\/s1600\/android-xr-google-io-meta.png\" width=\"100%\"\/><\/div>\n<p><imgcaption><center><em>XREAL\u2019s Project Aura<\/em><\/center><\/imgcaption><\/image><\/p>\n<p>The Google Play Store is also getting ready for Android XR. It will list <a href=\"https:\/\/developer.android.com\/develop\/xr\/get-started#app_manifest_compatibility_considerations_for_mobile_and_large_screen_apps\" target=\"_blank\" rel=\"noopener\">supported 2D Android apps<\/a> on the Android XR Play Store when it launches later this year. If you are working on an <a href=\"https:\/\/developer.android.com\/docs\/quality-guidelines\/android-xr#android-xr-differentiated\" target=\"_blank\" rel=\"noopener\">Android XR differentiated app<\/a>, you can get it ready for the big launch and be one of the first differentiated apps on the Android XR Play Store:<\/p>\n<p>And we know many of you are excited for the future of Android XR on <a href=\"https:\/\/blog.google\/products\/android\/android-xr-gemini-glasses-headsets\/\" target=\"_blank\" rel=\"noopener\">glasses<\/a>. We are shaping  the developer experience now and will share more details on how you can participate later this year.<\/p>\n<p>To get started creating and developing for Android XR, check out <a href=\"https:\/\/d.android.com\/develop\/xr\" target=\"_blank\" rel=\"noopener\">developer.android.com\/develop\/xr<\/a> where you will find all of the tools, libraries, and resources you need to work with the Android XR SDK. In particular, try out our <a href=\"https:\/\/developer.android.com\/develop\/xr\/samples\" target=\"_blank\" rel=\"noopener\">samples<\/a> and <a href=\"https:\/\/developer.android.com\/codelabs\/xr-fundamentals-part-1#0\" target=\"_blank\" rel=\"noopener\">codelabs<\/a>.<\/p>\n<p>We welcome your <a href=\"https:\/\/d.android.com\/develop\/xr\/support\" target=\"_blank\" rel=\"noopener\">feedback, suggestions, and ideas<\/a> as you\u2019re helping shape Android XR. Your passion, expertise, and bold ideas are vital as we continue to develop Android XR together. We look forward to seeing your XR-differentiated apps when Android XR devices launch later this year!<\/p>\n<p>Explore this announcement and all Google I\/O 2025 updates on <a href=\"https:\/\/io.google\/2025\/?utm_source=blogpost&amp;utm_medium=pr&amp;utm_campaign=event&amp;utm_content=\" target=\"_blank\" rel=\"noopener\">io.google<\/a> starting May 22.<\/p>\n<p>\n<\/div>\n<p>[ad_2]<br \/>\n<br \/><a href=\"http:\/\/android-developers.googleblog.com\/2025\/05\/updates-to-android-xr-sdk-developer-preview.html\">Source link <\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>[ad_1] Posted by Matthew McCullough \u2013 VP of Product Management, Android Developer Since launching the Android XR SDK Developer Preview alongside Samsung, Qualcomm, and Unity<\/p>\n","protected":false},"author":1,"featured_media":277361,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[146],"tags":[],"_links":{"self":[{"href":"https:\/\/michigandigitalnews.com\/index.php\/wp-json\/wp\/v2\/posts\/277360"}],"collection":[{"href":"https:\/\/michigandigitalnews.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/michigandigitalnews.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/michigandigitalnews.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/michigandigitalnews.com\/index.php\/wp-json\/wp\/v2\/comments?post=277360"}],"version-history":[{"count":0,"href":"https:\/\/michigandigitalnews.com\/index.php\/wp-json\/wp\/v2\/posts\/277360\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/michigandigitalnews.com\/index.php\/wp-json\/wp\/v2\/media\/277361"}],"wp:attachment":[{"href":"https:\/\/michigandigitalnews.com\/index.php\/wp-json\/wp\/v2\/media?parent=277360"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/michigandigitalnews.com\/index.php\/wp-json\/wp\/v2\/categories?post=277360"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/michigandigitalnews.com\/index.php\/wp-json\/wp\/v2\/tags?post=277360"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}