CINXE.COM
Request runtime permissions | Android Developers
<!doctype html> <html lang="en" dir="ltr"> <head> <meta name="google-signin-client-id" content="721724668570-nbkv1cfusk7kk4eni4pjvepaus73b13t.apps.googleusercontent.com"> <meta name="google-signin-scope" content="profile email https://www.googleapis.com/auth/developerprofiles https://www.googleapis.com/auth/developerprofiles.award"> <meta property="og:site_name" content="Android Developers"> <meta property="og:type" content="website"><meta name="theme-color" content="#34a853"><meta charset="utf-8"> <meta content="IE=Edge" http-equiv="X-UA-Compatible"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="manifest" href="/_pwa/android/manifest.json" crossorigin="use-credentials"> <link rel="preconnect" href="//www.gstatic.com" crossorigin> <link rel="preconnect" href="//fonts.gstatic.com" crossorigin> <link rel="preconnect" href="//fonts.googleapis.com" crossorigin> <link rel="preconnect" href="//apis.google.com" crossorigin> <link rel="preconnect" href="//www.google-analytics.com" crossorigin><link rel="stylesheet" href="//fonts.googleapis.com/css?family=Google+Sans:400,500,600,700|Google+Sans+Text:400,400italic,500,500italic,600,600italic,700,700italic|Roboto+Mono:400,500,700&display=swap"> <link rel="stylesheet" href="//fonts.googleapis.com/css2?family=Material+Icons&family=Material+Symbols+Outlined&display=block"><link rel="stylesheet" href="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/android/css/app.css"> <link rel="stylesheet" href="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/android/css/dark-theme.css" disabled> <link rel="shortcut icon" href="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/android/images/favicon.svg"> <link rel="apple-touch-icon" href="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/android/images/touchicon-180.png"><link rel="canonical" href="https://developer.android.com/training/permissions/requesting"><link rel="search" type="application/opensearchdescription+xml" title="Android Developers" href="https://developer.android.com/s/opensearch.xml"> <link rel="alternate" hreflang="en" href="https://developer.android.com/training/permissions/requesting" /><link rel="alternate" hreflang="x-default" href="https://developer.android.com/training/permissions/requesting" /><link rel="alternate" hreflang="ar" href="https://developer.android.com/training/permissions/requesting?hl=ar" /><link rel="alternate" hreflang="bn" href="https://developer.android.com/training/permissions/requesting?hl=bn" /><link rel="alternate" hreflang="zh-Hans" href="https://developer.android.com/training/permissions/requesting?hl=zh-cn" /><link rel="alternate" hreflang="zh-Hant" href="https://developer.android.com/training/permissions/requesting?hl=zh-tw" /><link rel="alternate" hreflang="fa" href="https://developer.android.com/training/permissions/requesting?hl=fa" /><link rel="alternate" hreflang="fr" href="https://developer.android.com/training/permissions/requesting?hl=fr" /><link rel="alternate" hreflang="de" href="https://developer.android.com/training/permissions/requesting?hl=de" /><link rel="alternate" hreflang="he" href="https://developer.android.com/training/permissions/requesting?hl=he" /><link rel="alternate" hreflang="hi" href="https://developer.android.com/training/permissions/requesting?hl=hi" /><link rel="alternate" hreflang="id" href="https://developer.android.com/training/permissions/requesting?hl=id" /><link rel="alternate" hreflang="it" href="https://developer.android.com/training/permissions/requesting?hl=it" /><link rel="alternate" hreflang="ja" href="https://developer.android.com/training/permissions/requesting?hl=ja" /><link rel="alternate" hreflang="ko" href="https://developer.android.com/training/permissions/requesting?hl=ko" /><link rel="alternate" hreflang="pl" href="https://developer.android.com/training/permissions/requesting?hl=pl" /><link rel="alternate" hreflang="pt-BR" href="https://developer.android.com/training/permissions/requesting?hl=pt-br" /><link rel="alternate" hreflang="ru" href="https://developer.android.com/training/permissions/requesting?hl=ru" /><link rel="alternate" hreflang="es-419" href="https://developer.android.com/training/permissions/requesting?hl=es-419" /><link rel="alternate" hreflang="th" href="https://developer.android.com/training/permissions/requesting?hl=th" /><link rel="alternate" hreflang="tr" href="https://developer.android.com/training/permissions/requesting?hl=tr" /><link rel="alternate" hreflang="vi" href="https://developer.android.com/training/permissions/requesting?hl=vi" /><title>Request runtime permissions | Android Developers</title> <meta property="og:title" content="Request runtime permissions | Android Developers"><meta property="og:url" content="https://developer.android.com/training/permissions/requesting"><meta property="og:image" content="https://developer.android.com/static/training/permissions/images/permissions_check.png"> <meta property="og:image:width" content="1200"> <meta property="og:image:height" content="675"><meta property="og:locale" content="en"><meta name="twitter:card" content="summary_large_image"><script type="application/ld+json"> { "@context": "https://schema.org", "@type": "Article", "headline": "Request runtime permissions" } </script> <link rel="stylesheet" href="/extras.css"></head> <body class="" template="page" theme="android-theme" type="article" appearance layout="docs" display-toc pending> <devsite-progress type="indeterminate" id="app-progress"></devsite-progress> <section class="devsite-wrapper"> <devsite-cookie-notification-bar></devsite-cookie-notification-bar><devsite-header role="banner"> <div class="devsite-header--inner nocontent"> <div class="devsite-top-logo-row-wrapper-wrapper"> <div class="devsite-top-logo-row-wrapper"> <div class="devsite-top-logo-row"> <button type="button" id="devsite-hamburger-menu" class="devsite-header-icon-button button-flat material-icons gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Navigation menu button" visually-hidden aria-label="Open menu"> </button> <div class="devsite-product-name-wrapper"> <a href="/" class="devsite-site-logo-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Site logo" track-type="globalNav" track-name="androidDevelopers" track-metadata-position="nav" track-metadata-eventDetail="nav"> <picture> <source srcset="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/android/images/lockup-dark-theme.svg" media="(prefers-color-scheme: dark)" class="devsite-dark-theme" alt="Android Developers"> <img src="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/android/images/lockup.svg" class="devsite-site-logo" alt="Android Developers"> </picture> </a> <span class="devsite-product-name"> <ul class="devsite-breadcrumb-list" > <li class="devsite-breadcrumb-item "> </li> </ul> </span> </div> <div class="devsite-top-logo-row-middle"> <div class="devsite-header-upper-tabs"> <devsite-tabs class="upper-tabs"> <nav class="devsite-tabs-wrapper" aria-label="Upper tabs"> <tab class="devsite-dropdown devsite-dropdown-full "> <a href="https://developer.android.com/get-started" track-metadata-eventdetail="https://developer.android.com/get-started" class="devsite-tabs-content gc-analytics-event android-dropdown-tab" track-type="nav" track-metadata-position="nav - essentials" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Essentials" track-name="essentials" > Essentials </a> <a href="#" role="button" aria-haspopup="true" aria-expanded="false" aria-label="Dropdown menu for Essentials" track-type="nav" track-metadata-eventdetail="https://developer.android.com/get-started" track-metadata-position="nav - essentials" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Essentials" track-name="essentials" class="devsite-tabs-dropdown-toggle devsite-icon devsite-icon-arrow-drop-down"></a> <div class="devsite-tabs-dropdown" aria-label="submenu" hidden> <div class="devsite-tabs-dropdown-content"> <div class="devsite-tabs-dropdown-column android-dropdown android-dropdown-primary android-dropdown-studio"> <ul class="devsite-tabs-dropdown-section "> <li class="devsite-nav-title" role="heading" tooltip>Gemini in Android Studio</li> <li class="devsite-nav-description">Your AI development companion for Android development. </li> <li class="devsite-nav-item"> <a href="https://developer.android.com/gemini-in-android" track-type="nav" track-metadata-eventdetail="https://developer.android.com/gemini-in-android" track-metadata-position="nav - essentials" track-metadata-module="tertiary nav" track-metadata-module_headline="gemini in android studio" tooltip class="button button-primary" > <div class="devsite-nav-item-title"> Learn more </div> </a> </li> <li class="devsite-nav-item"> <a href="https://developer.android.com/studio" track-type="nav" track-metadata-eventdetail="https://developer.android.com/studio" track-metadata-position="nav - essentials" track-metadata-module="tertiary nav" track-metadata-module_headline="gemini in android studio" tooltip class="button button-white" > <div class="devsite-nav-item-title"> Get Android Studio </div> </a> </li> </ul> </div> <div class="devsite-tabs-dropdown-column android-dropdown"> <ul class="devsite-tabs-dropdown-section android-dropdown-section-icon android-dropdown-section-icon-launch"> <li class="devsite-nav-title" role="heading" tooltip>Get started</li> <li class="devsite-nav-description">Start by creating your first app. Go deeper with our training courses or explore app development on your own. </li> <li class="devsite-nav-item"> <a href="https://developer.android.com/get-started/overview" track-type="nav" track-metadata-eventdetail="https://developer.android.com/get-started/overview" track-metadata-position="nav - essentials" track-metadata-module="tertiary nav" track-metadata-module_headline="get started" tooltip > <div class="devsite-nav-item-title"> Hello world </div> </a> </li> <li class="devsite-nav-item"> <a href="https://developer.android.com/courses" track-type="nav" track-metadata-eventdetail="https://developer.android.com/courses" track-metadata-position="nav - essentials" track-metadata-module="tertiary nav" track-metadata-module_headline="get started" tooltip > <div class="devsite-nav-item-title"> Training courses </div> </a> </li> <li class="devsite-nav-item"> <a href="https://developer.android.com/get-started/codelabs" track-type="nav" track-metadata-eventdetail="https://developer.android.com/get-started/codelabs" track-metadata-position="nav - essentials" track-metadata-module="tertiary nav" track-metadata-module_headline="get started" tooltip > <div class="devsite-nav-item-title"> Tutorials </div> </a> </li> <li class="devsite-nav-item"> <a href="https://developer.android.com/kotlin" track-type="nav" track-metadata-eventdetail="https://developer.android.com/kotlin" track-metadata-position="nav - essentials" track-metadata-module="tertiary nav" track-metadata-module_headline="get started" tooltip > <div class="devsite-nav-item-title"> Kotlin for Android </div> </a> </li> <li class="devsite-nav-item"> <a href="https://play.google.com/console/about/guides/monetize/" track-type="nav" track-metadata-eventdetail="https://play.google.com/console/about/guides/monetize/" track-metadata-position="nav - essentials" track-metadata-module="tertiary nav" track-metadata-module_headline="get started" tooltip > <div class="devsite-nav-item-title"> Monetization with Play ↗️ </div> </a> </li> </ul> </div> <div class="devsite-tabs-dropdown-column android-dropdown"> <ul class="devsite-tabs-dropdown-section android-dropdown-section-icon android-dropdown-section-icon-multiple-screens"> <li class="devsite-nav-title" role="heading" tooltip>Extend by device</li> <li class="devsite-nav-description">Build apps that give your users seamless experiences from phones to tablets, watches, and more. </li> <li class="devsite-nav-item"> <a href="https://developer.android.com/adaptive-apps" track-type="nav" track-metadata-eventdetail="https://developer.android.com/adaptive-apps" track-metadata-position="nav - essentials" track-metadata-module="tertiary nav" track-metadata-module_headline="extend by device" tooltip > <div class="devsite-nav-item-title"> Adaptive apps </div> </a> </li> <li class="devsite-nav-item"> <a href="https://developer.android.com/wear" track-type="nav" track-metadata-eventdetail="https://developer.android.com/wear" track-metadata-position="nav - essentials" track-metadata-module="tertiary nav" track-metadata-module_headline="extend by device" tooltip > <div class="devsite-nav-item-title"> Wear OS </div> </a> </li> <li class="devsite-nav-item"> <a href="https://developer.android.com/cars" track-type="nav" track-metadata-eventdetail="https://developer.android.com/cars" track-metadata-position="nav - essentials" track-metadata-module="tertiary nav" track-metadata-module_headline="extend by device" tooltip > <div class="devsite-nav-item-title"> Android for Cars </div> </a> </li> <li class="devsite-nav-item"> <a href="https://developer.android.com/tv" track-type="nav" track-metadata-eventdetail="https://developer.android.com/tv" track-metadata-position="nav - essentials" track-metadata-module="tertiary nav" track-metadata-module_headline="extend by device" tooltip > <div class="devsite-nav-item-title"> Android TV </div> </a> </li> <li class="devsite-nav-item"> <a href="https://developer.android.com/chrome-os" track-type="nav" track-metadata-eventdetail="https://developer.android.com/chrome-os" track-metadata-position="nav - essentials" track-metadata-module="tertiary nav" track-metadata-module_headline="extend by device" tooltip > <div class="devsite-nav-item-title"> ChromeOS </div> </a> </li> <li class="devsite-nav-item"> <a href="https://developer.android.com/multi-device-development" track-type="nav" track-metadata-eventdetail="https://developer.android.com/multi-device-development" track-metadata-position="nav - essentials" track-metadata-module="tertiary nav" track-metadata-module_headline="extend by device" tooltip > <div class="devsite-nav-item-title"> Cross-device SDK </div> </a> </li> </ul> </div> <div class="devsite-tabs-dropdown-column android-dropdown"> <ul class="devsite-tabs-dropdown-section android-dropdown-section-icon android-dropdown-section-icon-platform"> <li class="devsite-nav-title" role="heading" tooltip>Build by category</li> <li class="devsite-nav-description">Learn to build for your use case by following Google's prescriptive and opinionated guidance. </li> <li class="devsite-nav-item"> <a href="https://developer.android.com/games" track-type="nav" track-metadata-eventdetail="https://developer.android.com/games" track-metadata-position="nav - essentials" track-metadata-module="tertiary nav" track-metadata-module_headline="build by category" tooltip > <div class="devsite-nav-item-title"> Games </div> </a> </li> <li class="devsite-nav-item"> <a href="https://developer.android.com/media" track-type="nav" track-metadata-eventdetail="https://developer.android.com/media" track-metadata-position="nav - essentials" track-metadata-module="tertiary nav" track-metadata-module_headline="build by category" tooltip > <div class="devsite-nav-item-title"> Camera & Media </div> </a> </li> <li class="devsite-nav-item"> <a href="https://developer.android.com/social-and-messaging" track-type="nav" track-metadata-eventdetail="https://developer.android.com/social-and-messaging" track-metadata-position="nav - essentials" track-metadata-module="tertiary nav" track-metadata-module_headline="build by category" tooltip > <div class="devsite-nav-item-title"> Social & messaging </div> </a> </li> <li class="devsite-nav-item"> <a href="https://developer.android.com/health-and-fitness" track-type="nav" track-metadata-eventdetail="https://developer.android.com/health-and-fitness" track-metadata-position="nav - essentials" track-metadata-module="tertiary nav" track-metadata-module_headline="build by category" tooltip > <div class="devsite-nav-item-title"> Health & Fitness </div> </a> </li> <li class="devsite-nav-item"> <a href="https://developer.android.com/productivity" track-type="nav" track-metadata-eventdetail="https://developer.android.com/productivity" track-metadata-position="nav - essentials" track-metadata-module="tertiary nav" track-metadata-module_headline="build by category" tooltip > <div class="devsite-nav-item-title"> Productivity </div> </a> </li> <li class="devsite-nav-item"> <a href="https://developer.android.com/work/overview" track-type="nav" track-metadata-eventdetail="https://developer.android.com/work/overview" track-metadata-position="nav - essentials" track-metadata-module="tertiary nav" track-metadata-module_headline="build by category" tooltip > <div class="devsite-nav-item-title"> Enterprise apps </div> </a> </li> </ul> </div> <div class="devsite-tabs-dropdown-column android-dropdown"> <ul class="devsite-tabs-dropdown-section android-dropdown-section-icon android-dropdown-section-icon-stars"> <li class="devsite-nav-title" role="heading" tooltip>Get the latest</li> <li class="devsite-nav-description">Stay in touch with the latest releases throughout the year, join our preview programs, and give us your feedback. </li> <li class="devsite-nav-item"> <a href="https://developer.android.com/latest-updates" track-type="nav" track-metadata-eventdetail="https://developer.android.com/latest-updates" track-metadata-position="nav - essentials" track-metadata-module="tertiary nav" track-metadata-module_headline="get the latest" tooltip > <div class="devsite-nav-item-title"> Latest updates </div> </a> </li> <li class="devsite-nav-item"> <a href="https://developer.android.com/latest-updates/experimental" track-type="nav" track-metadata-eventdetail="https://developer.android.com/latest-updates/experimental" track-metadata-position="nav - essentials" track-metadata-module="tertiary nav" track-metadata-module_headline="get the latest" tooltip > <div class="devsite-nav-item-title"> Experimental updates </div> </a> </li> <li class="devsite-nav-item"> <a href="https://developer.android.com/studio/preview" track-type="nav" track-metadata-eventdetail="https://developer.android.com/studio/preview" track-metadata-position="nav - essentials" track-metadata-module="tertiary nav" track-metadata-module_headline="get the latest" tooltip > <div class="devsite-nav-item-title"> Android Studio preview </div> </a> </li> <li class="devsite-nav-item"> <a href="https://developer.android.com/jetpack/androidx/versions" track-type="nav" track-metadata-eventdetail="https://developer.android.com/jetpack/androidx/versions" track-metadata-position="nav - essentials" track-metadata-module="tertiary nav" track-metadata-module_headline="get the latest" tooltip > <div class="devsite-nav-item-title"> Jetpack & Compose libraries </div> </a> </li> <li class="devsite-nav-item"> <a href="https://developer.android.com/training/wearables/versions/4" track-type="nav" track-metadata-eventdetail="https://developer.android.com/training/wearables/versions/4" track-metadata-position="nav - essentials" track-metadata-module="tertiary nav" track-metadata-module_headline="get the latest" tooltip > <div class="devsite-nav-item-title"> Wear OS preview </div> </a> </li> <li class="devsite-nav-item"> <a href="https://developer.android.com/design-for-safety/privacy-sandbox" track-type="nav" track-metadata-eventdetail="https://developer.android.com/design-for-safety/privacy-sandbox" track-metadata-position="nav - essentials" track-metadata-module="tertiary nav" track-metadata-module_headline="get the latest" tooltip > <div class="devsite-nav-item-title"> Privacy Sandbox </div> </a> </li> </ul> </div> </div> </div> </tab> <tab class="devsite-dropdown devsite-dropdown-full "> <a href="https://developer.android.com/design" track-metadata-eventdetail="https://developer.android.com/design" class="devsite-tabs-content gc-analytics-event android-dropdown-tab" track-type="nav" track-metadata-position="nav - design & plan" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Design & Plan" track-name="design & plan" > Design & Plan </a> <a href="#" role="button" aria-haspopup="true" aria-expanded="false" aria-label="Dropdown menu for Design & Plan" track-type="nav" track-metadata-eventdetail="https://developer.android.com/design" track-metadata-position="nav - design & plan" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Design & Plan" track-name="design & plan" class="devsite-tabs-dropdown-toggle devsite-icon devsite-icon-arrow-drop-down"></a> <div class="devsite-tabs-dropdown" aria-label="submenu" hidden> <div class="devsite-tabs-dropdown-content"> <div class="devsite-tabs-dropdown-column android-dropdown"> <ul class="devsite-tabs-dropdown-section android-dropdown-section-icon android-dropdown-section-icon-layout"> <li class="devsite-nav-title" role="heading" tooltip>UI Design</li> <li class="devsite-nav-description">Design a beautiful user interface using Android best practices.</li> <li class="devsite-nav-item"> <a href="https://developer.android.com/design/ui" track-type="nav" track-metadata-eventdetail="https://developer.android.com/design/ui" track-metadata-position="nav - design & plan" track-metadata-module="tertiary nav" track-metadata-module_headline="ui design" tooltip > <div class="devsite-nav-item-title"> Design for Android </div> </a> </li> <li class="devsite-nav-item"> <a href="https://developer.android.com/design/ui/mobile" track-type="nav" track-metadata-eventdetail="https://developer.android.com/design/ui/mobile" track-metadata-position="nav - design & plan" track-metadata-module="tertiary nav" track-metadata-module_headline="ui design" tooltip > <div class="devsite-nav-item-title"> Mobile </div> </a> </li> <li class="devsite-nav-item"> <a href="https://developer.android.com/design/ui/large-screens" track-type="nav" track-metadata-eventdetail="https://developer.android.com/design/ui/large-screens" track-metadata-position="nav - design & plan" track-metadata-module="tertiary nav" track-metadata-module_headline="ui design" tooltip > <div class="devsite-nav-item-title"> Large screens (e.g., tablets) </div> </a> </li> <li class="devsite-nav-item"> <a href="https://developer.android.com/design/ui/widget" track-type="nav" track-metadata-eventdetail="https://developer.android.com/design/ui/widget" track-metadata-position="nav - design & plan" track-metadata-module="tertiary nav" track-metadata-module_headline="ui design" tooltip > <div class="devsite-nav-item-title"> Widgets </div> </a> </li> <li class="devsite-nav-item"> <a href="https://developer.android.com/design/ui/wear" track-type="nav" track-metadata-eventdetail="https://developer.android.com/design/ui/wear" track-metadata-position="nav - design & plan" track-metadata-module="tertiary nav" track-metadata-module_headline="ui design" tooltip > <div class="devsite-nav-item-title"> Wear OS </div> </a> </li> <li class="devsite-nav-item"> <a href="https://developer.android.com/design/ui/tv" track-type="nav" track-metadata-eventdetail="https://developer.android.com/design/ui/tv" track-metadata-position="nav - design & plan" track-metadata-module="tertiary nav" track-metadata-module_headline="ui design" tooltip > <div class="devsite-nav-item-title"> Android TV </div> </a> </li> </ul> </div> <div class="devsite-tabs-dropdown-column android-dropdown"> <ul class="devsite-tabs-dropdown-section android-dropdown-section-icon android-dropdown-section-icon-design"> <li class="devsite-nav-title" role="heading" tooltip>Architecture</li> <li class="devsite-nav-description">Design robust, testable, and maintainable app logic and services.</li> <li class="devsite-nav-item"> <a href="https://developer.android.com/topic/architecture/intro" track-type="nav" track-metadata-eventdetail="https://developer.android.com/topic/architecture/intro" track-metadata-position="nav - design & plan" track-metadata-module="tertiary nav" track-metadata-module_headline="architecture" tooltip > <div class="devsite-nav-item-title"> Introduction </div> </a> </li> <li class="devsite-nav-item"> <a href="https://developer.android.com/topic/libraries/view-binding" track-type="nav" track-metadata-eventdetail="https://developer.android.com/topic/libraries/view-binding" track-metadata-position="nav - design & plan" track-metadata-module="tertiary nav" track-metadata-module_headline="architecture" tooltip > <div class="devsite-nav-item-title"> Libraries </div> </a> </li> <li class="devsite-nav-item"> <a href="https://developer.android.com/guide/navigation/navigation-principles" track-type="nav" track-metadata-eventdetail="https://developer.android.com/guide/navigation/navigation-principles" track-metadata-position="nav - design & plan" track-metadata-module="tertiary nav" track-metadata-module_headline="architecture" tooltip > <div class="devsite-nav-item-title"> Navigation </div> </a> </li> <li class="devsite-nav-item"> <a href="https://developer.android.com/topic/modularization" track-type="nav" track-metadata-eventdetail="https://developer.android.com/topic/modularization" track-metadata-position="nav - design & plan" track-metadata-module="tertiary nav" track-metadata-module_headline="architecture" tooltip > <div class="devsite-nav-item-title"> Modularization </div> </a> </li> <li class="devsite-nav-item"> <a href="https://developer.android.com/training/testing/fundamentals" track-type="nav" track-metadata-eventdetail="https://developer.android.com/training/testing/fundamentals" track-metadata-position="nav - design & plan" track-metadata-module="tertiary nav" track-metadata-module_headline="architecture" tooltip > <div class="devsite-nav-item-title"> Testing </div> </a> </li> </ul> </div> <div class="devsite-tabs-dropdown-column android-dropdown"> <ul class="devsite-tabs-dropdown-section android-dropdown-section-icon android-dropdown-section-icon-vitals"> <li class="devsite-nav-title" role="heading" tooltip>Quality</li> <li class="devsite-nav-description">Plan for app quality and align with Play store guidelines.</li> <li class="devsite-nav-item"> <a href="https://developer.android.com/quality" track-type="nav" track-metadata-eventdetail="https://developer.android.com/quality" track-metadata-position="nav - design & plan" track-metadata-module="tertiary nav" track-metadata-module_headline="quality" tooltip > <div class="devsite-nav-item-title"> Overview </div> </a> </li> <li class="devsite-nav-item"> <a href="https://developer.android.com/quality/core-value" track-type="nav" track-metadata-eventdetail="https://developer.android.com/quality/core-value" track-metadata-position="nav - design & plan" track-metadata-module="tertiary nav" track-metadata-module_headline="quality" tooltip > <div class="devsite-nav-item-title"> Core value </div> </a> </li> <li class="devsite-nav-item"> <a href="https://developer.android.com/quality/user-experience" track-type="nav" track-metadata-eventdetail="https://developer.android.com/quality/user-experience" track-metadata-position="nav - design & plan" track-metadata-module="tertiary nav" track-metadata-module_headline="quality" tooltip > <div class="devsite-nav-item-title"> User experience </div> </a> </li> <li class="devsite-nav-item"> <a href="https://developer.android.com/quality/technical" track-type="nav" track-metadata-eventdetail="https://developer.android.com/quality/technical" track-metadata-position="nav - design & plan" track-metadata-module="tertiary nav" track-metadata-module_headline="quality" tooltip > <div class="devsite-nav-item-title"> Technical quality </div> </a> </li> <li class="devsite-nav-item"> <a href="https://developer.android.com/quality/privacy-and-security" track-type="nav" track-metadata-eventdetail="https://developer.android.com/quality/privacy-and-security" track-metadata-position="nav - design & plan" track-metadata-module="tertiary nav" track-metadata-module_headline="quality" tooltip > <div class="devsite-nav-item-title"> Security </div> </a> </li> </ul> </div> <div class="devsite-tabs-dropdown-column android-dropdown"> <ul class="devsite-tabs-dropdown-section android-dropdown-section-icon android-dropdown-section-icon-security-2"> <li class="devsite-nav-title" role="heading" tooltip>Security</li> <li class="devsite-nav-description">Safeguard users against threats and ensure a secure Android experience.</li> <li class="devsite-nav-item"> <a href="https://developer.android.com/security" track-type="nav" track-metadata-eventdetail="https://developer.android.com/security" track-metadata-position="nav - design & plan" track-metadata-module="tertiary nav" track-metadata-module_headline="security" tooltip > <div class="devsite-nav-item-title"> Overview </div> </a> </li> <li class="devsite-nav-item"> <a href="https://developer.android.com/privacy-and-security/about" track-type="nav" track-metadata-eventdetail="https://developer.android.com/privacy-and-security/about" track-metadata-position="nav - design & plan" track-metadata-module="tertiary nav" track-metadata-module_headline="security" tooltip > <div class="devsite-nav-item-title"> Privacy </div> </a> </li> <li class="devsite-nav-item"> <a href="https://developer.android.com/identity" track-type="nav" track-metadata-eventdetail="https://developer.android.com/identity" track-metadata-position="nav - design & plan" track-metadata-module="tertiary nav" track-metadata-module_headline="security" tooltip > <div class="devsite-nav-item-title"> Identity </div> </a> </li> <li class="devsite-nav-item"> <a href="https://developer.android.com/security/fraud-prevention" track-type="nav" track-metadata-eventdetail="https://developer.android.com/security/fraud-prevention" track-metadata-position="nav - design & plan" track-metadata-module="tertiary nav" track-metadata-module_headline="security" tooltip > <div class="devsite-nav-item-title"> Fraud prevention </div> </a> </li> </ul> </div> <div class="devsite-tabs-dropdown-column android-dropdown"> <ul class="devsite-tabs-dropdown-section android-dropdown-section-icon android-dropdown-section-icon-earth"> <li class="devsite-nav-title" role="heading" tooltip>Build for Billions</li> <li class="devsite-nav-description">Create the best experience for entry-level devices</li> <li class="devsite-nav-item"> <a href="https://developer.android.com/build-for-billions" track-type="nav" track-metadata-eventdetail="https://developer.android.com/build-for-billions" track-metadata-position="nav - design & plan" track-metadata-module="tertiary nav" track-metadata-module_headline="build for billions" tooltip > <div class="devsite-nav-item-title"> Overview </div> </a> </li> <li class="devsite-nav-item"> <a href="https://developer.android.com/docs/quality-guidelines/build-for-billions" track-type="nav" track-metadata-eventdetail="https://developer.android.com/docs/quality-guidelines/build-for-billions" track-metadata-position="nav - design & plan" track-metadata-module="tertiary nav" track-metadata-module_headline="build for billions" tooltip > <div class="devsite-nav-item-title"> About new markets </div> </a> </li> <li class="devsite-nav-item"> <a href="https://developer.android.com/guide/topics/androidgo" track-type="nav" track-metadata-eventdetail="https://developer.android.com/guide/topics/androidgo" track-metadata-position="nav - design & plan" track-metadata-module="tertiary nav" track-metadata-module_headline="build for billions" tooltip > <div class="devsite-nav-item-title"> Android (Go edition) </div> </a> </li> </ul> </div> </div> </div> </tab> <tab class="devsite-dropdown devsite-dropdown-full devsite-active "> <a href="https://developer.android.com/develop" track-metadata-eventdetail="https://developer.android.com/develop" class="devsite-tabs-content gc-analytics-event android-dropdown-tab" track-type="nav" track-metadata-position="nav - develop" track-metadata-module="primary nav" aria-label="Develop, selected" data-category="Site-Wide Custom Events" data-label="Tab: Develop" track-name="develop" > Develop </a> <a href="#" role="button" aria-haspopup="true" aria-expanded="false" aria-label="Dropdown menu for Develop" track-type="nav" track-metadata-eventdetail="https://developer.android.com/develop" track-metadata-position="nav - develop" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Develop" track-name="develop" class="devsite-tabs-dropdown-toggle devsite-icon devsite-icon-arrow-drop-down"></a> <div class="devsite-tabs-dropdown" aria-label="submenu" hidden> <div class="devsite-tabs-dropdown-content"> <div class="devsite-tabs-dropdown-column android-dropdown android-dropdown-primary android-dropdown-ai"> <ul class="devsite-tabs-dropdown-section "> <li class="devsite-nav-title" role="heading" tooltip>Build AI experiences</li> <li class="devsite-nav-description">Build AI-powered Android apps with Gemini APIs and more. </li> <li class="devsite-nav-item"> <a href="https://developer.android.com/ai" track-type="nav" track-metadata-eventdetail="https://developer.android.com/ai" track-metadata-position="nav - develop" track-metadata-module="tertiary nav" track-metadata-module_headline="build ai experiences" tooltip class="button button-primary" > <div class="devsite-nav-item-title"> Get started </div> </a> </li> </ul> </div> <div class="devsite-tabs-dropdown-column android-dropdown"> <ul class="devsite-tabs-dropdown-section android-dropdown-section-icon android-dropdown-section-icon-flag"> <li class="devsite-nav-title" role="heading" tooltip>Core areas</li> <li class="devsite-nav-description">Get the samples and docs for the features you need.</li> <li class="devsite-nav-item"> <a href="https://developer.android.com/samples" track-type="nav" track-metadata-eventdetail="https://developer.android.com/samples" track-metadata-position="nav - develop" track-metadata-module="tertiary nav" track-metadata-module_headline="core areas" tooltip > <div class="devsite-nav-item-title"> Samples </div> </a> </li> <li class="devsite-nav-item"> <a href="https://developer.android.com/quick-guides" track-type="nav" track-metadata-eventdetail="https://developer.android.com/quick-guides" track-metadata-position="nav - develop" track-metadata-module="tertiary nav" track-metadata-module_headline="core areas" tooltip > <div class="devsite-nav-item-title"> Try Quick Guidesᵇᵉᵗᵃ </div> </a> </li> <li class="devsite-nav-item"> <a href="https://developer.android.com/develop/ui" track-type="nav" track-metadata-eventdetail="https://developer.android.com/develop/ui" track-metadata-position="nav - develop" track-metadata-module="tertiary nav" track-metadata-module_headline="core areas" tooltip > <div class="devsite-nav-item-title"> User interfaces </div> </a> </li> <li class="devsite-nav-item"> <a href="https://developer.android.com/guide/topics/permissions/overview" track-type="nav" track-metadata-eventdetail="https://developer.android.com/guide/topics/permissions/overview" track-metadata-position="nav - develop" track-metadata-module="tertiary nav" track-metadata-module_headline="core areas" tooltip > <div class="devsite-nav-item-title"> Permissions </div> </a> </li> <li class="devsite-nav-item"> <a href="https://developer.android.com/develop/background-work" track-type="nav" track-metadata-eventdetail="https://developer.android.com/develop/background-work" track-metadata-position="nav - develop" track-metadata-module="tertiary nav" track-metadata-module_headline="core areas" tooltip > <div class="devsite-nav-item-title"> Background work </div> </a> </li> <li class="devsite-nav-item"> <a href="https://developer.android.com/guide/topics/data" track-type="nav" track-metadata-eventdetail="https://developer.android.com/guide/topics/data" track-metadata-position="nav - develop" track-metadata-module="tertiary nav" track-metadata-module_headline="core areas" tooltip > <div class="devsite-nav-item-title"> Data and files </div> </a> </li> <li class="devsite-nav-item"> <a href="https://developer.android.com/develop#core-areas" track-type="nav" track-metadata-eventdetail="https://developer.android.com/develop#core-areas" track-metadata-position="nav - develop" track-metadata-module="tertiary nav" track-metadata-module_headline="core areas" tooltip > <div class="devsite-nav-item-title"> All core areas ⤵️ </div> </a> </li> </ul> </div> <div class="devsite-tabs-dropdown-column android-dropdown"> <ul class="devsite-tabs-dropdown-section android-dropdown-section-icon android-dropdown-section-icon-tools-2"> <li class="devsite-nav-title" role="heading" tooltip>Tools and workflow</li> <li class="devsite-nav-description">Use the IDE to write and build your app, or create your own pipeline.</li> <li class="devsite-nav-item"> <a href="https://developer.android.com/studio/write" track-type="nav" track-metadata-eventdetail="https://developer.android.com/studio/write" track-metadata-position="nav - develop" track-metadata-module="tertiary nav" track-metadata-module_headline="tools and workflow" tooltip > <div class="devsite-nav-item-title"> Write and debug code </div> </a> </li> <li class="devsite-nav-item"> <a href="https://developer.android.com/build/gradle-build-overview" track-type="nav" track-metadata-eventdetail="https://developer.android.com/build/gradle-build-overview" track-metadata-position="nav - develop" track-metadata-module="tertiary nav" track-metadata-module_headline="tools and workflow" tooltip > <div class="devsite-nav-item-title"> Build projects </div> </a> </li> <li class="devsite-nav-item"> <a href="https://developer.android.com/training/testing" track-type="nav" track-metadata-eventdetail="https://developer.android.com/training/testing" track-metadata-position="nav - develop" track-metadata-module="tertiary nav" track-metadata-module_headline="tools and workflow" tooltip > <div class="devsite-nav-item-title"> Test your app </div> </a> </li> <li class="devsite-nav-item"> <a href="https://developer.android.com/topic/performance/overview" track-type="nav" track-metadata-eventdetail="https://developer.android.com/topic/performance/overview" track-metadata-position="nav - develop" track-metadata-module="tertiary nav" track-metadata-module_headline="tools and workflow" tooltip > <div class="devsite-nav-item-title"> Performance </div> </a> </li> <li class="devsite-nav-item"> <a href="https://developer.android.com/tools" track-type="nav" track-metadata-eventdetail="https://developer.android.com/tools" track-metadata-position="nav - develop" track-metadata-module="tertiary nav" track-metadata-module_headline="tools and workflow" tooltip > <div class="devsite-nav-item-title"> Command-line tools </div> </a> </li> <li class="devsite-nav-item"> <a href="https://developer.android.com/reference/tools/gradle-api" track-type="nav" track-metadata-eventdetail="https://developer.android.com/reference/tools/gradle-api" track-metadata-position="nav - develop" track-metadata-module="tertiary nav" track-metadata-module_headline="tools and workflow" tooltip > <div class="devsite-nav-item-title"> Gradle plugin API </div> </a> </li> </ul> </div> <div class="devsite-tabs-dropdown-column android-dropdown"> <ul class="devsite-tabs-dropdown-section android-dropdown-section-icon android-dropdown-section-icon-multiple-screens"> <li class="devsite-nav-title" role="heading" tooltip>Device tech</li> <li class="devsite-nav-description">Write code for form factors. Connect devices and share data.</li> <li class="devsite-nav-item"> <a href="https://developer.android.com/guide/topics/large-screens/get-started-with-large-screens" track-type="nav" track-metadata-eventdetail="https://developer.android.com/guide/topics/large-screens/get-started-with-large-screens" track-metadata-position="nav - develop" track-metadata-module="tertiary nav" track-metadata-module_headline="device tech" tooltip > <div class="devsite-nav-item-title"> Large screens (e.g., tablets) </div> </a> </li> <li class="devsite-nav-item"> <a href="https://developer.android.com/training/wearables" track-type="nav" track-metadata-eventdetail="https://developer.android.com/training/wearables" track-metadata-position="nav - develop" track-metadata-module="tertiary nav" track-metadata-module_headline="device tech" tooltip > <div class="devsite-nav-item-title"> Wear OS </div> </a> </li> <li class="devsite-nav-item"> <a href="https://developer.android.com/health-and-fitness/guides" track-type="nav" track-metadata-eventdetail="https://developer.android.com/health-and-fitness/guides" track-metadata-position="nav - develop" track-metadata-module="tertiary nav" track-metadata-module_headline="device tech" tooltip > <div class="devsite-nav-item-title"> Android Health </div> </a> </li> <li class="devsite-nav-item"> <a href="https://developer.android.com/guide/topics/connectivity/cross-device-sdk/overview" track-type="nav" track-metadata-eventdetail="https://developer.android.com/guide/topics/connectivity/cross-device-sdk/overview" track-metadata-position="nav - develop" track-metadata-module="tertiary nav" track-metadata-module_headline="device tech" tooltip > <div class="devsite-nav-item-title"> Cross-device SDK </div> </a> </li> <li class="devsite-nav-item"> <a href="https://developer.android.com/training/cars" track-type="nav" track-metadata-eventdetail="https://developer.android.com/training/cars" track-metadata-position="nav - develop" track-metadata-module="tertiary nav" track-metadata-module_headline="device tech" tooltip > <div class="devsite-nav-item-title"> Android for Cars </div> </a> </li> <li class="devsite-nav-item"> <a href="https://developer.android.com/training/tv" track-type="nav" track-metadata-eventdetail="https://developer.android.com/training/tv" track-metadata-position="nav - develop" track-metadata-module="tertiary nav" track-metadata-module_headline="device tech" tooltip > <div class="devsite-nav-item-title"> Android TV </div> </a> </li> <li class="devsite-nav-item"> <a href="https://developer.android.com/chrome-os/intro" track-type="nav" track-metadata-eventdetail="https://developer.android.com/chrome-os/intro" track-metadata-position="nav - develop" track-metadata-module="tertiary nav" track-metadata-module_headline="device tech" tooltip > <div class="devsite-nav-item-title"> ChromeOS </div> </a> </li> </ul> </div> <div class="devsite-tabs-dropdown-column android-dropdown"> <ul class="devsite-tabs-dropdown-section android-dropdown-section-icon android-dropdown-section-icon-core-library"> <li class="devsite-nav-title" role="heading" tooltip>Libraries</li> <li class="devsite-nav-description">Browse API reference documentation with all the details.</li> <li class="devsite-nav-item"> <a href="https://developer.android.com/reference/packages" track-type="nav" track-metadata-eventdetail="https://developer.android.com/reference/packages" track-metadata-position="nav - develop" track-metadata-module="tertiary nav" track-metadata-module_headline="libraries" tooltip > <div class="devsite-nav-item-title"> Android platform </div> </a> </li> <li class="devsite-nav-item"> <a href="https://developer.android.com/jetpack/androidx/explorer" track-type="nav" track-metadata-eventdetail="https://developer.android.com/jetpack/androidx/explorer" track-metadata-position="nav - develop" track-metadata-module="tertiary nav" track-metadata-module_headline="libraries" tooltip > <div class="devsite-nav-item-title"> Jetpack libraries </div> </a> </li> <li class="devsite-nav-item"> <a href="https://developer.android.com/jetpack/androidx/releases/compose" track-type="nav" track-metadata-eventdetail="https://developer.android.com/jetpack/androidx/releases/compose" track-metadata-position="nav - develop" track-metadata-module="tertiary nav" track-metadata-module_headline="libraries" tooltip > <div class="devsite-nav-item-title"> Compose libraries </div> </a> </li> <li class="devsite-nav-item"> <a href="https://developers.google.com/android/reference/packages" track-type="nav" track-metadata-eventdetail="https://developers.google.com/android/reference/packages" track-metadata-position="nav - develop" track-metadata-module="tertiary nav" track-metadata-module_headline="libraries" tooltip > <div class="devsite-nav-item-title"> Google Play services ↗️ </div> </a> </li> <li class="devsite-nav-item"> <a href="https://play.google.com/sdks" track-type="nav" track-metadata-eventdetail="https://play.google.com/sdks" track-metadata-position="nav - develop" track-metadata-module="tertiary nav" track-metadata-module_headline="libraries" tooltip > <div class="devsite-nav-item-title"> Google Play SDK index ↗️ </div> </a> </li> </ul> </div> </div> </div> </tab> <tab > <a href="https://developer.android.com/distribute" track-metadata-eventdetail="https://developer.android.com/distribute" class="devsite-tabs-content gc-analytics-event " track-type="nav" track-metadata-position="nav - google play" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Google Play" track-name="google play" > Google Play </a> </tab> <tab > <a href="https://developer.android.com/community" track-metadata-eventdetail="https://developer.android.com/community" class="devsite-tabs-content gc-analytics-event " track-type="nav" track-metadata-position="nav - community" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Community" track-name="community" > Community </a> </tab> </nav> </devsite-tabs> </div> <devsite-search enable-signin enable-search enable-suggestions enable-query-completion project-name="Android Developers" tenant-name="Android Developers" > <form class="devsite-search-form" action="https://developer.android.com/s/results" method="GET"> <div class="devsite-search-container"> <button type="button" search-open class="devsite-search-button devsite-header-icon-button button-flat material-icons" aria-label="Open search"></button> <div class="devsite-searchbox"> <input aria-activedescendant="" aria-autocomplete="list" aria-label="Search" aria-expanded="false" aria-haspopup="listbox" autocomplete="off" class="devsite-search-field devsite-search-query" name="q" placeholder="Search" role="combobox" type="text" value="" > <div class="devsite-search-image material-icons" aria-hidden="true"> </div> <div class="devsite-search-shortcut-icon-container" aria-hidden="true"> <kbd class="devsite-search-shortcut-icon">/</kbd> </div> </div> </div> </form> <button type="button" search-close class="devsite-search-button devsite-header-icon-button button-flat material-icons" aria-label="Close search"></button> </devsite-search> </div> <devsite-appearance-selector></devsite-appearance-selector> <devsite-language-selector> <ul role="presentation"> <li role="presentation"> <a role="menuitem" lang="en" >English</a> </li> <li role="presentation"> <a role="menuitem" lang="de" >Deutsch</a> </li> <li role="presentation"> <a role="menuitem" lang="es_419" >Español – América Latina</a> </li> <li role="presentation"> <a role="menuitem" lang="fr" >Français</a> </li> <li role="presentation"> <a role="menuitem" lang="id" >Indonesia</a> </li> <li role="presentation"> <a role="menuitem" lang="it" >Italiano</a> </li> <li role="presentation"> <a role="menuitem" lang="pl" >Polski</a> </li> <li role="presentation"> <a role="menuitem" lang="pt_br" >Português – Brasil</a> </li> <li role="presentation"> <a role="menuitem" lang="vi" >Tiếng Việt</a> </li> <li role="presentation"> <a role="menuitem" lang="tr" >Türkçe</a> </li> <li role="presentation"> <a role="menuitem" lang="ru" >Русский</a> </li> <li role="presentation"> <a role="menuitem" lang="he" >עברית</a> </li> <li role="presentation"> <a role="menuitem" lang="ar" >العربيّة</a> </li> <li role="presentation"> <a role="menuitem" lang="fa" >فارسی</a> </li> <li role="presentation"> <a role="menuitem" lang="hi" >हिंदी</a> </li> <li role="presentation"> <a role="menuitem" lang="bn" >বাংলা</a> </li> <li role="presentation"> <a role="menuitem" lang="th" >ภาษาไทย</a> </li> <li role="presentation"> <a role="menuitem" lang="zh_cn" >中文 – 简体</a> </li> <li role="presentation"> <a role="menuitem" lang="zh_tw" >中文 – 繁體</a> </li> <li role="presentation"> <a role="menuitem" lang="ja" >日本語</a> </li> <li role="presentation"> <a role="menuitem" lang="ko" >한국어</a> </li> </ul> </devsite-language-selector> <a class="devsite-header-link devsite-top-button button gc-analytics-event" href="https://developer.android.com/studio" data-category="Site-Wide Custom Events" data-label="Site header link" > Android Studio </a> <devsite-user enable-profiles id="devsite-user"> <span class="button devsite-top-button" aria-hidden="true" visually-hidden>Sign in</span> </devsite-user> </div> </div> </div> <div class="devsite-collapsible-section "> <div class="devsite-header-background"> <div class="devsite-product-id-row" > <div class="devsite-product-description-row"> <ul class="devsite-breadcrumb-list" > <li class="devsite-breadcrumb-item "> <a href="https://developer.android.com/develop" class="devsite-breadcrumb-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Lower Header" data-value="1" track-type="globalNav" track-name="breadcrumb" track-metadata-position="1" track-metadata-eventdetail="" > Develop </a> </li> </ul> </div> </div> <div class="devsite-doc-set-nav-row"> <devsite-tabs class="lower-tabs"> <nav class="devsite-tabs-wrapper" aria-label="Lower tabs"> <tab class="devsite-active"> <a href="https://developer.android.com/guide" track-metadata-eventdetail="https://developer.android.com/guide" class="devsite-tabs-content gc-analytics-event " track-type="nav" track-metadata-position="nav - guides" track-metadata-module="primary nav" aria-label="Guides, selected" data-category="Site-Wide Custom Events" data-label="Tab: Guides" track-name="guides" > Guides </a> </tab> <tab > <a href="https://developer.android.com/reference" track-metadata-eventdetail="https://developer.android.com/reference" class="devsite-tabs-content gc-analytics-event " track-type="nav" track-metadata-position="nav - reference" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Reference" track-name="reference" > Reference </a> </tab> <tab > <a href="https://developer.android.com/samples" track-metadata-eventdetail="https://developer.android.com/samples" class="devsite-tabs-content gc-analytics-event " track-type="nav" track-metadata-position="nav - samples" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Samples" track-name="samples" > Samples </a> </tab> </nav> </devsite-tabs> </div> </div> </div> </div> </devsite-header> <devsite-book-nav scrollbars > <div class="devsite-book-nav-filter" > <span class="filter-list-icon material-icons" aria-hidden="true"></span> <input type="text" placeholder="Filter" aria-label="Type to filter" role="searchbox"> <span class="filter-clear-button hidden" data-title="Clear filter" aria-label="Clear filter" role="button" tabindex="0"></span> </div> <nav class="devsite-book-nav devsite-nav nocontent" aria-label="Side menu"> <div class="devsite-mobile-header"> <button type="button" id="devsite-close-nav" class="devsite-header-icon-button button-flat material-icons gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Close navigation" aria-label="Close navigation"> </button> <div class="devsite-product-name-wrapper"> <a href="/" class="devsite-site-logo-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Site logo" track-type="globalNav" track-name="androidDevelopers" track-metadata-position="nav" track-metadata-eventDetail="nav"> <picture> <source srcset="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/android/images/lockup-dark-theme.svg" media="(prefers-color-scheme: dark)" class="devsite-dark-theme" alt="Android Developers"> <img src="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/android/images/lockup.svg" class="devsite-site-logo" alt="Android Developers"> </picture> </a> <span class="devsite-product-name"> <ul class="devsite-breadcrumb-list" > <li class="devsite-breadcrumb-item "> </li> </ul> </span> </div> </div> <div class="devsite-book-nav-wrapper"> <div class="devsite-mobile-nav-top"> <ul class="devsite-nav-list"> <li class="devsite-nav-item"> <a href="/get-started" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Tab: Essentials" track-name="essentials" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Essentials" track-type="globalNav" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Essentials </span> </a> <ul class="devsite-nav-responsive-tabs devsite-nav-has-menu "> <li class="devsite-nav-item"> <span class="devsite-nav-title" tooltip data-category="Site-Wide Custom Events" data-label="Tab: Essentials" track-name="essentials" > <span class="devsite-nav-text" tooltip menu="Essentials"> More </span> <span class="devsite-nav-icon material-icons" data-icon="forward" menu="Essentials"> </span> </span> </li> </ul> </li> <li class="devsite-nav-item"> <a href="/design" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Tab: Design & Plan" track-name="design & plan" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Design & Plan" track-type="globalNav" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Design & Plan </span> </a> <ul class="devsite-nav-responsive-tabs devsite-nav-has-menu "> <li class="devsite-nav-item"> <span class="devsite-nav-title" tooltip data-category="Site-Wide Custom Events" data-label="Tab: Design & Plan" track-name="design & plan" > <span class="devsite-nav-text" tooltip menu="Design & Plan"> More </span> <span class="devsite-nav-icon material-icons" data-icon="forward" menu="Design & Plan"> </span> </span> </li> </ul> </li> <li class="devsite-nav-item"> <a href="/develop" class="devsite-nav-title gc-analytics-event devsite-nav-active" data-category="Site-Wide Custom Events" data-label="Tab: Develop" track-name="develop" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Develop" track-type="globalNav" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Develop </span> </a> <ul class="devsite-nav-responsive-tabs devsite-nav-has-menu "> <li class="devsite-nav-item"> <span class="devsite-nav-title" tooltip data-category="Site-Wide Custom Events" data-label="Tab: Develop" track-name="develop" > <span class="devsite-nav-text" tooltip menu="Develop"> More </span> <span class="devsite-nav-icon material-icons" data-icon="forward" menu="Develop"> </span> </span> </li> </ul> <ul class="devsite-nav-responsive-tabs"> <li class="devsite-nav-item"> <a href="/guide" class="devsite-nav-title gc-analytics-event devsite-nav-has-children devsite-nav-active" data-category="Site-Wide Custom Events" data-label="Tab: Guides" track-name="guides" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Guides" track-type="globalNav" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip menu="_book"> Guides </span> <span class="devsite-nav-icon material-icons" data-icon="forward" menu="_book"> </span> </a> </li> <li class="devsite-nav-item"> <a href="/reference" class="devsite-nav-title gc-analytics-event devsite-nav-has-children " data-category="Site-Wide Custom Events" data-label="Tab: Reference" track-name="reference" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Reference" track-type="globalNav" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Reference </span> <span class="devsite-nav-icon material-icons" data-icon="forward" > </span> </a> </li> <li class="devsite-nav-item"> <a href="/samples" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Tab: Samples" track-name="samples" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Samples" track-type="globalNav" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Samples </span> </a> </li> </ul> </li> <li class="devsite-nav-item"> <a href="/distribute" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Tab: Google Play" track-name="google play" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Google Play" track-type="globalNav" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Google Play </span> </a> </li> <li class="devsite-nav-item"> <a href="/community" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Tab: Community" track-name="community" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Community" track-type="globalNav" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Community </span> </a> </li> <li class="devsite-nav-item"> <a href="/studio" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Android Studio" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Android Studio </span> </a> </li> </ul> </div> <div class="devsite-mobile-nav-bottom"> <ul class="devsite-nav-list" menu="_book"> <li class="devsite-nav-item"><a href="/guide" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide" ><span class="devsite-nav-text" tooltip>Developer guides</span></a></li> <li class="devsite-nav-item devsite-nav-expandable devsite-nav-accordion"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>App basics</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/get-started/overview" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /get-started/overview" track-type="bookNav" track-name="click" track-metadata-eventdetail="/get-started/overview" ><span class="devsite-nav-text" tooltip>Build your first app</span></a></li><li class="devsite-nav-item"><a href="/guide/components/fundamentals" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/components/fundamentals" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/components/fundamentals" ><span class="devsite-nav-text" tooltip>App fundamentals</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>App resources</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/guide/topics/resources/providing-resources" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/resources/providing-resources" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/resources/providing-resources" ><span class="devsite-nav-text" tooltip>About app resources</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/resources/runtime-changes" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/resources/runtime-changes" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/resources/runtime-changes" ><span class="devsite-nav-text" tooltip>Handle configuration changes</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Localization</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/guide/topics/resources/localization" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/resources/localization" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/resources/localization" ><span class="devsite-nav-text" tooltip>Localize your app</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/resources/pseudolocales" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/resources/pseudolocales" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/resources/pseudolocales" ><span class="devsite-nav-text" tooltip>Test your app with pseudolocales</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/resources/internationalization" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/resources/internationalization" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/resources/internationalization" ><span class="devsite-nav-text" tooltip>Unicode and internationalization support</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/resources/multilingual-support" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/resources/multilingual-support" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/resources/multilingual-support" ><span class="devsite-nav-text" tooltip>Language and locale resolution</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/resources/app-languages" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/resources/app-languages" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/resources/app-languages" ><span class="devsite-nav-text" tooltip>Per-app language preferences</span></a></li></ul></div></li><li class="devsite-nav-item"><a href="/guide/topics/resources/complex-xml-resources" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/resources/complex-xml-resources" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/resources/complex-xml-resources" ><span class="devsite-nav-text" tooltip>Complex XML resources</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Resource types</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/guide/topics/resources/available-resources" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/resources/available-resources" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/resources/available-resources" ><span class="devsite-nav-text" tooltip>About resource types</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/resources/animation-resource" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/resources/animation-resource" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/resources/animation-resource" ><span class="devsite-nav-text" tooltip>Animation</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/resources/color-list-resource" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/resources/color-list-resource" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/resources/color-list-resource" ><span class="devsite-nav-text" tooltip>Color state list</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/resources/drawable-resource" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/resources/drawable-resource" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/resources/drawable-resource" ><span class="devsite-nav-text" tooltip>Drawable</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/resources/layout-resource" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/resources/layout-resource" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/resources/layout-resource" ><span class="devsite-nav-text" tooltip>Layout</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/resources/menu-resource" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/resources/menu-resource" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/resources/menu-resource" ><span class="devsite-nav-text" tooltip>Menu</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/resources/string-resource" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/resources/string-resource" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/resources/string-resource" ><span class="devsite-nav-text" tooltip>String</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/resources/style-resource" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/resources/style-resource" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/resources/style-resource" ><span class="devsite-nav-text" tooltip>Style</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/resources/font-resource" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/resources/font-resource" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/resources/font-resource" ><span class="devsite-nav-text" tooltip>Font</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/resources/more-resources" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/resources/more-resources" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/resources/more-resources" ><span class="devsite-nav-text" tooltip>More types</span></a></li></ul></div></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>App manifest file</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/guide/topics/manifest/manifest-intro" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/manifest/manifest-intro" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/manifest/manifest-intro" ><span class="devsite-nav-text" tooltip>About app manifests</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/manifest/action-element" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/manifest/action-element" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/manifest/action-element" ><span class="devsite-nav-text" tooltip><action></span></a></li><li class="devsite-nav-item"><a href="/guide/topics/manifest/activity-element" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/manifest/activity-element" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/manifest/activity-element" ><span class="devsite-nav-text" tooltip><activity></span></a></li><li class="devsite-nav-item"><a href="/guide/topics/manifest/activity-alias-element" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/manifest/activity-alias-element" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/manifest/activity-alias-element" ><span class="devsite-nav-text" tooltip><activity-alias></span></a></li><li class="devsite-nav-item"><a href="/guide/topics/manifest/application-element" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/manifest/application-element" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/manifest/application-element" ><span class="devsite-nav-text" tooltip><application></span></a></li><li class="devsite-nav-item"><a href="/guide/topics/manifest/category-element" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/manifest/category-element" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/manifest/category-element" ><span class="devsite-nav-text" tooltip><category></span></a></li><li class="devsite-nav-item"><a href="/guide/topics/manifest/compatible-screens-element" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/manifest/compatible-screens-element" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/manifest/compatible-screens-element" ><span class="devsite-nav-text" tooltip><compatible-screens></span></a></li><li class="devsite-nav-item"><a href="/guide/topics/manifest/data-element" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/manifest/data-element" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/manifest/data-element" ><span class="devsite-nav-text" tooltip><data></span></a></li><li class="devsite-nav-item"><a href="/guide/topics/manifest/grant-uri-permission-element" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/manifest/grant-uri-permission-element" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/manifest/grant-uri-permission-element" ><span class="devsite-nav-text" tooltip><grant-uri-permission></span></a></li><li class="devsite-nav-item"><a href="/guide/topics/manifest/instrumentation-element" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/manifest/instrumentation-element" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/manifest/instrumentation-element" ><span class="devsite-nav-text" tooltip><instrumentation></span></a></li><li class="devsite-nav-item"><a href="/guide/topics/manifest/intent-filter-element" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/manifest/intent-filter-element" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/manifest/intent-filter-element" ><span class="devsite-nav-text" tooltip><intent-filter></span></a></li><li class="devsite-nav-item"><a href="/guide/topics/manifest/layout-element" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/manifest/layout-element" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/manifest/layout-element" ><span class="devsite-nav-text" tooltip><layout></span></a></li><li class="devsite-nav-item"><a href="/guide/topics/manifest/manifest-element" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/manifest/manifest-element" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/manifest/manifest-element" ><span class="devsite-nav-text" tooltip><manifest></span></a></li><li class="devsite-nav-item"><a href="/guide/topics/manifest/meta-data-element" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/manifest/meta-data-element" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/manifest/meta-data-element" ><span class="devsite-nav-text" tooltip><meta-data></span></a></li><li class="devsite-nav-item"><a href="/guide/topics/manifest/path-permission-element" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/manifest/path-permission-element" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/manifest/path-permission-element" ><span class="devsite-nav-text" tooltip><path-permission></span></a></li><li class="devsite-nav-item"><a href="/guide/topics/manifest/permission-element" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/manifest/permission-element" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/manifest/permission-element" ><span class="devsite-nav-text" tooltip><permission></span></a></li><li class="devsite-nav-item"><a href="/guide/topics/manifest/permission-group-element" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/manifest/permission-group-element" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/manifest/permission-group-element" ><span class="devsite-nav-text" tooltip><permission-group></span></a></li><li class="devsite-nav-item"><a href="/guide/topics/manifest/permission-tree-element" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/manifest/permission-tree-element" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/manifest/permission-tree-element" ><span class="devsite-nav-text" tooltip><permission-tree></span></a></li><li class="devsite-nav-item"><a href="/guide/topics/manifest/profileable-element" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/manifest/profileable-element" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/manifest/profileable-element" ><span class="devsite-nav-text" tooltip><profileable></span></a></li><li class="devsite-nav-item"><a href="/guide/topics/manifest/property-element" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/manifest/property-element" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/manifest/property-element" ><span class="devsite-nav-text" tooltip><property></span></a></li><li class="devsite-nav-item"><a href="/guide/topics/manifest/provider-element" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/manifest/provider-element" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/manifest/provider-element" ><span class="devsite-nav-text" tooltip><provider></span></a></li><li class="devsite-nav-item"><a href="/guide/topics/manifest/queries-element" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/manifest/queries-element" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/manifest/queries-element" ><span class="devsite-nav-text" tooltip><queries></span></a></li><li class="devsite-nav-item"><a href="/guide/topics/manifest/receiver-element" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/manifest/receiver-element" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/manifest/receiver-element" ><span class="devsite-nav-text" tooltip><receiver></span></a></li><li class="devsite-nav-item"><a href="/guide/topics/manifest/service-element" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/manifest/service-element" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/manifest/service-element" ><span class="devsite-nav-text" tooltip><service></span></a></li><li class="devsite-nav-item"><a href="/guide/topics/manifest/supports-gl-texture-element" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/manifest/supports-gl-texture-element" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/manifest/supports-gl-texture-element" ><span class="devsite-nav-text" tooltip><supports-gl-texture></span></a></li><li class="devsite-nav-item"><a href="/guide/topics/manifest/supports-screens-element" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/manifest/supports-screens-element" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/manifest/supports-screens-element" ><span class="devsite-nav-text" tooltip><supports-screens></span></a></li><li class="devsite-nav-item"><a href="/guide/topics/manifest/uses-configuration-element" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/manifest/uses-configuration-element" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/manifest/uses-configuration-element" ><span class="devsite-nav-text" tooltip><uses-configuration></span></a></li><li class="devsite-nav-item"><a href="/guide/topics/manifest/uses-feature-element" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/manifest/uses-feature-element" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/manifest/uses-feature-element" ><span class="devsite-nav-text" tooltip><uses-feature></span></a></li><li class="devsite-nav-item"><a href="/guide/topics/manifest/uses-library-element" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/manifest/uses-library-element" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/manifest/uses-library-element" ><span class="devsite-nav-text" tooltip><uses-library></span></a></li><li class="devsite-nav-item"><a href="/guide/topics/manifest/uses-native-library-element" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/manifest/uses-native-library-element" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/manifest/uses-native-library-element" ><span class="devsite-nav-text" tooltip><uses-native-library></span></a></li><li class="devsite-nav-item"><a href="/guide/topics/manifest/uses-permission-element" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/manifest/uses-permission-element" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/manifest/uses-permission-element" ><span class="devsite-nav-text" tooltip><uses-permission></span></a></li><li class="devsite-nav-item"><a href="/guide/topics/manifest/uses-permission-sdk-23-element" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/manifest/uses-permission-sdk-23-element" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/manifest/uses-permission-sdk-23-element" ><span class="devsite-nav-text" tooltip><uses-permission-sdk-23></span></a></li><li class="devsite-nav-item"><a href="/guide/topics/manifest/uses-sdk-element" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/manifest/uses-sdk-element" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/manifest/uses-sdk-element" ><span class="devsite-nav-text" tooltip><uses-sdk></span></a></li></ul></div></li></ul></div></li> <li class="devsite-nav-item devsite-nav-expandable devsite-nav-accordion"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Devices</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Device compatibility</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/guide/practices/compatibility" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/practices/compatibility" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/practices/compatibility" ><span class="devsite-nav-text" tooltip>About device compatibility</span></a></li><li class="devsite-nav-item"><a href="/guide/practices/screens_support" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/practices/screens_support" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/practices/screens_support" ><span class="devsite-nav-text" tooltip>About screen compatibility</span></a></li><li class="devsite-nav-item"><a href="/guide/practices/device-compatibility-mode" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/practices/device-compatibility-mode" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/practices/device-compatibility-mode" ><span class="devsite-nav-text" tooltip>Device compatibility mode</span></a></li><li class="devsite-nav-item"><a href="/training/multiscreen/screendensities" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/multiscreen/screendensities" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/multiscreen/screendensities" ><span class="devsite-nav-text" tooltip>Support different pixel densities</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Multiple APK support</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/google/play/publishing/multiple-apks" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /google/play/publishing/multiple-apks" track-type="bookNav" track-name="click" track-metadata-eventdetail="/google/play/publishing/multiple-apks" ><span class="devsite-nav-text" tooltip>About multiple APKs</span></a></li><li class="devsite-nav-item"><a href="/training/multiple-apks/api" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/multiple-apks/api" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/multiple-apks/api" ><span class="devsite-nav-text" tooltip>Create multiple APKs for different API levels</span></a></li><li class="devsite-nav-item"><a href="/training/multiple-apks/screensize" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/multiple-apks/screensize" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/multiple-apks/screensize" ><span class="devsite-nav-text" tooltip>Create multiple APKs for different screen sizes</span></a></li><li class="devsite-nav-item"><a href="/training/multiple-apks/texture" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/multiple-apks/texture" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/multiple-apks/texture" ><span class="devsite-nav-text" tooltip>Create multiple APKs for different GL textures</span></a></li><li class="devsite-nav-item"><a href="/training/multiple-apks/multiple" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/multiple-apks/multiple" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/multiple-apks/multiple" ><span class="devsite-nav-text" tooltip>Create multiple APKs with several dimensions</span></a></li></ul></div></li><li class="devsite-nav-item"><a href="/training/basics/supporting-devices/languages" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/basics/supporting-devices/languages" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/basics/supporting-devices/languages" ><span class="devsite-nav-text" tooltip>Support different languages and cultures</span></a></li><li class="devsite-nav-item"><a href="/training/basics/supporting-devices/platforms" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/basics/supporting-devices/platforms" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/basics/supporting-devices/platforms" ><span class="devsite-nav-text" tooltip>Support different platform versions</span></a></li><li class="devsite-nav-item"><a href="/google/play/filters" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /google/play/filters" track-type="bookNav" track-name="click" track-metadata-eventdetail="/google/play/filters" ><span class="devsite-nav-text" tooltip>Filters on Google Play</span></a></li><li class="devsite-nav-item"><a href="/google/play/requirements/64-bit" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /google/play/requirements/64-bit" track-type="bookNav" track-name="click" track-metadata-eventdetail="/google/play/requirements/64-bit" ><span class="devsite-nav-text" tooltip>64-bit Support</span></a></li><li class="devsite-nav-item"><a href="/guide/practices/page-sizes" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/practices/page-sizes" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/practices/page-sizes" ><span class="devsite-nav-text" tooltip>Support 16 KB page sizes</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Large screens — tablets, foldables, ChromeOS</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/guide/topics/large-screens" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/large-screens" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/large-screens" ><span class="devsite-nav-text" tooltip>Get started with large screens</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Large screen ready</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/guide/topics/large-screens/tier_3_overview" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/large-screens/tier_3_overview" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/large-screens/tier_3_overview" ><span class="devsite-nav-text" tooltip>Overview</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/large-screens/configuration_and_continuity" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/large-screens/configuration_and_continuity" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/large-screens/configuration_and_continuity" ><span class="devsite-nav-text" tooltip>Configuration and continuity</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/large-screens/camera_preview_and_media_projection" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/large-screens/camera_preview_and_media_projection" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/large-screens/camera_preview_and_media_projection" ><span class="devsite-nav-text" tooltip>Camera preview and media projection</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/large-screens/multi-window_mode_and_multi-resume" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/large-screens/multi-window_mode_and_multi-resume" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/large-screens/multi-window_mode_and_multi-resume" ><span class="devsite-nav-text" tooltip>Multi-window mode and multi-resume</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/large-screens/input-compatibility-large-screens" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/large-screens/input-compatibility-large-screens" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/large-screens/input-compatibility-large-screens" ><span class="devsite-nav-text" tooltip>Input compatibility on large screens</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Large screen optimized</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/guide/topics/large-screens/tier_2_overview" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/large-screens/tier_2_overview" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/large-screens/tier_2_overview" ><span class="devsite-nav-text" tooltip>Overview</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/large-screens/ux" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/large-screens/ux" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/large-screens/ux" ><span class="devsite-nav-text" tooltip>UX</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/large-screens/migrate-to-responsive-layouts" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/large-screens/migrate-to-responsive-layouts" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/large-screens/migrate-to-responsive-layouts" ><span class="devsite-nav-text" tooltip>Migrate your UI to responsive layouts</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Large screen differentiated</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/guide/topics/large-screens/tier_1_overview" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/large-screens/tier_1_overview" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/large-screens/tier_1_overview" ><span class="devsite-nav-text" tooltip>Overview</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/large-screens/foldable-postures-and-states" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/large-screens/foldable-postures-and-states" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/large-screens/foldable-postures-and-states" ><span class="devsite-nav-text" tooltip>Foldable postures and states</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/large-screens/create-a-note-taking-app" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/large-screens/create-a-note-taking-app" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/large-screens/create-a-note-taking-app" ><span class="devsite-nav-text" tooltip>Create a note-taking app</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/large-screens/support-advanced-stylus-features" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/large-screens/support-advanced-stylus-features" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/large-screens/support-advanced-stylus-features" ><span class="devsite-nav-text" tooltip>Support advanced stylus features</span></a></li></ul></div></li><li class="devsite-nav-item"><a href="/guide/topics/large-screens/large-screen-cookbook" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/large-screens/large-screen-cookbook" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/large-screens/large-screen-cookbook" ><span class="devsite-nav-text" tooltip>Large screen cookbook</span></a></li></ul></div></li><li class="devsite-nav-item"><a href="/training/wearables" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/wearables" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/wearables" ><span class="devsite-nav-text" tooltip>Wear OS ⍈</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Android TV</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/training/tv" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/tv" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/tv" ><span class="devsite-nav-text" tooltip>In this guide</span></a></li><li class="devsite-nav-item"><a href="/design/ui/tv" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /design/ui/tv" track-type="bookNav" track-name="click" track-metadata-eventdetail="/design/ui/tv" ><span class="devsite-nav-text" tooltip>Design TV UI ⍈</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Getting started</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/training/tv/get-started" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/tv/get-started" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/tv/get-started" ><span class="devsite-nav-text" tooltip>In this guide</span></a></li><li class="devsite-nav-item"><a href="/training/tv/get-started/create" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/tv/get-started/create" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/tv/get-started/create" ><span class="devsite-nav-text" tooltip>Create and run a TV app</span></a></li><li class="devsite-nav-item"><a href="/training/tv/get-started/hardware" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/tv/get-started/hardware" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/tv/get-started/hardware" ><span class="devsite-nav-text" tooltip>Handle TV hardware</span></a></li><li class="devsite-nav-item"><a href="/training/tv/get-started/controllers" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/tv/get-started/controllers" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/tv/get-started/controllers" ><span class="devsite-nav-text" tooltip>Manage TV controllers</span></a></li><li class="devsite-nav-item"><a href="/training/tv/get-started/onscreen-keyboard" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/tv/get-started/onscreen-keyboard" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/tv/get-started/onscreen-keyboard" ><span class="devsite-nav-text" tooltip>On-screen keyboard</span></a></li><li class="devsite-nav-item"><a href="/training/tv/get-started/navigation" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/tv/get-started/navigation" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/tv/get-started/navigation" ><span class="devsite-nav-text" tooltip>Create TV navigation</span></a></li><li class="devsite-nav-item"><a href="/training/tv/get-started/multitasking" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/tv/get-started/multitasking" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/tv/get-started/multitasking" ><span class="devsite-nav-text" tooltip>Multitasking on TV</span></a></li><li class="devsite-nav-item"><a href="/training/tv/get-started/google-tv" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/tv/get-started/google-tv" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/tv/get-started/google-tv" ><span class="devsite-nav-text" tooltip>Best practices for driving engagement on Google TV</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Build TV playback apps</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/training/tv/playback" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/tv/playback" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/tv/playback" ><span class="devsite-nav-text" tooltip>In this guide</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Building UI with Compose</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/training/tv/playback/compose" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/tv/playback/compose" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/tv/playback/compose" ><span class="devsite-nav-text" tooltip>In this guide</span></a></li><li class="devsite-nav-item"><a href="/training/tv/playback/compose/browse" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/tv/playback/compose/browse" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/tv/playback/compose/browse" ><span class="devsite-nav-text" tooltip>Create a catalog browser</span></a></li><li class="devsite-nav-item"><a href="/training/tv/playback/compose/details" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/tv/playback/compose/details" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/tv/playback/compose/details" ><span class="devsite-nav-text" tooltip>Build a details screen</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Building UI with the Leanback UI toolkit (discouraged)</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/training/tv/playback/leanback" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/tv/playback/leanback" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/tv/playback/leanback" ><span class="devsite-nav-text" tooltip>In this guide</span></a></li><li class="devsite-nav-item"><a href="/training/tv/playback/leanback/browse" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/tv/playback/leanback/browse" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/tv/playback/leanback/browse" ><span class="devsite-nav-text" tooltip>Create a catalog browser</span></a></li><li class="devsite-nav-item"><a href="/training/tv/playback/leanback/card" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/tv/playback/leanback/card" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/tv/playback/leanback/card" ><span class="devsite-nav-text" tooltip>Provide a card view</span></a></li><li class="devsite-nav-item"><a href="/training/tv/playback/leanback/details" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/tv/playback/leanback/details" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/tv/playback/leanback/details" ><span class="devsite-nav-text" tooltip>Build a details view</span></a></li><li class="devsite-nav-item"><a href="/training/tv/playback/leanback/transport-controls" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/tv/playback/leanback/transport-controls" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/tv/playback/leanback/transport-controls" ><span class="devsite-nav-text" tooltip>Use transport controls</span></a></li><li class="devsite-nav-item"><a href="/training/tv/playback/leanback/onboarding" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/tv/playback/leanback/onboarding" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/tv/playback/leanback/onboarding" ><span class="devsite-nav-text" tooltip>Introduce first-time users to your app</span></a></li><li class="devsite-nav-item"><a href="/training/tv/playback/leanback/guided-step" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/tv/playback/leanback/guided-step" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/tv/playback/leanback/guided-step" ><span class="devsite-nav-text" tooltip>Add a guided step</span></a></li><li class="devsite-nav-item"><a href="/training/tv/playback/leanback/layouts" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/tv/playback/leanback/layouts" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/tv/playback/leanback/layouts" ><span class="devsite-nav-text" tooltip>Build TV layouts</span></a></li><li class="devsite-nav-item"><a href="/training/tv/playback/leanback/migrate-to-compose" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/tv/playback/leanback/migrate-to-compose" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/tv/playback/leanback/migrate-to-compose" ><span class="devsite-nav-text" tooltip>Migrate to Compose for TV</span></a></li></ul></div></li><li class="devsite-nav-item"><a href="/training/tv/playback/ambient-mode" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/tv/playback/ambient-mode" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/tv/playback/ambient-mode" ><span class="devsite-nav-text" tooltip>Ambient mode</span></a></li><li class="devsite-nav-item"><a href="/training/tv/playback/controls" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/tv/playback/controls" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/tv/playback/controls" ><span class="devsite-nav-text" tooltip>Playback controls on TV</span></a></li><li class="devsite-nav-item"><a href="/training/tv/playback/media-session" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/tv/playback/media-session" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/tv/playback/media-session" ><span class="devsite-nav-text" tooltip>Implement a media session</span></a></li><li class="devsite-nav-item"><a href="/training/tv/playback/now-playing" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/tv/playback/now-playing" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/tv/playback/now-playing" ><span class="devsite-nav-text" tooltip>Background playback in a Now Playing card</span></a></li><li class="devsite-nav-item"><a href="/training/tv/playback/audio-capabilities" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/tv/playback/audio-capabilities" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/tv/playback/audio-capabilities" ><span class="devsite-nav-text" tooltip>Audio capabilities</span></a></li><li class="devsite-nav-item"><a href="/training/tv/playback/framerate" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/tv/playback/framerate" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/tv/playback/framerate" ><span class="devsite-nav-text" tooltip>Match content frame rate</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Help users find content on TV</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/training/tv/discovery" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/tv/discovery" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/tv/discovery" ><span class="devsite-nav-text" tooltip>About finding TV content</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Recommend TV content</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/training/tv/discovery/recommendations" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/tv/discovery/recommendations" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/tv/discovery/recommendations" ><span class="devsite-nav-text" tooltip>About recommending TV content</span></a></li><li class="devsite-nav-item"><a href="/training/tv/discovery/recommendations-channel" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/tv/discovery/recommendations-channel" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/tv/discovery/recommendations-channel" ><span class="devsite-nav-text" tooltip>Channels on the home screen</span></a></li><li class="devsite-nav-item"><a href="/training/tv/discovery/video-programs" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/tv/discovery/video-programs" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/tv/discovery/video-programs" ><span class="devsite-nav-text" tooltip>Video program attributes</span></a></li><li class="devsite-nav-item"><a href="/training/tv/discovery/audio-programs" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/tv/discovery/audio-programs" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/tv/discovery/audio-programs" ><span class="devsite-nav-text" tooltip>Audio program attributes</span></a></li><li class="devsite-nav-item"><a href="/training/tv/discovery/game-programs" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/tv/discovery/game-programs" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/tv/discovery/game-programs" ><span class="devsite-nav-text" tooltip>Game program attributes</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Watch Next</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/training/tv/discovery/watch-next-add-programs" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/tv/discovery/watch-next-add-programs" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/tv/discovery/watch-next-add-programs" ><span class="devsite-nav-text" tooltip>Add programs</span></a></li><li class="devsite-nav-item"><a href="/training/tv/discovery/watch-next-programs" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/tv/discovery/watch-next-programs" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/tv/discovery/watch-next-programs" ><span class="devsite-nav-text" tooltip>Attributes</span></a></li><li class="devsite-nav-item"><a href="/training/tv/discovery/guidelines-app-developers" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/tv/discovery/guidelines-app-developers" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/tv/discovery/guidelines-app-developers" ><span class="devsite-nav-text" tooltip>Guidelines for app developers</span></a></li><li class="devsite-nav-item"><a href="/training/tv/discovery/guidelines-tv-providers" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/tv/discovery/guidelines-tv-providers" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/tv/discovery/guidelines-tv-providers" ><span class="devsite-nav-text" tooltip>Guidelines for TV providers</span></a></li></ul></div></li><li class="devsite-nav-item"><a href="/training/tv/discovery/preview-videos" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/tv/discovery/preview-videos" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/tv/discovery/preview-videos" ><span class="devsite-nav-text" tooltip>Preview videos</span></a></li><li class="devsite-nav-item"><a href="/training/tv/discovery/recommendations-row" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/tv/discovery/recommendations-row" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/tv/discovery/recommendations-row" ><span class="devsite-nav-text" tooltip>Recommendations in Android N and earlier</span></a></li></ul></div></li><li class="devsite-nav-item"><a href="/training/tv/discovery/searchable" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/tv/discovery/searchable" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/tv/discovery/searchable" ><span class="devsite-nav-text" tooltip>Make TV apps searchable</span></a></li><li class="devsite-nav-item"><a href="/training/tv/discovery/in-app-search" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/tv/discovery/in-app-search" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/tv/discovery/in-app-search" ><span class="devsite-nav-text" tooltip>Search within TV Apps</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Build TV games</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/training/tv/games" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/tv/games" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/tv/games" ><span class="devsite-nav-text" tooltip>About TV games</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Build TV input services</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/training/tv/tif" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/tv/tif" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/tv/tif" ><span class="devsite-nav-text" tooltip>About TV input services</span></a></li><li class="devsite-nav-item"><a href="/training/tv/tif/tvinput" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/tv/tif/tvinput" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/tv/tif/tvinput" ><span class="devsite-nav-text" tooltip>Develop a TV input service</span></a></li><li class="devsite-nav-item"><a href="/training/tv/tif/channel" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/tv/tif/channel" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/tv/tif/channel" ><span class="devsite-nav-text" tooltip>Work with channel data</span></a></li><li class="devsite-nav-item"><a href="/training/tv/tif/ui" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/tv/tif/ui" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/tv/tif/ui" ><span class="devsite-nav-text" tooltip>Manage TV user interaction</span></a></li><li class="devsite-nav-item"><a href="/training/tv/tif/time-shifting" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/tv/tif/time-shifting" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/tv/tif/time-shifting" ><span class="devsite-nav-text" tooltip>Support time-shifting</span></a></li><li class="devsite-nav-item"><a href="/training/tv/tif/content-recording" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/tv/tif/content-recording" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/tv/tif/content-recording" ><span class="devsite-nav-text" tooltip>Support content recording</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>TV Accessibility</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/training/tv/accessibility" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/tv/accessibility" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/tv/accessibility" ><span class="devsite-nav-text" tooltip>Accessibility best practices</span></a></li><li class="devsite-nav-item"><a href="/training/tv/accessibility/talkback" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/tv/accessibility/talkback" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/tv/accessibility/talkback" ><span class="devsite-nav-text" tooltip>TalkBack evaluation examples</span></a></li><li class="devsite-nav-item"><a href="/training/tv/accessibility/talkback-support" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/tv/accessibility/talkback-support" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/tv/accessibility/talkback-support" ><span class="devsite-nav-text" tooltip>Support TalkBack in TV apps</span></a></li><li class="devsite-nav-item"><a href="/training/tv/accessibility/system-caption-settings" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/tv/accessibility/system-caption-settings" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/tv/accessibility/system-caption-settings" ><span class="devsite-nav-text" tooltip>Adopt system caption settings</span></a></li><li class="devsite-nav-item"><a href="/training/tv/accessibility/custom-views" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/tv/accessibility/custom-views" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/tv/accessibility/custom-views" ><span class="devsite-nav-text" tooltip>Custom view accessibility support</span></a></li><li class="devsite-nav-item"><a href="/training/tv/accessibility/custom-views-sample" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/tv/accessibility/custom-views-sample" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/tv/accessibility/custom-views-sample" ><span class="devsite-nav-text" tooltip>Custom view accessibility sample</span></a></li></ul></div></li><li class="devsite-nav-item"><a href="/training/tv/publishing/checklist" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/tv/publishing/checklist" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/tv/publishing/checklist" ><span class="devsite-nav-text" tooltip>TV Apps checklist</span></a></li><li class="devsite-nav-item"><a href="/training/tv/publishing/distribute" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/tv/publishing/distribute" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/tv/publishing/distribute" ><span class="devsite-nav-text" tooltip>Distribute to Android TV</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Releases</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/tv/release/12" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /tv/release/12" track-type="bookNav" track-name="click" track-metadata-eventdetail="/tv/release/12" ><span class="devsite-nav-text" tooltip>Android 12 for TV</span></a></li><li class="devsite-nav-item"><a href="/tv/release/13" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /tv/release/13" track-type="bookNav" track-name="click" track-metadata-eventdetail="/tv/release/13" ><span class="devsite-nav-text" tooltip>Android 13 for TV</span></a></li><li class="devsite-nav-item"><a href="/tv/release/14" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /tv/release/14" track-type="bookNav" track-name="click" track-metadata-eventdetail="/tv/release/14" ><span class="devsite-nav-text" tooltip>Android 14 for TV</span></a></li></ul></div></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Android for Cars</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/training/cars" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/cars" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/cars" ><span class="devsite-nav-text" tooltip>About Android for Cars</span></a></li><li class="devsite-nav-item devsite-nav-new"><a href="/training/cars/whats-new" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/cars/whats-new" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/cars/whats-new" ><span class="devsite-nav-text" tooltip>What's new</span><span class="devsite-nav-icon material-icons" data-icon="new" data-title="New!" aria-hidden="true"></span></a></li><li class="devsite-nav-item devsite-nav-external"><a href="/docs/quality-guidelines/car-app-quality" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /docs/quality-guidelines/car-app-quality" track-type="bookNav" track-name="click" track-metadata-eventdetail="/docs/quality-guidelines/car-app-quality" ><span class="devsite-nav-text" tooltip>Car app quality</span><span class="devsite-nav-icon material-icons" data-icon="external" data-title="External" aria-hidden="true"></span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Build media apps for cars</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/training/cars/media" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/cars/media" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/cars/media" ><span class="devsite-nav-text" tooltip>Build media apps for cars</span></a></li><li class="devsite-nav-item"><a href="/training/cars/media/auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/cars/media/auto" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/cars/media/auto" ><span class="devsite-nav-text" tooltip>Add support for Android Auto</span></a></li><li class="devsite-nav-item"><a href="/training/cars/media/automotive-os" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/cars/media/automotive-os" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/cars/media/automotive-os" ><span class="devsite-nav-text" tooltip>Add support for Android Automotive OS</span></a></li></ul></div></li><li class="devsite-nav-item"><a href="/training/cars/messaging" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/cars/messaging" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/cars/messaging" ><span class="devsite-nav-text" tooltip>Build messaging apps for Android Auto</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Build point of interest, internet of things, and navigation apps for cars</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/training/cars/apps" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/cars/apps" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/cars/apps" ><span class="devsite-nav-text" tooltip>Using the Android for Cars App Library</span></a></li><li class="devsite-nav-item"><a href="/training/cars/apps/poi" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/cars/apps/poi" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/cars/apps/poi" ><span class="devsite-nav-text" tooltip>Build point of interest apps for cars</span></a></li><li class="devsite-nav-item"><a href="/training/cars/apps/iot" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/cars/apps/iot" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/cars/apps/iot" ><span class="devsite-nav-text" tooltip>Build internet of things apps for cars</span></a></li><li class="devsite-nav-item"><a href="/training/cars/apps/navigation" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/cars/apps/navigation" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/cars/apps/navigation" ><span class="devsite-nav-text" tooltip>Build navigation apps for cars</span></a></li><li class="devsite-nav-item"><a href="/training/cars/apps/coarse-location" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/cars/apps/coarse-location" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/cars/apps/coarse-location" ><span class="devsite-nav-text" tooltip>Get coarse location</span></a></li><li class="devsite-nav-item"><a href="/training/cars/apps/auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/cars/apps/auto" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/cars/apps/auto" ><span class="devsite-nav-text" tooltip>Add support for Android Auto</span></a></li><li class="devsite-nav-item"><a href="/training/cars/apps/automotive-os" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/cars/apps/automotive-os" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/cars/apps/automotive-os" ><span class="devsite-nav-text" tooltip>Add support for Android Automotive OS</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Build parked apps for Android Automotive OS</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/training/cars/parked" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/cars/parked" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/cars/parked" ><span class="devsite-nav-text" tooltip>About parked apps</span></a></li><li class="devsite-nav-item"><a href="/training/cars/parked/video" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/cars/parked/video" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/cars/parked/video" ><span class="devsite-nav-text" tooltip>Build video apps</span></a></li><li class="devsite-nav-item"><a href="/training/cars/parked/games" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/cars/parked/games" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/cars/parked/games" ><span class="devsite-nav-text" tooltip>Build games</span></a></li><li class="devsite-nav-item"><a href="/training/cars/parked/browser" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/cars/parked/browser" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/cars/parked/browser" ><span class="devsite-nav-text" tooltip>Build browsers</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Test Android apps for cars</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/training/cars/testing" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/cars/testing" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/cars/testing" ><span class="devsite-nav-text" tooltip>Overview</span></a></li><li class="devsite-nav-item"><a href="/training/cars/testing/dhu" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/cars/testing/dhu" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/cars/testing/dhu" ><span class="devsite-nav-text" tooltip>Test using the Desktop Head Unit</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Test using the Android Automotive OS emulator</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/training/cars/testing/emulator" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/cars/testing/emulator" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/cars/testing/emulator" ><span class="devsite-nav-text" tooltip>Overview</span></a></li><li class="devsite-nav-item"><a href="/training/cars/testing/emulator/distant-display" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/cars/testing/emulator/distant-display" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/cars/testing/emulator/distant-display" ><span class="devsite-nav-text" tooltip>Test using the distant display emulator</span></a></li><li class="devsite-nav-item"><a href="/training/cars/testing/emulator/configurable" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/cars/testing/emulator/configurable" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/cars/testing/emulator/configurable" ><span class="devsite-nav-text" tooltip>Test using the configurable emulator</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-preview"><a href="/training/cars/testing/aaos-on-pixel" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/cars/testing/aaos-on-pixel" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/cars/testing/aaos-on-pixel" ><span class="devsite-nav-text" tooltip>Test using Android Automotive OS on Pixel Tablet</span><span class="devsite-nav-icon material-icons" data-icon="preview" data-title="Preview" aria-hidden="true"></span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-preview"><a href="/training/cars/car-ready-mobile-apps" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/cars/car-ready-mobile-apps" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/cars/car-ready-mobile-apps" ><span class="devsite-nav-text" tooltip>Car ready mobile apps</span><span class="devsite-nav-icon material-icons" data-icon="preview" data-title="Preview" aria-hidden="true"></span></a></li><li class="devsite-nav-item"><a href="/training/cars/distribute" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/cars/distribute" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/cars/distribute" ><span class="devsite-nav-text" tooltip>Distribute Android apps for cars</span></a></li><li class="devsite-nav-item"><a href="/training/cars/google-services" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/cars/google-services" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/cars/google-services" ><span class="devsite-nav-text" tooltip>Google Play services for cars</span></a></li><li class="devsite-nav-item"><a href="/training/cars/notifications" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/cars/notifications" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/cars/notifications" ><span class="devsite-nav-text" tooltip>Notifications on Android Automotive OS</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>ChromeOS devices</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/chrome-os/intro" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /chrome-os/intro" track-type="bookNav" track-name="click" track-metadata-eventdetail="/chrome-os/intro" ><span class="devsite-nav-text" tooltip>About ChromeOS</span></a></li><li class="devsite-nav-item"><a href="/topic/arc" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/arc" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/arc" ><span class="devsite-nav-text" tooltip>Building apps for ChromeOS</span></a></li><li class="devsite-nav-item"><a href="/topic/arc/optimizing" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/arc/optimizing" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/arc/optimizing" ><span class="devsite-nav-text" tooltip>Optimizing Apps for ChromeOS</span></a></li><li class="devsite-nav-item"><a href="/topic/arc/development-environment" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/arc/development-environment" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/arc/development-environment" ><span class="devsite-nav-text" tooltip>Preparing your development environment</span></a></li><li class="devsite-nav-item"><a href="/topic/arc/manifest" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/arc/manifest" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/arc/manifest" ><span class="devsite-nav-text" tooltip>App Manifest Compatibility for Chromebooks</span></a></li><li class="devsite-nav-item"><a href="/topic/arc/device-support" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/arc/device-support" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/arc/device-support" ><span class="devsite-nav-text" tooltip>ChromeOS Device Support for Apps</span></a></li><li class="devsite-nav-item"><a href="/topic/arc/differences" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/arc/differences" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/arc/differences" ><span class="devsite-nav-text" tooltip>App Rendering Differences on Chromebooks</span></a></li><li class="devsite-nav-item"><a href="/topic/arc/window-management" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/arc/window-management" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/arc/window-management" ><span class="devsite-nav-text" tooltip>Window management</span></a></li><li class="devsite-nav-item"><a href="/topic/arc/adapting-games" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/arc/adapting-games" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/arc/adapting-games" ><span class="devsite-nav-text" tooltip>Adapting Games on ChromeOS</span></a></li><li class="devsite-nav-item"><a href="/topic/arc/animation" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/arc/animation" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/arc/animation" ><span class="devsite-nav-text" tooltip>Smooth animation on ChromeOS</span></a></li><li class="devsite-nav-item"><a href="/topic/arc/tests" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/arc/tests" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/arc/tests" ><span class="devsite-nav-text" tooltip>Test Cases for Android Apps on ChromeOS</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Cross device SDK</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/guide/topics/connectivity/cross-device-sdk/overview" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/connectivity/cross-device-sdk/overview" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/connectivity/cross-device-sdk/overview" ><span class="devsite-nav-text" tooltip>About the Cross device SDK</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/connectivity/cross-device-sdk/get-started" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/connectivity/cross-device-sdk/get-started" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/connectivity/cross-device-sdk/get-started" ><span class="devsite-nav-text" tooltip>Get started</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/connectivity/cross-device-sdk/device-discovery" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/connectivity/cross-device-sdk/device-discovery" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/connectivity/cross-device-sdk/device-discovery" ><span class="devsite-nav-text" tooltip>Device discovery API</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/connectivity/cross-device-sdk/secure-connection" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/connectivity/cross-device-sdk/secure-connection" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/connectivity/cross-device-sdk/secure-connection" ><span class="devsite-nav-text" tooltip>Secure connection API</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/connectivity/cross-device-sdk/sessions" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/connectivity/cross-device-sdk/sessions" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/connectivity/cross-device-sdk/sessions" ><span class="devsite-nav-text" tooltip>Sessions API</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/connectivity/cross-device-sdk/testing-debugging" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/connectivity/cross-device-sdk/testing-debugging" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/connectivity/cross-device-sdk/testing-debugging" ><span class="devsite-nav-text" tooltip>Test and debug</span></a></li><li class="devsite-nav-item"><a href="/reference/crossdevice/packages" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /reference/crossdevice/packages" track-type="bookNav" track-name="click" track-metadata-eventdetail="/reference/crossdevice/packages" ><span class="devsite-nav-text" tooltip>API Reference</span></a></li></ul></div></li><li class="devsite-nav-item"><a href="/develop/devices/assistant/overview" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /develop/devices/assistant/overview" track-type="bookNav" track-name="click" track-metadata-eventdetail="/develop/devices/assistant/overview" ><span class="devsite-nav-text" tooltip>Google Assistant ⍈</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Android (Go edition)</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/guide/topics/androidgo" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/androidgo" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/androidgo" ><span class="devsite-nav-text" tooltip>About Android Go edition</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/androidgo/develop" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/androidgo/develop" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/androidgo/develop" ><span class="devsite-nav-text" tooltip>Develop for Android (Go edition)</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/androidgo/test" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/androidgo/test" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/androidgo/test" ><span class="devsite-nav-text" tooltip>Test Android Go apps</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Optimize for Android (Go edition)</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/guide/topics/androidgo/optimize" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/androidgo/optimize" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/androidgo/optimize" ><span class="devsite-nav-text" tooltip>Approach</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/androidgo/optimize-memory" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/androidgo/optimize-memory" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/androidgo/optimize-memory" ><span class="devsite-nav-text" tooltip>Optimize app memory</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/androidgo/optimize-startup" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/androidgo/optimize-startup" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/androidgo/optimize-startup" ><span class="devsite-nav-text" tooltip>Improve startup latency</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/androidgo/optimize-size" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/androidgo/optimize-size" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/androidgo/optimize-size" ><span class="devsite-nav-text" tooltip>Reduce app size</span></a></li></ul></div></li><li class="devsite-nav-item"><a href="/guide/topics/androidgo/best-practices" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/androidgo/best-practices" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/androidgo/best-practices" ><span class="devsite-nav-text" tooltip>Best practices</span></a></li></ul></div></li></ul></div></li> <li class="devsite-nav-item devsite-nav-expandable devsite-nav-accordion"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>App architecture</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/topic/architecture/intro" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/architecture/intro" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/architecture/intro" ><span class="devsite-nav-text" tooltip>Introduction</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Guide to app architecture</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/topic/architecture" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/architecture" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/architecture" ><span class="devsite-nav-text" tooltip>About app architecture</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>UI layer</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/topic/architecture/ui-layer" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/architecture/ui-layer" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/architecture/ui-layer" ><span class="devsite-nav-text" tooltip>About the UI layer</span></a></li><li class="devsite-nav-item"><a href="/topic/architecture/ui-layer/events" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/architecture/ui-layer/events" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/architecture/ui-layer/events" ><span class="devsite-nav-text" tooltip>UI events</span></a></li><li class="devsite-nav-item"><a href="/topic/architecture/ui-layer/stateholders" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/architecture/ui-layer/stateholders" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/architecture/ui-layer/stateholders" ><span class="devsite-nav-text" tooltip>State holders and UI state</span></a></li><li class="devsite-nav-item"><a href="/topic/architecture/ui-layer/state-production" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/architecture/ui-layer/state-production" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/architecture/ui-layer/state-production" ><span class="devsite-nav-text" tooltip>State production</span></a></li></ul></div></li><li class="devsite-nav-item"><a href="/topic/architecture/domain-layer" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/architecture/domain-layer" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/architecture/domain-layer" ><span class="devsite-nav-text" tooltip>Domain layer</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Data layer</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/topic/architecture/data-layer" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/architecture/data-layer" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/architecture/data-layer" ><span class="devsite-nav-text" tooltip>About the data layer</span></a></li><li class="devsite-nav-item"><a href="/topic/architecture/data-layer/offline-first" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/architecture/data-layer/offline-first" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/architecture/data-layer/offline-first" ><span class="devsite-nav-text" tooltip>Offline first</span></a></li></ul></div></li><li class="devsite-nav-item"><a href="/topic/architecture/recommendations" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/architecture/recommendations" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/architecture/recommendations" ><span class="devsite-nav-text" tooltip>Architecture recommendations</span></a></li><li class="devsite-nav-item"><a href="/courses/pathways/android-architecture" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /courses/pathways/android-architecture" track-type="bookNav" track-name="click" track-metadata-eventdetail="/courses/pathways/android-architecture" ><span class="devsite-nav-text" tooltip>Learning pathway</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Modularization</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/topic/modularization" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/modularization" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/modularization" ><span class="devsite-nav-text" tooltip>About modularization</span></a></li><li class="devsite-nav-item"><a href="/topic/modularization/patterns" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/modularization/patterns" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/modularization/patterns" ><span class="devsite-nav-text" tooltip>Common patterns</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Recipes</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/guide/navigation/navigation-multi-module" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/navigation/navigation-multi-module" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/navigation/navigation-multi-module" ><span class="devsite-nav-text" tooltip>Navigation</span></a></li></ul></div></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Architecture components</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>UI layer libraries</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>View binding</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/topic/libraries/view-binding" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/libraries/view-binding" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/libraries/view-binding" ><span class="devsite-nav-text" tooltip>About view binding</span></a></li><li class="devsite-nav-item"><a href="/topic/libraries/view-binding/migration" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/libraries/view-binding/migration" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/libraries/view-binding/migration" ><span class="devsite-nav-text" tooltip>Migrate from Kotlin synthetics to view binding</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Data binding library</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/topic/libraries/data-binding" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/libraries/data-binding" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/libraries/data-binding" ><span class="devsite-nav-text" tooltip>About data binding</span></a></li><li class="devsite-nav-item"><a href="/topic/libraries/data-binding/start" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/libraries/data-binding/start" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/libraries/data-binding/start" ><span class="devsite-nav-text" tooltip>Get started</span></a></li><li class="devsite-nav-item"><a href="/topic/libraries/data-binding/expressions" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/libraries/data-binding/expressions" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/libraries/data-binding/expressions" ><span class="devsite-nav-text" tooltip>Layouts and binding expressions</span></a></li><li class="devsite-nav-item"><a href="/topic/libraries/data-binding/observability" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/libraries/data-binding/observability" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/libraries/data-binding/observability" ><span class="devsite-nav-text" tooltip>Work with observable data objects</span></a></li><li class="devsite-nav-item"><a href="/topic/libraries/data-binding/generated-binding" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/libraries/data-binding/generated-binding" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/libraries/data-binding/generated-binding" ><span class="devsite-nav-text" tooltip>Generated binding classes</span></a></li><li class="devsite-nav-item"><a href="/topic/libraries/data-binding/binding-adapters" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/libraries/data-binding/binding-adapters" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/libraries/data-binding/binding-adapters" ><span class="devsite-nav-text" tooltip>Binding adapters</span></a></li><li class="devsite-nav-item"><a href="/topic/libraries/data-binding/architecture" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/libraries/data-binding/architecture" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/libraries/data-binding/architecture" ><span class="devsite-nav-text" tooltip>Bind layout views to Architecture Components</span></a></li><li class="devsite-nav-item"><a href="/topic/libraries/data-binding/two-way" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/libraries/data-binding/two-way" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/libraries/data-binding/two-way" ><span class="devsite-nav-text" tooltip>Two-way data binding</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Lifecycle-aware components</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Lifecycles</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/topic/libraries/architecture/lifecycle" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/libraries/architecture/lifecycle" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/libraries/architecture/lifecycle" ><span class="devsite-nav-text" tooltip>Handle lifecycles</span></a></li><li class="devsite-nav-item"><a href="/topic/libraries/architecture/compose" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/libraries/architecture/compose" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/libraries/architecture/compose" ><span class="devsite-nav-text" tooltip>Integrate with Compose</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>ViewModel</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/topic/libraries/architecture/viewmodel" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/libraries/architecture/viewmodel" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/libraries/architecture/viewmodel" ><span class="devsite-nav-text" tooltip>About ViewModel</span></a></li><li class="devsite-nav-item"><a href="/topic/libraries/architecture/viewmodel/viewmodel-factories" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/libraries/architecture/viewmodel/viewmodel-factories" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/libraries/architecture/viewmodel/viewmodel-factories" ><span class="devsite-nav-text" tooltip>Create ViewModels with dependencies</span></a></li><li class="devsite-nav-item"><a href="/topic/libraries/architecture/viewmodel/viewmodel-apis" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/libraries/architecture/viewmodel/viewmodel-apis" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/libraries/architecture/viewmodel/viewmodel-apis" ><span class="devsite-nav-text" tooltip>ViewModel Scoping APIs</span></a></li><li class="devsite-nav-item"><a href="/topic/libraries/architecture/viewmodel/viewmodel-savedstate" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/libraries/architecture/viewmodel/viewmodel-savedstate" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/libraries/architecture/viewmodel/viewmodel-savedstate" ><span class="devsite-nav-text" tooltip>Saved State module for ViewModel</span></a></li><li class="devsite-nav-item"><a href="/topic/libraries/architecture/viewmodel/viewmodel-cheatsheet" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/libraries/architecture/viewmodel/viewmodel-cheatsheet" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/libraries/architecture/viewmodel/viewmodel-cheatsheet" ><span class="devsite-nav-text" tooltip>ViewModel APIs cheat sheet</span></a></li></ul></div></li><li class="devsite-nav-item"><a href="/topic/libraries/architecture/livedata" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/libraries/architecture/livedata" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/libraries/architecture/livedata" ><span class="devsite-nav-text" tooltip>LiveData</span></a></li><li class="devsite-nav-item"><a href="/topic/libraries/architecture/saving-states" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/libraries/architecture/saving-states" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/libraries/architecture/saving-states" ><span class="devsite-nav-text" tooltip>Save UI states</span></a></li><li class="devsite-nav-item"><a href="/topic/libraries/architecture/coroutines" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/libraries/architecture/coroutines" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/libraries/architecture/coroutines" ><span class="devsite-nav-text" tooltip>Use Kotlin coroutines with lifecycle-aware components</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Paging Library</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/topic/libraries/architecture/paging/v3-overview" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/libraries/architecture/paging/v3-overview" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/libraries/architecture/paging/v3-overview" ><span class="devsite-nav-text" tooltip>About paging</span></a></li><li class="devsite-nav-item"><a href="/topic/libraries/architecture/paging/v3-paged-data" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/libraries/architecture/paging/v3-paged-data" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/libraries/architecture/paging/v3-paged-data" ><span class="devsite-nav-text" tooltip>Load and display paged data</span></a></li><li class="devsite-nav-item"><a href="/topic/libraries/architecture/paging/v3-network-db" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/libraries/architecture/paging/v3-network-db" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/libraries/architecture/paging/v3-network-db" ><span class="devsite-nav-text" tooltip>Page from network and database</span></a></li><li class="devsite-nav-item"><a href="/topic/libraries/architecture/paging/v3-transform" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/libraries/architecture/paging/v3-transform" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/libraries/architecture/paging/v3-transform" ><span class="devsite-nav-text" tooltip>Transform data streams</span></a></li><li class="devsite-nav-item"><a href="/topic/libraries/architecture/paging/load-state" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/libraries/architecture/paging/load-state" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/libraries/architecture/paging/load-state" ><span class="devsite-nav-text" tooltip>Manage and present loading states</span></a></li><li class="devsite-nav-item"><a href="/topic/libraries/architecture/paging/test" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/libraries/architecture/paging/test" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/libraries/architecture/paging/test" ><span class="devsite-nav-text" tooltip>Test your Paging implementation</span></a></li><li class="devsite-nav-item"><a href="/topic/libraries/architecture/paging/v3-migration" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/libraries/architecture/paging/v3-migration" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/libraries/architecture/paging/v3-migration" ><span class="devsite-nav-text" tooltip>Migrate to Paging 3</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Paging 2</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/topic/libraries/architecture/paging" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/libraries/architecture/paging" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/libraries/architecture/paging" ><span class="devsite-nav-text" tooltip>About Paging 2</span></a></li><li class="devsite-nav-item"><a href="/topic/libraries/architecture/paging/ui" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/libraries/architecture/paging/ui" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/libraries/architecture/paging/ui" ><span class="devsite-nav-text" tooltip>Display paged lists</span></a></li><li class="devsite-nav-item"><a href="/topic/libraries/architecture/paging/data" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/libraries/architecture/paging/data" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/libraries/architecture/paging/data" ><span class="devsite-nav-text" tooltip>Load paged data</span></a></li></ul></div></li></ul></div></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Data layer libraries</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/topic/libraries/architecture/datastore" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/libraries/architecture/datastore" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/libraries/architecture/datastore" ><span class="devsite-nav-text" tooltip>DataStore</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>WorkManager</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/topic/libraries/architecture/workmanager" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/libraries/architecture/workmanager" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/libraries/architecture/workmanager" ><span class="devsite-nav-text" tooltip>About WorkManager</span></a></li><li class="devsite-nav-item"><a href="/topic/libraries/architecture/workmanager/basics" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/libraries/architecture/workmanager/basics" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/libraries/architecture/workmanager/basics" ><span class="devsite-nav-text" tooltip>Getting Started</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>How-To Guides</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/topic/libraries/architecture/workmanager/how-to/define-work" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/libraries/architecture/workmanager/how-to/define-work" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/libraries/architecture/workmanager/how-to/define-work" ><span class="devsite-nav-text" tooltip>Defining your WorkRequests</span></a></li><li class="devsite-nav-item"><a href="/topic/libraries/architecture/workmanager/how-to/states-and-observation" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/libraries/architecture/workmanager/how-to/states-and-observation" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/libraries/architecture/workmanager/how-to/states-and-observation" ><span class="devsite-nav-text" tooltip>Work states</span></a></li><li class="devsite-nav-item"><a href="/topic/libraries/architecture/workmanager/how-to/managing-work" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/libraries/architecture/workmanager/how-to/managing-work" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/libraries/architecture/workmanager/how-to/managing-work" ><span class="devsite-nav-text" tooltip>Managing work</span></a></li><li class="devsite-nav-item"><a href="/topic/libraries/architecture/workmanager/how-to/intermediate-progress" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/libraries/architecture/workmanager/how-to/intermediate-progress" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/libraries/architecture/workmanager/how-to/intermediate-progress" ><span class="devsite-nav-text" tooltip>Observing intermediate Worker progress</span></a></li><li class="devsite-nav-item"><a href="/topic/libraries/architecture/workmanager/how-to/chain-work" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/libraries/architecture/workmanager/how-to/chain-work" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/libraries/architecture/workmanager/how-to/chain-work" ><span class="devsite-nav-text" tooltip>Chaining work together</span></a></li><li class="devsite-nav-item"><a href="/topic/libraries/architecture/workmanager/how-to/testing-worker-impl" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/libraries/architecture/workmanager/how-to/testing-worker-impl" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/libraries/architecture/workmanager/how-to/testing-worker-impl" ><span class="devsite-nav-text" tooltip>Testing Worker implementation</span></a></li><li class="devsite-nav-item"><a href="/topic/libraries/architecture/workmanager/how-to/integration-testing" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/libraries/architecture/workmanager/how-to/integration-testing" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/libraries/architecture/workmanager/how-to/integration-testing" ><span class="devsite-nav-text" tooltip>Integration tests with WorkManager</span></a></li><li class="devsite-nav-item"><a href="/topic/libraries/architecture/workmanager/how-to/debugging" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/libraries/architecture/workmanager/how-to/debugging" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/libraries/architecture/workmanager/how-to/debugging" ><span class="devsite-nav-text" tooltip>Debugging WorkManager</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Advanced Concepts</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/topic/libraries/architecture/workmanager/advanced/custom-configuration" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/libraries/architecture/workmanager/advanced/custom-configuration" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/libraries/architecture/workmanager/advanced/custom-configuration" ><span class="devsite-nav-text" tooltip>Configuration and Initialization</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Threading in WorkManager</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/topic/libraries/architecture/workmanager/advanced/threading" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/libraries/architecture/workmanager/advanced/threading" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/libraries/architecture/workmanager/advanced/threading" ><span class="devsite-nav-text" tooltip>About threading in WorkManager</span></a></li><li class="devsite-nav-item"><a href="/topic/libraries/architecture/workmanager/advanced/worker" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/libraries/architecture/workmanager/advanced/worker" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/libraries/architecture/workmanager/advanced/worker" ><span class="devsite-nav-text" tooltip>Threading in Worker</span></a></li><li class="devsite-nav-item"><a href="/topic/libraries/architecture/workmanager/advanced/coroutineworker" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/libraries/architecture/workmanager/advanced/coroutineworker" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/libraries/architecture/workmanager/advanced/coroutineworker" ><span class="devsite-nav-text" tooltip>Threading in CoroutineWorker</span></a></li><li class="devsite-nav-item"><a href="/topic/libraries/architecture/workmanager/advanced/rxworker" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/libraries/architecture/workmanager/advanced/rxworker" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/libraries/architecture/workmanager/advanced/rxworker" ><span class="devsite-nav-text" tooltip>Threading in RxWorker</span></a></li><li class="devsite-nav-item"><a href="/topic/libraries/architecture/workmanager/advanced/listenableworker" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/libraries/architecture/workmanager/advanced/listenableworker" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/libraries/architecture/workmanager/advanced/listenableworker" ><span class="devsite-nav-text" tooltip>Threading in ListenableWorker</span></a></li></ul></div></li><li class="devsite-nav-item"><a href="/topic/libraries/architecture/workmanager/advanced/long-running" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/libraries/architecture/workmanager/advanced/long-running" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/libraries/architecture/workmanager/advanced/long-running" ><span class="devsite-nav-text" tooltip>Support for long-running workers</span></a></li></ul></div></li><li class="devsite-nav-item"><a href="/topic/libraries/architecture/workmanager/migrating-fb" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/libraries/architecture/workmanager/migrating-fb" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/libraries/architecture/workmanager/migrating-fb" ><span class="devsite-nav-text" tooltip>Migrating from Firebase JobDispatcher</span></a></li><li class="devsite-nav-item"><a href="/topic/libraries/architecture/workmanager/migrating-gcm" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/libraries/architecture/workmanager/migrating-gcm" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/libraries/architecture/workmanager/migrating-gcm" ><span class="devsite-nav-text" tooltip>Migrating from GCMNetworkManager</span></a></li></ul></div></li></ul></div></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>App entry points</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Activities</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/guide/components/activities/intro-activities" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/components/activities/intro-activities" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/components/activities/intro-activities" ><span class="devsite-nav-text" tooltip>Introduction to activities</span></a></li><li class="devsite-nav-item"><a href="/guide/components/activities/activity-lifecycle" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/components/activities/activity-lifecycle" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/components/activities/activity-lifecycle" ><span class="devsite-nav-text" tooltip>The activity lifecycle</span></a></li><li class="devsite-nav-item"><a href="/guide/components/activities/state-changes" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/components/activities/state-changes" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/components/activities/state-changes" ><span class="devsite-nav-text" tooltip>Activity state changes</span></a></li><li class="devsite-nav-item"><a href="/guide/components/activities/testing" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/components/activities/testing" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/components/activities/testing" ><span class="devsite-nav-text" tooltip>Test your app's activities</span></a></li><li class="devsite-nav-item"><a href="/guide/components/activities/tasks-and-back-stack" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/components/activities/tasks-and-back-stack" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/components/activities/tasks-and-back-stack" ><span class="devsite-nav-text" tooltip>Tasks and the back stack</span></a></li><li class="devsite-nav-item"><a href="/guide/components/activities/process-lifecycle" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/components/activities/process-lifecycle" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/components/activities/process-lifecycle" ><span class="devsite-nav-text" tooltip>Processes and app lifecycle</span></a></li><li class="devsite-nav-item"><a href="/guide/components/activities/parcelables-and-bundles" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/components/activities/parcelables-and-bundles" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/components/activities/parcelables-and-bundles" ><span class="devsite-nav-text" tooltip>Parcelables and bundles</span></a></li><li class="devsite-nav-item"><a href="/guide/components/loaders" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/components/loaders" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/components/loaders" ><span class="devsite-nav-text" tooltip>Loaders</span></a></li><li class="devsite-nav-item"><a href="/guide/components/activities/recents" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/components/activities/recents" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/components/activities/recents" ><span class="devsite-nav-text" tooltip>Recents screen</span></a></li><li class="devsite-nav-item"><a href="/guide/components/activities/background-starts" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/components/activities/background-starts" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/components/activities/background-starts" ><span class="devsite-nav-text" tooltip>Restrictions on starting activities from the background</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>App shortcuts</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/guide/topics/ui/shortcuts" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/ui/shortcuts" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/ui/shortcuts" ><span class="devsite-nav-text" tooltip>About app shortcuts</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/ui/shortcuts/creating-shortcuts" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/ui/shortcuts/creating-shortcuts" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/ui/shortcuts/creating-shortcuts" ><span class="devsite-nav-text" tooltip>Create shortcuts</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/ui/shortcuts/adding-capabilities" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/ui/shortcuts/adding-capabilities" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/ui/shortcuts/adding-capabilities" ><span class="devsite-nav-text" tooltip>Add capabilities</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/ui/shortcuts/managing-shortcuts" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/ui/shortcuts/managing-shortcuts" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/ui/shortcuts/managing-shortcuts" ><span class="devsite-nav-text" tooltip>Manage shortcuts</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/ui/shortcuts/best-practices" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/ui/shortcuts/best-practices" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/ui/shortcuts/best-practices" ><span class="devsite-nav-text" tooltip>Best practices for shortcuts</span></a></li></ul></div></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>App navigation</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/guide/navigation/principles" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/navigation/principles" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/navigation/principles" ><span class="devsite-nav-text" tooltip>Principles of navigation</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Navigation component</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/guide/navigation" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/navigation" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/navigation" ><span class="devsite-nav-text" tooltip>Overview</span></a></li><li class="devsite-nav-item"><a href="/guide/navigation/navcontroller" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/navigation/navcontroller" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/navigation/navcontroller" ><span class="devsite-nav-text" tooltip>Navigation controller</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Design your navigation graph</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/guide/navigation/design" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/navigation/design" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/navigation/design" ><span class="devsite-nav-text" tooltip>Overview</span></a></li><li class="devsite-nav-item"><a href="/guide/navigation/design/dialog-destinations" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/navigation/design/dialog-destinations" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/navigation/design/dialog-destinations" ><span class="devsite-nav-text" tooltip>Dialog destinations</span></a></li><li class="devsite-nav-item"><a href="/guide/navigation/design/activity-destinations" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/navigation/design/activity-destinations" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/navigation/design/activity-destinations" ><span class="devsite-nav-text" tooltip>Activity destinations</span></a></li><li class="devsite-nav-item"><a href="/guide/navigation/design/nested-graphs" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/navigation/design/nested-graphs" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/navigation/design/nested-graphs" ><span class="devsite-nav-text" tooltip>Nested graphs</span></a></li><li class="devsite-nav-item"><a href="/guide/navigation/design/deep-link" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/navigation/design/deep-link" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/navigation/design/deep-link" ><span class="devsite-nav-text" tooltip>Deep links</span></a></li><li class="devsite-nav-item"><a href="/guide/navigation/design/add-new" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/navigation/design/add-new" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/navigation/design/add-new" ><span class="devsite-nav-text" tooltip>New destination types</span></a></li><li class="devsite-nav-item"><a href="/guide/navigation/design/type-safety" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/navigation/design/type-safety" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/navigation/design/type-safety" ><span class="devsite-nav-text" tooltip>Type safety</span></a></li><li class="devsite-nav-item"><a href="/guide/navigation/design/encapsulate" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/navigation/design/encapsulate" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/navigation/design/encapsulate" ><span class="devsite-nav-text" tooltip>Encapsulate your code</span></a></li><li class="devsite-nav-item"><a href="/guide/navigation/design/actions" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/navigation/design/actions" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/navigation/design/actions" ><span class="devsite-nav-text" tooltip>Global actions</span></a></li><li class="devsite-nav-item"><a href="/guide/navigation/design/kotlin-dsl" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/navigation/design/kotlin-dsl" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/navigation/design/kotlin-dsl" ><span class="devsite-nav-text" tooltip>Fragments and the Kotlin DSL</span></a></li><li class="devsite-nav-item"><a href="/guide/navigation/design/editor" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/navigation/design/editor" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/navigation/design/editor" ><span class="devsite-nav-text" tooltip>Use the Navigation editor</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Use your navigation graph</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/guide/navigation/use-graph/navigate" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/navigation/use-graph/navigate" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/navigation/use-graph/navigate" ><span class="devsite-nav-text" tooltip>Navigate to a destination</span></a></li><li class="devsite-nav-item"><a href="/guide/navigation/use-graph/navoptions" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/navigation/use-graph/navoptions" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/navigation/use-graph/navoptions" ><span class="devsite-nav-text" tooltip>Navigate with options</span></a></li><li class="devsite-nav-item"><a href="/guide/navigation/use-graph/safe-args" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/navigation/use-graph/safe-args" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/navigation/use-graph/safe-args" ><span class="devsite-nav-text" tooltip>Safe args</span></a></li><li class="devsite-nav-item"><a href="/guide/navigation/use-graph/pass-data" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/navigation/use-graph/pass-data" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/navigation/use-graph/pass-data" ><span class="devsite-nav-text" tooltip>Pass data between destinations</span></a></li><li class="devsite-nav-item"><a href="/guide/navigation/use-graph/animate-transitions" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/navigation/use-graph/animate-transitions" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/navigation/use-graph/animate-transitions" ><span class="devsite-nav-text" tooltip>Animate transitions between destinations</span></a></li><li class="devsite-nav-item"><a href="/guide/navigation/use-graph/conditional" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/navigation/use-graph/conditional" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/navigation/use-graph/conditional" ><span class="devsite-nav-text" tooltip>Conditional navigation</span></a></li><li class="devsite-nav-item"><a href="/guide/navigation/use-graph/programmatic" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/navigation/use-graph/programmatic" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/navigation/use-graph/programmatic" ><span class="devsite-nav-text" tooltip>Interact programmatically with the Navigation component</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>The back stack</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/guide/navigation/backstack" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/navigation/backstack" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/navigation/backstack" ><span class="devsite-nav-text" tooltip>Overview</span></a></li><li class="devsite-nav-item"><a href="/guide/navigation/backstack/dialog" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/navigation/backstack/dialog" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/navigation/backstack/dialog" ><span class="devsite-nav-text" tooltip>Dialogs and the back stack</span></a></li><li class="devsite-nav-item"><a href="/guide/navigation/backstack/circular" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/navigation/backstack/circular" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/navigation/backstack/circular" ><span class="devsite-nav-text" tooltip>Circular navigation and the back stack</span></a></li><li class="devsite-nav-item"><a href="/guide/navigation/backstack/multi-back-stacks" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/navigation/backstack/multi-back-stacks" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/navigation/backstack/multi-back-stacks" ><span class="devsite-nav-text" tooltip>Multiple back stacks</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Integrations</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/guide/navigation/integrations/feature-modules" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/navigation/integrations/feature-modules" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/navigation/integrations/feature-modules" ><span class="devsite-nav-text" tooltip>Navigate with feature modules</span></a></li><li class="devsite-nav-item"><a href="/guide/navigation/integrations/multi-module" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/navigation/integrations/multi-module" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/navigation/integrations/multi-module" ><span class="devsite-nav-text" tooltip>Multi-module projects</span></a></li><li class="devsite-nav-item"><a href="/guide/navigation/integrations/ui" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/navigation/integrations/ui" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/navigation/integrations/ui" ><span class="devsite-nav-text" tooltip>Connect UI components to NavController</span></a></li></ul></div></li><li class="devsite-nav-item"><a href="/guide/navigation/migrate" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/navigation/migrate" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/navigation/migrate" ><span class="devsite-nav-text" tooltip>Migrate to the Navigation component</span></a></li><li class="devsite-nav-item"><a href="/guide/navigation/testing" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/navigation/testing" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/navigation/testing" ><span class="devsite-nav-text" tooltip>Test navigation</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Custom back navigation</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/guide/navigation/custom-back" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/navigation/custom-back" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/navigation/custom-back" ><span class="devsite-nav-text" tooltip>Custom back navigation</span></a></li><li class="devsite-nav-item"><a href="/guide/navigation/custom-back/predictive-back-gesture" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/navigation/custom-back/predictive-back-gesture" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/navigation/custom-back/predictive-back-gesture" ><span class="devsite-nav-text" tooltip>Predictive back gesture</span></a></li><li class="devsite-nav-item"><a href="/guide/navigation/custom-back/support-animations" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/navigation/custom-back/support-animations" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/navigation/custom-back/support-animations" ><span class="devsite-nav-text" tooltip>Add support for predictive back animations</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Responsive design</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/guide/navigation/responsive/config-changes" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/navigation/responsive/config-changes" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/navigation/responsive/config-changes" ><span class="devsite-nav-text" tooltip>Handling configuration changes</span></a></li><li class="devsite-nav-item"><a href="/guide/navigation/responsive/form-factors" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/navigation/responsive/form-factors" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/navigation/responsive/form-factors" ><span class="devsite-nav-text" tooltip>Design for different form factors</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Swipe between views</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/guide/navigation/advanced/swipe-view-2" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/navigation/advanced/swipe-view-2" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/navigation/advanced/swipe-view-2" ><span class="devsite-nav-text" tooltip>Swipe views using ViewPager2</span></a></li><li class="devsite-nav-item"><a href="/guide/navigation/advanced/swipe-view" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/navigation/advanced/swipe-view" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/navigation/advanced/swipe-view" ><span class="devsite-nav-text" tooltip>Swipe views using ViewPager</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Fragments</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/guide/fragments" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/fragments" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/fragments" ><span class="devsite-nav-text" tooltip>About fragments</span></a></li><li class="devsite-nav-item"><a href="/guide/fragments/create" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/fragments/create" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/fragments/create" ><span class="devsite-nav-text" tooltip>Create a fragment</span></a></li><li class="devsite-nav-item"><a href="/guide/fragments/fragmentmanager" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/fragments/fragmentmanager" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/fragments/fragmentmanager" ><span class="devsite-nav-text" tooltip>Fragment manager</span></a></li><li class="devsite-nav-item"><a href="/guide/fragments/transactions" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/fragments/transactions" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/fragments/transactions" ><span class="devsite-nav-text" tooltip>Fragment transactions</span></a></li><li class="devsite-nav-item"><a href="/guide/fragments/animate" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/fragments/animate" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/fragments/animate" ><span class="devsite-nav-text" tooltip>Animate transitions between fragments</span></a></li><li class="devsite-nav-item"><a href="/guide/fragments/lifecycle" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/fragments/lifecycle" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/fragments/lifecycle" ><span class="devsite-nav-text" tooltip>Fragment lifecycle</span></a></li><li class="devsite-nav-item"><a href="/guide/fragments/saving-state" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/fragments/saving-state" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/fragments/saving-state" ><span class="devsite-nav-text" tooltip>Saving state with fragments</span></a></li><li class="devsite-nav-item"><a href="/guide/fragments/communicate" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/fragments/communicate" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/fragments/communicate" ><span class="devsite-nav-text" tooltip>Communicate with fragments</span></a></li><li class="devsite-nav-item"><a href="/guide/fragments/appbar" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/fragments/appbar" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/fragments/appbar" ><span class="devsite-nav-text" tooltip>Working with the app bar</span></a></li><li class="devsite-nav-item"><a href="/guide/fragments/dialogs" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/fragments/dialogs" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/fragments/dialogs" ><span class="devsite-nav-text" tooltip>Displaying dialogs with DialogFragment</span></a></li><li class="devsite-nav-item"><a href="/guide/fragments/debugging" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/fragments/debugging" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/fragments/debugging" ><span class="devsite-nav-text" tooltip>Debug your fragments</span></a></li><li class="devsite-nav-item"><a href="/guide/fragments/test" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/fragments/test" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/fragments/test" ><span class="devsite-nav-text" tooltip>Test your fragments</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>App links</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/training/app-links" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/app-links" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/app-links" ><span class="devsite-nav-text" tooltip>About app links</span></a></li><li class="devsite-nav-item"><a href="/training/app-links/deep-linking" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/app-links/deep-linking" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/app-links/deep-linking" ><span class="devsite-nav-text" tooltip>Enabling links to app content</span></a></li><li class="devsite-nav-item"><a href="/training/app-links/verify-android-applinks" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/app-links/verify-android-applinks" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/app-links/verify-android-applinks" ><span class="devsite-nav-text" tooltip>Verify app links</span></a></li><li class="devsite-nav-item"><a href="/training/app-links/instant-app-links" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/app-links/instant-app-links" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/app-links/instant-app-links" ><span class="devsite-nav-text" tooltip>Create app links for instant apps</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Interact with other apps</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/training/basics/intents" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/basics/intents" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/basics/intents" ><span class="devsite-nav-text" tooltip>About interacting with other apps</span></a></li><li class="devsite-nav-item"><a href="/guide/components/intents-filters" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/components/intents-filters" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/components/intents-filters" ><span class="devsite-nav-text" tooltip>About intents and intent filters</span></a></li><li class="devsite-nav-item"><a href="/guide/components/intents-common" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/components/intents-common" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/components/intents-common" ><span class="devsite-nav-text" tooltip>About common intents</span></a></li><li class="devsite-nav-item"><a href="/training/basics/intents/sending" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/basics/intents/sending" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/basics/intents/sending" ><span class="devsite-nav-text" tooltip>Send users to another app</span></a></li><li class="devsite-nav-item"><a href="/training/basics/intents/result" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/basics/intents/result" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/basics/intents/result" ><span class="devsite-nav-text" tooltip>Get a result from an activity</span></a></li><li class="devsite-nav-item"><a href="/training/basics/intents/filters" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/basics/intents/filters" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/basics/intents/filters" ><span class="devsite-nav-text" tooltip>Allow other apps to start your activity</span></a></li><li class="devsite-nav-item"><a href="/training/basics/intents/limit-play-loading" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/basics/intents/limit-play-loading" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/basics/intents/limit-play-loading" ><span class="devsite-nav-text" tooltip>Limit loading in on-device Android containers</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Package visibility</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/training/package-visibility" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/package-visibility" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/package-visibility" ><span class="devsite-nav-text" tooltip>About package visibility</span></a></li><li class="devsite-nav-item"><a href="/training/package-visibility/automatic" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/package-visibility/automatic" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/package-visibility/automatic" ><span class="devsite-nav-text" tooltip>Know which packages are visible automatically</span></a></li><li class="devsite-nav-item"><a href="/training/package-visibility/declaring" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/package-visibility/declaring" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/package-visibility/declaring" ><span class="devsite-nav-text" tooltip>Declare package visibility needs</span></a></li><li class="devsite-nav-item"><a href="/training/package-visibility/use-cases" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/package-visibility/use-cases" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/package-visibility/use-cases" ><span class="devsite-nav-text" tooltip>Fulfill common use cases</span></a></li><li class="devsite-nav-item"><a href="/training/package-visibility/testing" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/package-visibility/testing" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/package-visibility/testing" ><span class="devsite-nav-text" tooltip>Test package visibility</span></a></li></ul></div></li></ul></div></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Dependency injection</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/training/dependency-injection" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/dependency-injection" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/dependency-injection" ><span class="devsite-nav-text" tooltip>About dependency injection</span></a></li><li class="devsite-nav-item"><a href="/training/dependency-injection/manual" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/dependency-injection/manual" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/dependency-injection/manual" ><span class="devsite-nav-text" tooltip>Manual dependency injection</span></a></li><li class="devsite-nav-item"><a href="/training/dependency-injection/hilt-android" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/dependency-injection/hilt-android" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/dependency-injection/hilt-android" ><span class="devsite-nav-text" tooltip>Dependency injection with Hilt</span></a></li><li class="devsite-nav-item"><a href="/training/dependency-injection/hilt-multi-module" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/dependency-injection/hilt-multi-module" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/dependency-injection/hilt-multi-module" ><span class="devsite-nav-text" tooltip>Hilt in multi-module apps</span></a></li><li class="devsite-nav-item"><a href="/training/dependency-injection/hilt-jetpack" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/dependency-injection/hilt-jetpack" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/dependency-injection/hilt-jetpack" ><span class="devsite-nav-text" tooltip>Use Hilt with other Jetpack libraries</span></a></li><li class="devsite-nav-item"><a href="/training/dependency-injection/hilt-testing" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/dependency-injection/hilt-testing" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/dependency-injection/hilt-testing" ><span class="devsite-nav-text" tooltip>Hilt testing guide</span></a></li><li class="devsite-nav-item"><a href="/training/dependency-injection/hilt-cheatsheet" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/dependency-injection/hilt-cheatsheet" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/dependency-injection/hilt-cheatsheet" ><span class="devsite-nav-text" tooltip>Hilt and Dagger annotations cheat sheet</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Dagger</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/training/dependency-injection/dagger-basics" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/dependency-injection/dagger-basics" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/dependency-injection/dagger-basics" ><span class="devsite-nav-text" tooltip>Dagger basics</span></a></li><li class="devsite-nav-item"><a href="/training/dependency-injection/dagger-android" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/dependency-injection/dagger-android" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/dependency-injection/dagger-android" ><span class="devsite-nav-text" tooltip>Using Dagger in Android apps</span></a></li><li class="devsite-nav-item"><a href="/training/dependency-injection/dagger-multi-module" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/dependency-injection/dagger-multi-module" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/dependency-injection/dagger-multi-module" ><span class="devsite-nav-text" tooltip>Using Dagger in multi-module apps</span></a></li></ul></div></li></ul></div></li><li class="devsite-nav-item"><a href="/topic/libraries/app-startup" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/libraries/app-startup" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/libraries/app-startup" ><span class="devsite-nav-text" tooltip>App Startup</span></a></li></ul></div></li> <li class="devsite-nav-item devsite-nav-expandable devsite-nav-accordion"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Google Play</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/google/play/billing" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /google/play/billing" track-type="bookNav" track-name="click" track-metadata-eventdetail="/google/play/billing" ><span class="devsite-nav-text" tooltip>Google Play Billing ⍈</span></a></li><li class="devsite-nav-item"><a href="/guide/playcore" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/playcore" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/playcore" ><span class="devsite-nav-text" tooltip>Google Play Core libraries</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Engage SDK</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/guide/playcore/engage/preview" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/playcore/engage/preview" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/playcore/engage/preview" ><span class="devsite-nav-text" tooltip>Engage SDK Developer Preview</span></a></li><li class="devsite-nav-item"><a href="/guide/playcore/engage" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/playcore/engage" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/playcore/engage" ><span class="devsite-nav-text" tooltip>About Engage SDK</span></a></li><li class="devsite-nav-item"><a href="/guide/playcore/engage/watch" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/playcore/engage/watch" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/playcore/engage/watch" ><span class="devsite-nav-text" tooltip>Engage SDK Watch integration guide</span></a></li><li class="devsite-nav-item"><a href="/guide/playcore/engage/listen" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/playcore/engage/listen" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/playcore/engage/listen" ><span class="devsite-nav-text" tooltip>Engage SDK Listen integration guide</span></a></li><li class="devsite-nav-item"><a href="/guide/playcore/engage/read" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/playcore/engage/read" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/playcore/engage/read" ><span class="devsite-nav-text" tooltip>Engage SDK Read integration guide</span></a></li><li class="devsite-nav-item"><a href="/guide/playcore/engage/shopping" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/playcore/engage/shopping" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/playcore/engage/shopping" ><span class="devsite-nav-text" tooltip>Engage SDK Shopping integration guide</span></a></li><li class="devsite-nav-item"><a href="/guide/playcore/engage/food" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/playcore/engage/food" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/playcore/engage/food" ><span class="devsite-nav-text" tooltip>Engage SDK Food integration guide</span></a></li><li class="devsite-nav-item"><a href="/guide/playcore/engage/social" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/playcore/engage/social" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/playcore/engage/social" ><span class="devsite-nav-text" tooltip>Engage SDK Social integration guide</span></a></li><li class="devsite-nav-item"><a href="/guide/playcore/engage/travel" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/playcore/engage/travel" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/playcore/engage/travel" ><span class="devsite-nav-text" tooltip>Engage SDK Travel integration guide</span></a></li><li class="devsite-nav-item"><a href="/guide/playcore/engage/healthandfitness" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/playcore/engage/healthandfitness" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/playcore/engage/healthandfitness" ><span class="devsite-nav-text" tooltip>Engage SDK Health & Fitness integration guide</span></a></li><li class="devsite-nav-item"><a href="/guide/playcore/engage/otherverticals" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/playcore/engage/otherverticals" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/playcore/engage/otherverticals" ><span class="devsite-nav-text" tooltip>Engage SDK Other Verticals integration guide</span></a></li><li class="devsite-nav-item"><a href="/guide/playcore/engage/workflow" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/playcore/engage/workflow" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/playcore/engage/workflow" ><span class="devsite-nav-text" tooltip>Engage SDK integration workflow</span></a></li><li class="devsite-nav-item"><a href="/guide/playcore/engage/publish" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/playcore/engage/publish" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/playcore/engage/publish" ><span class="devsite-nav-text" tooltip>Engage SDK Cluster publishing guidelines</span></a></li><li class="devsite-nav-item"><a href="/guide/playcore/engage/faq" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/playcore/engage/faq" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/playcore/engage/faq" ><span class="devsite-nav-text" tooltip>Engage SDK Frequently asked questions</span></a></li><li class="devsite-nav-item"><a href="/guide/playcore/engage/release" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/playcore/engage/release" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/playcore/engage/release" ><span class="devsite-nav-text" tooltip>Engage SDK Release Notes</span></a></li><li class="devsite-nav-item"><a href="/guide/playcore/engage/samples" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/playcore/engage/samples" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/playcore/engage/samples" ><span class="devsite-nav-text" tooltip>Engage SDK Sample Apps</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Play Points</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/guide/playpoints" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/playpoints" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/playpoints" ><span class="devsite-nav-text" tooltip>About Play Points</span></a></li><li class="devsite-nav-item"><a href="/guide/playpoints/create-products" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/playpoints/create-products" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/playpoints/create-products" ><span class="devsite-nav-text" tooltip>Create products and promotions</span></a></li><li class="devsite-nav-item"><a href="/guide/playpoints/deliver-items" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/playpoints/deliver-items" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/playpoints/deliver-items" ><span class="devsite-nav-text" tooltip>Detect and deliver products</span></a></li><li class="devsite-nav-item"><a href="/guide/playpoints/test" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/playpoints/test" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/playpoints/test" ><span class="devsite-nav-text" tooltip>Test products</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Play Asset Delivery</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/guide/playcore/asset-delivery" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/playcore/asset-delivery" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/playcore/asset-delivery" ><span class="devsite-nav-text" tooltip>About Play Asset Delivery</span></a></li><li class="devsite-nav-item"><a href="/guide/playcore/asset-delivery/integrate-java" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/playcore/asset-delivery/integrate-java" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/playcore/asset-delivery/integrate-java" ><span class="devsite-nav-text" tooltip>Integrate asset delivery (Kotlin and Java)</span></a></li><li class="devsite-nav-item"><a href="/guide/playcore/asset-delivery/integrate-native" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/playcore/asset-delivery/integrate-native" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/playcore/asset-delivery/integrate-native" ><span class="devsite-nav-text" tooltip>Integrate asset delivery (native)</span></a></li><li class="devsite-nav-item"><a href="/guide/playcore/asset-delivery/integrate-unity" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/playcore/asset-delivery/integrate-unity" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/playcore/asset-delivery/integrate-unity" ><span class="devsite-nav-text" tooltip>Integrate asset delivery (Unity)</span></a></li><li class="devsite-nav-item"><a href="/guide/playcore/asset-delivery/texture-compression" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/playcore/asset-delivery/texture-compression" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/playcore/asset-delivery/texture-compression" ><span class="devsite-nav-text" tooltip>Target texture compression formats</span></a></li><li class="devsite-nav-item"><a href="/guide/playcore/asset-delivery/test" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/playcore/asset-delivery/test" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/playcore/asset-delivery/test" ><span class="devsite-nav-text" tooltip>Test asset delivery</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Play Feature Delivery</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/guide/playcore/feature-delivery" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/playcore/feature-delivery" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/playcore/feature-delivery" ><span class="devsite-nav-text" tooltip>About Play Feature Delivery</span></a></li><li class="devsite-nav-item"><a href="/guide/playcore/feature-delivery/install-time" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/playcore/feature-delivery/install-time" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/playcore/feature-delivery/install-time" ><span class="devsite-nav-text" tooltip>Configure install-time delivery</span></a></li><li class="devsite-nav-item"><a href="/guide/playcore/feature-delivery/conditional" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/playcore/feature-delivery/conditional" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/playcore/feature-delivery/conditional" ><span class="devsite-nav-text" tooltip>Configure conditional delivery</span></a></li><li class="devsite-nav-item"><a href="/guide/playcore/feature-delivery/on-demand" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/playcore/feature-delivery/on-demand" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/playcore/feature-delivery/on-demand" ><span class="devsite-nav-text" tooltip>Configure on-demand delivery</span></a></li><li class="devsite-nav-item"><a href="/guide/playcore/feature-delivery/ux-guidelines" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/playcore/feature-delivery/ux-guidelines" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/playcore/feature-delivery/ux-guidelines" ><span class="devsite-nav-text" tooltip>On-demand delivery best practices</span></a></li><li class="devsite-nav-item"><a href="/guide/playcore/feature-delivery/instant" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/playcore/feature-delivery/instant" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/playcore/feature-delivery/instant" ><span class="devsite-nav-text" tooltip>Configure instant delivery</span></a></li><li class="devsite-nav-item"><a href="/guide/playcore/feature-delivery/additional-resources" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/playcore/feature-delivery/additional-resources" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/playcore/feature-delivery/additional-resources" ><span class="devsite-nav-text" tooltip>Additional resources</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>In-app reviews</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/guide/playcore/in-app-review" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/playcore/in-app-review" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/playcore/in-app-review" ><span class="devsite-nav-text" tooltip>Overview</span></a></li><li class="devsite-nav-item"><a href="/guide/playcore/in-app-review/kotlin-java" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/playcore/in-app-review/kotlin-java" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/playcore/in-app-review/kotlin-java" ><span class="devsite-nav-text" tooltip>Integrate in-app reviews (Kotlin or Java)</span></a></li><li class="devsite-nav-item"><a href="/guide/playcore/in-app-review/native" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/playcore/in-app-review/native" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/playcore/in-app-review/native" ><span class="devsite-nav-text" tooltip>Integrate in-app reviews (Native)</span></a></li><li class="devsite-nav-item"><a href="/guide/playcore/in-app-review/unity" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/playcore/in-app-review/unity" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/playcore/in-app-review/unity" ><span class="devsite-nav-text" tooltip>Integrate in-app reviews (Unity)</span></a></li><li class="devsite-nav-item"><a href="/guide/playcore/in-app-review/test" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/playcore/in-app-review/test" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/playcore/in-app-review/test" ><span class="devsite-nav-text" tooltip>Test in-app reviews</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>In-app updates</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/guide/playcore/in-app-updates" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/playcore/in-app-updates" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/playcore/in-app-updates" ><span class="devsite-nav-text" tooltip>About in-app updates</span></a></li><li class="devsite-nav-item"><a href="/guide/playcore/in-app-updates/kotlin-java" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/playcore/in-app-updates/kotlin-java" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/playcore/in-app-updates/kotlin-java" ><span class="devsite-nav-text" tooltip>Support in-app updates (Kotlin or Java)</span></a></li><li class="devsite-nav-item"><a href="/guide/playcore/in-app-updates/native" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/playcore/in-app-updates/native" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/playcore/in-app-updates/native" ><span class="devsite-nav-text" tooltip>Support in-app updates (Native)</span></a></li><li class="devsite-nav-item"><a href="/guide/playcore/in-app-updates/unity" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/playcore/in-app-updates/unity" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/playcore/in-app-updates/unity" ><span class="devsite-nav-text" tooltip>Support in-app updates (Unity)</span></a></li><li class="devsite-nav-item"><a href="/guide/playcore/in-app-updates/test" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/playcore/in-app-updates/test" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/playcore/in-app-updates/test" ><span class="devsite-nav-text" tooltip>Test in-app updates</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable devsite-nav-beta"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Play as you Download</span><span class="devsite-nav-icon material-icons" data-icon="beta" data-title="Beta" aria-hidden="true"></span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/google/play/play-as-you-download" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /google/play/play-as-you-download" track-type="bookNav" track-name="click" track-metadata-eventdetail="/google/play/play-as-you-download" ><span class="devsite-nav-text" tooltip>About Play as you Download</span></a></li><li class="devsite-nav-item"><a href="/google/play/play-as-you-download/best-practices" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /google/play/play-as-you-download/best-practices" track-type="bookNav" track-name="click" track-metadata-eventdetail="/google/play/play-as-you-download/best-practices" ><span class="devsite-nav-text" tooltip>Best practices</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Google Play Instant</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/topic/google-play-instant/overview" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/google-play-instant/overview" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/google-play-instant/overview" ><span class="devsite-nav-text" tooltip>About Google Play Instant</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Get started with instant apps</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/topic/google-play-instant/getting-started/instant-enabled-app-bundle" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/google-play-instant/getting-started/instant-enabled-app-bundle" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/google-play-instant/getting-started/instant-enabled-app-bundle" ><span class="devsite-nav-text" tooltip>Create an instant-enabled app bundle</span></a></li><li class="devsite-nav-item"><a href="/topic/google-play-instant/best-practices/apps" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/google-play-instant/best-practices/apps" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/google-play-instant/best-practices/apps" ><span class="devsite-nav-text" tooltip>UX best practices for apps</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Get started with instant games</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/topic/google-play-instant/getting-started/game-instant-app" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/google-play-instant/getting-started/game-instant-app" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/google-play-instant/getting-started/game-instant-app" ><span class="devsite-nav-text" tooltip>About instant games</span></a></li><li class="devsite-nav-item"><a href="/topic/google-play-instant/getting-started/game-unity-plugin" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/google-play-instant/getting-started/game-unity-plugin" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/google-play-instant/getting-started/game-unity-plugin" ><span class="devsite-nav-text" tooltip>Unity plugin</span></a></li><li class="devsite-nav-item"><a href="/topic/google-play-instant/best-practices/games" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/google-play-instant/best-practices/games" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/google-play-instant/best-practices/games" ><span class="devsite-nav-text" tooltip>UX best practices for games</span></a></li><li class="devsite-nav-item"><a href="/topic/google-play-instant/feature-module-migration" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/google-play-instant/feature-module-migration" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/google-play-instant/feature-module-migration" ><span class="devsite-nav-text" tooltip>Migrate to Android App Bundles</span></a></li><li class="devsite-nav-item"><a href="/topic/google-play-instant/getting-started/cloud-delivery-assets" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/google-play-instant/getting-started/cloud-delivery-assets" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/google-play-instant/getting-started/cloud-delivery-assets" ><span class="devsite-nav-text" tooltip>Implement cloud delivery of assets</span></a></li><li class="devsite-nav-item"><a href="/topic/google-play-instant/getting-started/support-play-games-services" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/google-play-instant/getting-started/support-play-games-services" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/google-play-instant/getting-started/support-play-games-services" ><span class="devsite-nav-text" tooltip>Support Google Play Games Services</span></a></li><li class="devsite-nav-item"><a href="/topic/google-play-instant/instant-play-games" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/google-play-instant/instant-play-games" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/google-play-instant/instant-play-games" ><span class="devsite-nav-text" tooltip>Instant Play games</span></a></li><li class="devsite-nav-item"><a href="/topic/google-play-instant/instant-play-games-checklist" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/google-play-instant/instant-play-games-checklist" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/google-play-instant/instant-play-games-checklist" ><span class="devsite-nav-text" tooltip>Instant Play games checklist</span></a></li></ul></div></li><li class="devsite-nav-item"><a href="/topic/google-play-instant/guides/reduce-module-size" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/google-play-instant/guides/reduce-module-size" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/google-play-instant/guides/reduce-module-size" ><span class="devsite-nav-text" tooltip>Reduce the size of your instant app or game</span></a></li><li class="devsite-nav-item"><a href="/topic/google-play-instant/guides/advertising" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/google-play-instant/guides/advertising" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/google-play-instant/guides/advertising" ><span class="devsite-nav-text" tooltip>Add ads to your instant app or game</span></a></li><li class="devsite-nav-item"><a href="/topic/google-play-instant/guides/multiple-entry-points" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/google-play-instant/guides/multiple-entry-points" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/google-play-instant/guides/multiple-entry-points" ><span class="devsite-nav-text" tooltip>Provide multiple entry points</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Integrate with Firebase</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/topic/google-play-instant/guides/analytics" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/google-play-instant/guides/analytics" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/google-play-instant/guides/analytics" ><span class="devsite-nav-text" tooltip>Add Google Analytics for Firebase to your instant app</span></a></li><li class="devsite-nav-item"><a href="/topic/google-play-instant/guides/dynamic-links" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/google-play-instant/guides/dynamic-links" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/google-play-instant/guides/dynamic-links" ><span class="devsite-nav-text" tooltip>Use Firebase Dynamic Links with instant apps</span></a></li></ul></div></li><li class="devsite-nav-item"><a href="/topic/google-play-instant/tech-requirements" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/google-play-instant/tech-requirements" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/google-play-instant/tech-requirements" ><span class="devsite-nav-text" tooltip>Technical requirements checklist</span></a></li><li class="devsite-nav-item devsite-nav-external"><a href="https://play.google.com/about/other-programs/android-instant-apps/" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: https://play.google.com/about/other-programs/android-instant-apps/" track-type="bookNav" track-name="click" track-metadata-eventdetail="https://play.google.com/about/other-programs/android-instant-apps/" ><span class="devsite-nav-text" tooltip>Google Play Instant policy</span><span class="devsite-nav-icon material-icons" data-icon="external" data-title="External" aria-hidden="true"></span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Resources</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item devsite-nav-external"><a href="https://developers.google.com/android/reference/com/google/android/gms/instantapps/package-summary" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: https://developers.google.com/android/reference/com/google/android/gms/instantapps/package-summary" track-type="bookNav" track-name="click" track-metadata-eventdetail="https://developers.google.com/android/reference/com/google/android/gms/instantapps/package-summary" ><span class="devsite-nav-text" tooltip>Reference</span><span class="devsite-nav-icon material-icons" data-icon="external" data-title="External" aria-hidden="true"></span></a></li><li class="devsite-nav-item"><a href="/topic/google-play-instant/samples" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/google-play-instant/samples" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/google-play-instant/samples" ><span class="devsite-nav-text" tooltip>Code samples</span></a></li><li class="devsite-nav-item"><a href="/topic/google-play-instant/release-notes" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/google-play-instant/release-notes" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/google-play-instant/release-notes" ><span class="devsite-nav-text" tooltip>SDK release notes</span></a></li><li class="devsite-nav-item"><a href="/topic/google-play-instant/instant-app-intents" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/google-play-instant/instant-app-intents" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/google-play-instant/instant-app-intents" ><span class="devsite-nav-text" tooltip>Instant App Intents</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Support</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item devsite-nav-external"><a href="https://issuetracker.google.com/issues?q=status:open%20componentid:316045" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: https://issuetracker.google.com/issues?q=status:open%20componentid:316045" track-type="bookNav" track-name="click" track-metadata-eventdetail="https://issuetracker.google.com/issues?q=status:open%20componentid:316045" ><span class="devsite-nav-text" tooltip>Known issues</span><span class="devsite-nav-icon material-icons" data-icon="external" data-title="External" aria-hidden="true"></span></a></li><li class="devsite-nav-item devsite-nav-external"><a href="https://stackoverflow.com/questions/tagged/android-instant-apps" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: https://stackoverflow.com/questions/tagged/android-instant-apps" track-type="bookNav" track-name="click" track-metadata-eventdetail="https://stackoverflow.com/questions/tagged/android-instant-apps" ><span class="devsite-nav-text" tooltip>StackOverflow</span><span class="devsite-nav-icon material-icons" data-icon="external" data-title="External" aria-hidden="true"></span></a></li></ul></div></li></ul></div></li><li class="devsite-nav-item"><a href="/google/play/developer-api" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /google/play/developer-api" track-type="bookNav" track-name="click" track-metadata-eventdetail="/google/play/developer-api" ><span class="devsite-nav-text" tooltip>Play Developer APIs</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Play Install Referrer</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/google/play/installreferrer" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /google/play/installreferrer" track-type="bookNav" track-name="click" track-metadata-eventdetail="/google/play/installreferrer" ><span class="devsite-nav-text" tooltip>Overview</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Play Install Referrer Library</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/google/play/installreferrer/library" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /google/play/installreferrer/library" track-type="bookNav" track-name="click" track-metadata-eventdetail="/google/play/installreferrer/library" ><span class="devsite-nav-text" tooltip>Overview</span></a></li><li class="devsite-nav-item"><a href="/reference/com/android/installreferrer/packages" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /reference/com/android/installreferrer/packages" track-type="bookNav" track-name="click" track-metadata-eventdetail="/reference/com/android/installreferrer/packages" ><span class="devsite-nav-text" tooltip>Reference ⍈</span></a></li><li class="devsite-nav-item"><a href="/google/play/installreferrer/release-notes" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /google/play/installreferrer/release-notes" track-type="bookNav" track-name="click" track-metadata-eventdetail="/google/play/installreferrer/release-notes" ><span class="devsite-nav-text" tooltip>Release notes</span></a></li></ul></div></li><li class="devsite-nav-item"><a href="/google/play/installreferrer/igetinstallreferrerservice" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /google/play/installreferrer/igetinstallreferrerservice" track-type="bookNav" track-name="click" track-metadata-eventdetail="/google/play/installreferrer/igetinstallreferrerservice" ><span class="devsite-nav-text" tooltip>Play Install Referrer API</span></a></li></ul></div></li><li class="devsite-nav-item"><a href="/google/play/integrity" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /google/play/integrity" track-type="bookNav" track-name="click" track-metadata-eventdetail="/google/play/integrity" ><span class="devsite-nav-text" tooltip>Play Integrity API ⍈</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Play Requirements</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/distribute/play-policies" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /distribute/play-policies" track-type="bookNav" track-name="click" track-metadata-eventdetail="/distribute/play-policies" ><span class="devsite-nav-text" tooltip>Play Policies ⍈</span></a></li><li class="devsite-nav-item"><a href="/google/play/requirements/target-sdk" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /google/play/requirements/target-sdk" track-type="bookNav" track-name="click" track-metadata-eventdetail="/google/play/requirements/target-sdk" ><span class="devsite-nav-text" tooltip>Meet the target API level requirement</span></a></li><li class="devsite-nav-item"><a href="/google/play/requirements/64-bit" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /google/play/requirements/64-bit" track-type="bookNav" track-name="click" track-metadata-eventdetail="/google/play/requirements/64-bit" ><span class="devsite-nav-text" tooltip>Support 64-bit architectures ⍈</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Application Licensing</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/google/play/licensing" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /google/play/licensing" track-type="bookNav" track-name="click" track-metadata-eventdetail="/google/play/licensing" ><span class="devsite-nav-text" tooltip>Overview</span></a></li><li class="devsite-nav-item"><a href="/google/play/licensing/overview" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /google/play/licensing/overview" track-type="bookNav" track-name="click" track-metadata-eventdetail="/google/play/licensing/overview" ><span class="devsite-nav-text" tooltip>Licensing Overview</span></a></li><li class="devsite-nav-item"><a href="/google/play/licensing/setting-up" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /google/play/licensing/setting-up" track-type="bookNav" track-name="click" track-metadata-eventdetail="/google/play/licensing/setting-up" ><span class="devsite-nav-text" tooltip>Setting Up for Licensing</span></a></li><li class="devsite-nav-item"><a href="/google/play/licensing/server-side-verification" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /google/play/licensing/server-side-verification" track-type="bookNav" track-name="click" track-metadata-eventdetail="/google/play/licensing/server-side-verification" ><span class="devsite-nav-text" tooltip>Adding Server-Side Verification</span></a></li><li class="devsite-nav-item"><a href="/google/play/licensing/client-side-verification" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /google/play/licensing/client-side-verification" track-type="bookNav" track-name="click" track-metadata-eventdetail="/google/play/licensing/client-side-verification" ><span class="devsite-nav-text" tooltip>Adding Client-Side Verification</span></a></li><li class="devsite-nav-item"><a href="/google/play/licensing/licensing-reference" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /google/play/licensing/licensing-reference" track-type="bookNav" track-name="click" track-metadata-eventdetail="/google/play/licensing/licensing-reference" ><span class="devsite-nav-text" tooltip>Licensing Reference</span></a></li></ul></div></li><li class="devsite-nav-item"><a href="/google/play/expansion-files" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /google/play/expansion-files" track-type="bookNav" track-name="click" track-metadata-eventdetail="/google/play/expansion-files" ><span class="devsite-nav-text" tooltip>APK Expansion Files</span></a></li><li class="devsite-nav-item"><a href="/google/play/app-updates" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /google/play/app-updates" track-type="bookNav" track-name="click" track-metadata-eventdetail="/google/play/app-updates" ><span class="devsite-nav-text" tooltip>App updates</span></a></li><li class="devsite-nav-item"><a href="/google/play/release-audience-restriction" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /google/play/release-audience-restriction" track-type="bookNav" track-name="click" track-metadata-eventdetail="/google/play/release-audience-restriction" ><span class="devsite-nav-text" tooltip>Release audience restriction</span></a></li></ul></div></li> <li class="devsite-nav-item devsite-nav-expandable devsite-nav-accordion"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Core areas</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/develop/ui" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /develop/ui" track-type="bookNav" track-name="click" track-metadata-eventdetail="/develop/ui" ><span class="devsite-nav-text" tooltip>User interfaces ⍈</span></a></li><li class="devsite-nav-item"><a href="/media/audio-and-video" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /media/audio-and-video" track-type="bookNav" track-name="click" track-metadata-eventdetail="/media/audio-and-video" ><span class="devsite-nav-text" tooltip>Audio & video ⍈</span></a></li><li class="devsite-nav-item"><a href="/develop/background-work/services" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /develop/background-work/services" track-type="bookNav" track-name="click" track-metadata-eventdetail="/develop/background-work/services" ><span class="devsite-nav-text" tooltip>Services ⍈</span></a></li><li class="devsite-nav-item"><a href="/develop/background-work/background-tasks" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /develop/background-work/background-tasks" track-type="bookNav" track-name="click" track-metadata-eventdetail="/develop/background-work/background-tasks" ><span class="devsite-nav-text" tooltip>Background tasks ⍈</span></a></li><li class="devsite-nav-item"><a href="/develop/background-work/services/alarms" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /develop/background-work/services/alarms" track-type="bookNav" track-name="click" track-metadata-eventdetail="/develop/background-work/services/alarms" ><span class="devsite-nav-text" tooltip>Alarms ⍈</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Permissions</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/guide/topics/permissions/overview" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/permissions/overview" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/permissions/overview" ><span class="devsite-nav-text" tooltip>About permissions</span></a></li><li class="devsite-nav-item"><a href="/training/permissions/declaring" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/permissions/declaring" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/permissions/declaring" ><span class="devsite-nav-text" tooltip>Declare app permissions</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Request app permissions</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/training/permissions/requesting" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/permissions/requesting" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/permissions/requesting" ><span class="devsite-nav-text" tooltip>Request runtime permissions</span></a></li><li class="devsite-nav-item"><a href="/training/permissions/requesting-special" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/permissions/requesting-special" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/permissions/requesting-special" ><span class="devsite-nav-text" tooltip>Request special permissions</span></a></li></ul></div></li><li class="devsite-nav-item"><a href="/training/permissions/explaining-access" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/permissions/explaining-access" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/permissions/explaining-access" ><span class="devsite-nav-text" tooltip>Explain access to more sensitive information</span></a></li><li class="devsite-nav-item"><a href="/training/permissions/usage-notes" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/permissions/usage-notes" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/permissions/usage-notes" ><span class="devsite-nav-text" tooltip>App permissions best practices</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/permissions/default-handlers" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/permissions/default-handlers" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/permissions/default-handlers" ><span class="devsite-nav-text" tooltip>Permissions used only in default handlers</span></a></li><li class="devsite-nav-item"><a href="/training/permissions/restrict-interactions" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/permissions/restrict-interactions" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/permissions/restrict-interactions" ><span class="devsite-nav-text" tooltip>Restrict interactions with other apps</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/permissions/defining" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/permissions/defining" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/permissions/defining" ><span class="devsite-nav-text" tooltip>Define custom permissions</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>App data and files</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/guide/topics/data" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/data" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/data" ><span class="devsite-nav-text" tooltip>About app data and files</span></a></li><li class="devsite-nav-item"><a href="/training/data-storage" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/data-storage" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/data-storage" ><span class="devsite-nav-text" tooltip>About storage</span></a></li><li class="devsite-nav-item"><a href="/training/data-storage/app-specific" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/data-storage/app-specific" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/data-storage/app-specific" ><span class="devsite-nav-text" tooltip>Save to app-specific storage</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Save to shared storage</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/training/data-storage/shared" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/data-storage/shared" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/data-storage/shared" ><span class="devsite-nav-text" tooltip>About shared storage</span></a></li><li class="devsite-nav-item"><a href="/training/data-storage/shared/media" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/data-storage/shared/media" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/data-storage/shared/media" ><span class="devsite-nav-text" tooltip>Media</span></a></li><li class="devsite-nav-item"><a href="/training/data-storage/shared/photopicker" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/data-storage/shared/photopicker" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/data-storage/shared/photopicker" ><span class="devsite-nav-text" tooltip>Photo picker</span></a></li><li class="devsite-nav-item"><a href="/training/data-storage/shared/documents-files" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/data-storage/shared/documents-files" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/data-storage/shared/documents-files" ><span class="devsite-nav-text" tooltip>Documents and other files</span></a></li><li class="devsite-nav-item"><a href="/training/data-storage/shared/datasets" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/data-storage/shared/datasets" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/data-storage/shared/datasets" ><span class="devsite-nav-text" tooltip>Datasets</span></a></li></ul></div></li><li class="devsite-nav-item"><a href="/training/data-storage/manage-all-files" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/data-storage/manage-all-files" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/data-storage/manage-all-files" ><span class="devsite-nav-text" tooltip>Manage all files on a storage device</span></a></li><li class="devsite-nav-item"><a href="/training/data-storage/shared-preferences" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/data-storage/shared-preferences" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/data-storage/shared-preferences" ><span class="devsite-nav-text" tooltip>Save key-value data</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Save data in a local database</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/training/data-storage/room" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/data-storage/room" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/data-storage/room" ><span class="devsite-nav-text" tooltip>About the local database</span></a></li><li class="devsite-nav-item"><a href="/training/data-storage/room/defining-data" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/data-storage/room/defining-data" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/data-storage/room/defining-data" ><span class="devsite-nav-text" tooltip>Define data using entities</span></a></li><li class="devsite-nav-item"><a href="/training/data-storage/room/accessing-data" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/data-storage/room/accessing-data" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/data-storage/room/accessing-data" ><span class="devsite-nav-text" tooltip>Access data using DAOs</span></a></li><li class="devsite-nav-item"><a href="/training/data-storage/room/relationships" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/data-storage/room/relationships" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/data-storage/room/relationships" ><span class="devsite-nav-text" tooltip>Define relationships between objects</span></a></li><li class="devsite-nav-item"><a href="/training/data-storage/room/async-queries" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/data-storage/room/async-queries" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/data-storage/room/async-queries" ><span class="devsite-nav-text" tooltip>Write asynchronous DAO queries</span></a></li><li class="devsite-nav-item"><a href="/training/data-storage/room/creating-views" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/data-storage/room/creating-views" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/data-storage/room/creating-views" ><span class="devsite-nav-text" tooltip>Create views into a database</span></a></li><li class="devsite-nav-item"><a href="/training/data-storage/room/prepopulate" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/data-storage/room/prepopulate" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/data-storage/room/prepopulate" ><span class="devsite-nav-text" tooltip>Prepopulate your database</span></a></li><li class="devsite-nav-item"><a href="/training/data-storage/room/migrating-db-versions" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/data-storage/room/migrating-db-versions" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/data-storage/room/migrating-db-versions" ><span class="devsite-nav-text" tooltip>Migrate your database</span></a></li><li class="devsite-nav-item"><a href="/training/data-storage/room/testing-db" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/data-storage/room/testing-db" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/data-storage/room/testing-db" ><span class="devsite-nav-text" tooltip>Test and debug your database</span></a></li><li class="devsite-nav-item"><a href="/training/data-storage/room/referencing-data" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/data-storage/room/referencing-data" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/data-storage/room/referencing-data" ><span class="devsite-nav-text" tooltip>Reference complex data</span></a></li><li class="devsite-nav-item"><a href="/training/data-storage/room/sqlite-room-migration" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/data-storage/room/sqlite-room-migration" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/data-storage/room/sqlite-room-migration" ><span class="devsite-nav-text" tooltip>Migrate from SQLite to Room</span></a></li><li class="devsite-nav-item"><a href="/training/data-storage/room/room-kmp-migration" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/data-storage/room/room-kmp-migration" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/data-storage/room/room-kmp-migration" ><span class="devsite-nav-text" tooltip>Migrate to Room Kotlin Multiplatform</span></a></li><li class="devsite-nav-item"><a href="/training/data-storage/sqlite" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/data-storage/sqlite" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/data-storage/sqlite" ><span class="devsite-nav-text" tooltip>Save data using SQLite</span></a></li></ul></div></li><li class="devsite-nav-item"><a href="/training/data-storage/use-cases" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/data-storage/use-cases" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/data-storage/use-cases" ><span class="devsite-nav-text" tooltip>Storage use cases and best practices</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Sharing data</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/training/sharing" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/sharing" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/sharing" ><span class="devsite-nav-text" tooltip>About sharing data</span></a></li><li class="devsite-nav-item"><a href="/training/sharing/send" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/sharing/send" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/sharing/send" ><span class="devsite-nav-text" tooltip>Sending simple data to other apps</span></a></li><li class="devsite-nav-item"><a href="/training/sharing/receive" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/sharing/receive" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/sharing/receive" ><span class="devsite-nav-text" tooltip>Receiving simple data from other apps</span></a></li><li class="devsite-nav-item"><a href="/training/sharing/direct-share-targets" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/sharing/direct-share-targets" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/sharing/direct-share-targets" ><span class="devsite-nav-text" tooltip>Provide Direct Share targets</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Sharing files</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/training/secure-file-sharing" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/secure-file-sharing" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/secure-file-sharing" ><span class="devsite-nav-text" tooltip>About sharing files</span></a></li><li class="devsite-nav-item"><a href="/training/secure-file-sharing/setup-sharing" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/secure-file-sharing/setup-sharing" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/secure-file-sharing/setup-sharing" ><span class="devsite-nav-text" tooltip>Setting up file sharing</span></a></li><li class="devsite-nav-item"><a href="/training/secure-file-sharing/share-file" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/secure-file-sharing/share-file" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/secure-file-sharing/share-file" ><span class="devsite-nav-text" tooltip>Sharing a file</span></a></li><li class="devsite-nav-item"><a href="/training/secure-file-sharing/request-file" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/secure-file-sharing/request-file" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/secure-file-sharing/request-file" ><span class="devsite-nav-text" tooltip>Requesting a shared file</span></a></li><li class="devsite-nav-item"><a href="/training/secure-file-sharing/retrieve-info" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/secure-file-sharing/retrieve-info" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/secure-file-sharing/retrieve-info" ><span class="devsite-nav-text" tooltip>Retrieving file information</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Printing files</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/training/printing" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/printing" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/printing" ><span class="devsite-nav-text" tooltip>About printing</span></a></li><li class="devsite-nav-item"><a href="/training/printing/photos" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/printing/photos" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/printing/photos" ><span class="devsite-nav-text" tooltip>Printing photos</span></a></li><li class="devsite-nav-item"><a href="/training/printing/html-docs" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/printing/html-docs" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/printing/html-docs" ><span class="devsite-nav-text" tooltip>Printing HTML documents</span></a></li><li class="devsite-nav-item"><a href="/training/printing/custom-docs" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/printing/custom-docs" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/printing/custom-docs" ><span class="devsite-nav-text" tooltip>Printing custom documents</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Content providers</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/guide/topics/providers/content-providers" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/providers/content-providers" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/providers/content-providers" ><span class="devsite-nav-text" tooltip>About content providers</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/providers/content-provider-basics" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/providers/content-provider-basics" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/providers/content-provider-basics" ><span class="devsite-nav-text" tooltip>Content provider basics</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/providers/content-provider-creating" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/providers/content-provider-creating" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/providers/content-provider-creating" ><span class="devsite-nav-text" tooltip>Creating a content provider</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/providers/document-provider" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/providers/document-provider" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/providers/document-provider" ><span class="devsite-nav-text" tooltip>Open files using storage access framework</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/providers/create-document-provider" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/providers/create-document-provider" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/providers/create-document-provider" ><span class="devsite-nav-text" tooltip>Create a custom document provider</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/providers/cloud-media-provider" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/providers/cloud-media-provider" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/providers/cloud-media-provider" ><span class="devsite-nav-text" tooltip>Create a cloud media provider</span></a></li></ul></div></li><li class="devsite-nav-item"><a href="/guide/topics/data/install-location" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/data/install-location" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/data/install-location" ><span class="devsite-nav-text" tooltip>App install location</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>User data and identity</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/guide/user-data" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/user-data" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/user-data" ><span class="devsite-nav-text" tooltip>About user data</span></a></li><li class="devsite-nav-item"><a href="/training/sign-in" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/sign-in" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/sign-in" ><span class="devsite-nav-text" tooltip>Add sign-in workflow</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Credential Manager</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/training/sign-in/passkeys" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/sign-in/passkeys" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/sign-in/passkeys" ><span class="devsite-nav-text" tooltip>Sign in your user</span></a></li><li class="devsite-nav-item"><a href="/training/sign-in/credential-manager" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/sign-in/credential-manager" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/sign-in/credential-manager" ><span class="devsite-nav-text" tooltip>Integrate with Sign in with Google</span></a></li><li class="devsite-nav-item"><a href="/training/sign-in/fido2-migration" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/sign-in/fido2-migration" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/sign-in/fido2-migration" ><span class="devsite-nav-text" tooltip>Migrate from FIDO2</span></a></li><li class="devsite-nav-item"><a href="/training/sign-in/smart-lock-migration" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/sign-in/smart-lock-migration" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/sign-in/smart-lock-migration" ><span class="devsite-nav-text" tooltip>Migrate from Smart Lock</span></a></li><li class="devsite-nav-item"><a href="/training/sign-in/legacy-gsi-migration" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/sign-in/legacy-gsi-migration" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/sign-in/legacy-gsi-migration" ><span class="devsite-nav-text" tooltip>Migrate from legacy Google Sign-In</span></a></li><li class="devsite-nav-item"><a href="/training/sign-in/credential-manager-webview" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/sign-in/credential-manager-webview" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/sign-in/credential-manager-webview" ><span class="devsite-nav-text" tooltip>Integrate with WebView</span></a></li><li class="devsite-nav-item"><a href="/training/sign-in/credential-provider" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/sign-in/credential-provider" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/sign-in/credential-provider" ><span class="devsite-nav-text" tooltip>Integrate with your credential provider solution</span></a></li><li class="devsite-nav-item"><a href="/training/sign-in/privileged-apps" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/sign-in/privileged-apps" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/sign-in/privileged-apps" ><span class="devsite-nav-text" tooltip>Make calls on behalf of other parties for privileged apps</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Autofill framework</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/guide/topics/text/autofill" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/text/autofill" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/text/autofill" ><span class="devsite-nav-text" tooltip>About autofill</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/text/autofill-optimize" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/text/autofill-optimize" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/text/autofill-optimize" ><span class="devsite-nav-text" tooltip>Optimize your app for autofill</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/text/autofill-services" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/text/autofill-services" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/text/autofill-services" ><span class="devsite-nav-text" tooltip>Build autofill services</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/text/ime-autofill" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/text/ime-autofill" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/text/ime-autofill" ><span class="devsite-nav-text" tooltip>Integrate autofill with keyboards</span></a></li></ul></div></li><li class="devsite-nav-item"><a href="/training/sign-in/biometric-auth" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/sign-in/biometric-auth" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/sign-in/biometric-auth" ><span class="devsite-nav-text" tooltip>Show a biometric authentication dialog</span></a></li><li class="devsite-nav-item"><a href="/training/articles/app-set-id" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/articles/app-set-id" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/articles/app-set-id" ><span class="devsite-nav-text" tooltip>Identify developer-owned apps</span></a></li><li class="devsite-nav-item"><a href="/training/articles/ad-id" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/articles/ad-id" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/articles/ad-id" ><span class="devsite-nav-text" tooltip>Get a user-resettable advertising ID</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/providers/calendar-provider" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/providers/calendar-provider" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/providers/calendar-provider" ><span class="devsite-nav-text" tooltip>About the calendar provider</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Contacts provider</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/guide/topics/providers/contacts-provider" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/providers/contacts-provider" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/providers/contacts-provider" ><span class="devsite-nav-text" tooltip>About the contacts provider</span></a></li><li class="devsite-nav-item"><a href="/training/contacts-provider/retrieve-names" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/contacts-provider/retrieve-names" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/contacts-provider/retrieve-names" ><span class="devsite-nav-text" tooltip>Retrieving a list of contacts</span></a></li><li class="devsite-nav-item"><a href="/training/contacts-provider/retrieve-details" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/contacts-provider/retrieve-details" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/contacts-provider/retrieve-details" ><span class="devsite-nav-text" tooltip>Retrieving details for a contact</span></a></li><li class="devsite-nav-item"><a href="/training/contacts-provider/modify-data" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/contacts-provider/modify-data" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/contacts-provider/modify-data" ><span class="devsite-nav-text" tooltip>Modifying contacts using intents</span></a></li><li class="devsite-nav-item"><a href="/training/contacts-provider/display-contact-badge" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/contacts-provider/display-contact-badge" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/contacts-provider/display-contact-badge" ><span class="devsite-nav-text" tooltip>Displaying the quick contact badge</span></a></li></ul></div></li><li class="devsite-nav-item"><a href="/guide/topics/data/account-transfer" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/data/account-transfer" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/data/account-transfer" ><span class="devsite-nav-text" tooltip>Account transfer</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Data backup</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/guide/topics/data/backup" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/data/backup" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/data/backup" ><span class="devsite-nav-text" tooltip>About backup</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/data/autobackup" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/data/autobackup" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/data/autobackup" ><span class="devsite-nav-text" tooltip>Back up user data</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/data/keyvaluebackup" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/data/keyvaluebackup" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/data/keyvaluebackup" ><span class="devsite-nav-text" tooltip>Back up key-value pairs</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/data/testingbackup" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/data/testingbackup" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/data/testingbackup" ><span class="devsite-nav-text" tooltip>Test backup and restore</span></a></li></ul></div></li><li class="devsite-nav-item"><a href="/training/articles/user-data-ids" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/articles/user-data-ids" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/articles/user-data-ids" ><span class="devsite-nav-text" tooltip>Best practices for unique identifiers</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Remember and authenticate users</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/training/id-auth" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/id-auth" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/id-auth" ><span class="devsite-nav-text" tooltip>About authentication</span></a></li><li class="devsite-nav-item"><a href="/training/id-auth/identify" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/id-auth/identify" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/id-auth/identify" ><span class="devsite-nav-text" tooltip>Remember your user</span></a></li><li class="devsite-nav-item"><a href="/training/id-auth/authenticate" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/id-auth/authenticate" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/id-auth/authenticate" ><span class="devsite-nav-text" tooltip>Authenticate to OAuth2 services</span></a></li><li class="devsite-nav-item"><a href="/training/id-auth/custom_auth" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/id-auth/custom_auth" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/id-auth/custom_auth" ><span class="devsite-nav-text" tooltip>Create a custom account type</span></a></li></ul></div></li></ul></div></li><li class="devsite-nav-item"><a href="/media/camera/get-started-with-camera" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /media/camera/get-started-with-camera" track-type="bookNav" track-name="click" track-metadata-eventdetail="/media/camera/get-started-with-camera" ><span class="devsite-nav-text" tooltip>Add camera capabilities to your app ⍈</span></a></li><li class="devsite-nav-item"><a href="/develop/sensors-and-location/location" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /develop/sensors-and-location/location" track-type="bookNav" track-name="click" track-metadata-eventdetail="/develop/sensors-and-location/location" ><span class="devsite-nav-text" tooltip>User location ⍈</span></a></li><li class="devsite-nav-item"><a href="/develop/sensors-and-location/sensors/sensors_overview" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /develop/sensors-and-location/sensors/sensors_overview" track-type="bookNav" track-name="click" track-metadata-eventdetail="/develop/sensors-and-location/sensors/sensors_overview" ><span class="devsite-nav-text" tooltip>Sensors ⍈</span></a></li><li class="devsite-nav-item"><a href="/develop/connectivity" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /develop/connectivity" track-type="bookNav" track-name="click" track-metadata-eventdetail="/develop/connectivity" ><span class="devsite-nav-text" tooltip>Connectivity ⍈</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Renderscript</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/guide/topics/renderscript/compute" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/renderscript/compute" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/renderscript/compute" ><span class="devsite-nav-text" tooltip>About Renderscript</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/renderscript/advanced" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/renderscript/advanced" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/renderscript/advanced" ><span class="devsite-nav-text" tooltip>Advanced RenderScript</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Migrate from RenderScript</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/guide/topics/renderscript/migrate" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/renderscript/migrate" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/renderscript/migrate" ><span class="devsite-nav-text" tooltip>Overview</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/renderscript/migrate/migrate-gles" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/renderscript/migrate/migrate-gles" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/renderscript/migrate/migrate-gles" ><span class="devsite-nav-text" tooltip>Migrate scripts to OpenGL ES 3.1</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/renderscript/migrate/migrate-vulkan" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/renderscript/migrate/migrate-vulkan" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/renderscript/migrate/migrate-vulkan" ><span class="devsite-nav-text" tooltip>Migrate scripts to Vulkan</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Runtime API reference</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/guide/topics/renderscript/reference/overview" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/renderscript/reference/overview" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/renderscript/reference/overview" ><span class="devsite-nav-text" tooltip>About Runtime API</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/renderscript/reference/rs_value_types" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/renderscript/reference/rs_value_types" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/renderscript/reference/rs_value_types" ><span class="devsite-nav-text" tooltip>Numerical types</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/renderscript/reference/rs_object_types" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/renderscript/reference/rs_object_types" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/renderscript/reference/rs_object_types" ><span class="devsite-nav-text" tooltip>Object types</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/renderscript/reference/rs_convert" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/renderscript/reference/rs_convert" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/renderscript/reference/rs_convert" ><span class="devsite-nav-text" tooltip>Conversion functions</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/renderscript/reference/rs_math" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/renderscript/reference/rs_math" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/renderscript/reference/rs_math" ><span class="devsite-nav-text" tooltip>Mathematical constants and functions</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/renderscript/reference/rs_vector_math" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/renderscript/reference/rs_vector_math" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/renderscript/reference/rs_vector_math" ><span class="devsite-nav-text" tooltip>Vector math functions</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/renderscript/reference/rs_matrix" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/renderscript/reference/rs_matrix" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/renderscript/reference/rs_matrix" ><span class="devsite-nav-text" tooltip>Matrix functions</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/renderscript/reference/rs_quaternion" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/renderscript/reference/rs_quaternion" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/renderscript/reference/rs_quaternion" ><span class="devsite-nav-text" tooltip>Quaternion functions</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/renderscript/reference/rs_atomic" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/renderscript/reference/rs_atomic" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/renderscript/reference/rs_atomic" ><span class="devsite-nav-text" tooltip>Atomic update functions</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/renderscript/reference/rs_time" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/renderscript/reference/rs_time" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/renderscript/reference/rs_time" ><span class="devsite-nav-text" tooltip>Time functions and types</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/renderscript/reference/rs_allocation_data" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/renderscript/reference/rs_allocation_data" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/renderscript/reference/rs_allocation_data" ><span class="devsite-nav-text" tooltip>Allocation data access functions</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/renderscript/reference/rs_object_info" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/renderscript/reference/rs_object_info" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/renderscript/reference/rs_object_info" ><span class="devsite-nav-text" tooltip>Object characteristics functions</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/renderscript/reference/rs_for_each" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/renderscript/reference/rs_for_each" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/renderscript/reference/rs_for_each" ><span class="devsite-nav-text" tooltip>Kernel invocation functions and types</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/renderscript/reference/rs_io" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/renderscript/reference/rs_io" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/renderscript/reference/rs_io" ><span class="devsite-nav-text" tooltip>Input/output functions</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/renderscript/reference/rs_debug" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/renderscript/reference/rs_debug" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/renderscript/reference/rs_debug" ><span class="devsite-nav-text" tooltip>Debugging functions</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/renderscript/reference/rs_graphics" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/renderscript/reference/rs_graphics" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/renderscript/reference/rs_graphics" ><span class="devsite-nav-text" tooltip>Graphics functions and types</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/renderscript/reference" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/renderscript/reference" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/renderscript/reference" ><span class="devsite-nav-text" tooltip>Index</span></a></li></ul></div></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Android app bundles</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/guide/app-bundle" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/app-bundle" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/app-bundle" ><span class="devsite-nav-text" tooltip>About app bundles</span></a></li><li class="devsite-nav-item"><a href="/guide/app-bundle/configure-base" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/app-bundle/configure-base" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/app-bundle/configure-base" ><span class="devsite-nav-text" tooltip>Configure the base module</span></a></li><li class="devsite-nav-item"><a href="/guide/app-bundle/test" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/app-bundle/test" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/app-bundle/test" ><span class="devsite-nav-text" tooltip>Build and test your app bundle</span></a></li><li class="devsite-nav-item"><a href="/guide/app-bundle/code-transparency" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/app-bundle/code-transparency" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/app-bundle/code-transparency" ><span class="devsite-nav-text" tooltip>Add code transparency</span></a></li><li class="devsite-nav-item"><a href="/guide/app-bundle/app-bundle-format" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/app-bundle/app-bundle-format" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/app-bundle/app-bundle-format" ><span class="devsite-nav-text" tooltip>About the app bundle format</span></a></li><li class="devsite-nav-item"><a href="/guide/app-bundle/faq" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/app-bundle/faq" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/app-bundle/faq" ><span class="devsite-nav-text" tooltip>Frequently asked questions</span></a></li></ul></div></li></ul></div></li> <li class="devsite-nav-item devsite-nav-expandable devsite-nav-accordion"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Build for enterprise</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/work" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /work" track-type="bookNav" track-name="click" track-metadata-eventdetail="/work" ><span class="devsite-nav-text" tooltip>About enterprise apps</span></a></li><li class="devsite-nav-item"><a href="/work/guide" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /work/guide" track-type="bookNav" track-name="click" track-metadata-eventdetail="/work/guide" ><span class="devsite-nav-text" tooltip>Developer guide</span></a></li><li class="devsite-nav-item"><a href="/work/managed-profiles" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /work/managed-profiles" track-type="bookNav" track-name="click" track-metadata-eventdetail="/work/managed-profiles" ><span class="devsite-nav-text" tooltip>Work profiles</span></a></li><li class="devsite-nav-item"><a href="/work/managed-configurations" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /work/managed-configurations" track-type="bookNav" track-name="click" track-metadata-eventdetail="/work/managed-configurations" ><span class="devsite-nav-text" tooltip>Set up managed configurations</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>App feedback</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/work/app-feedback/overview" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /work/app-feedback/overview" track-type="bookNav" track-name="click" track-metadata-eventdetail="/work/app-feedback/overview" ><span class="devsite-nav-text" tooltip>Send app feedback to EMMs</span></a></li><li class="devsite-nav-item"><a href="/work/app-feedback/testing" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /work/app-feedback/testing" track-type="bookNav" track-name="click" track-metadata-eventdetail="/work/app-feedback/testing" ><span class="devsite-nav-text" tooltip>Test app feedback</span></a></li></ul></div></li><li class="devsite-nav-item"><a href="/work/contacts" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /work/contacts" track-type="bookNav" track-name="click" track-metadata-eventdetail="/work/contacts" ><span class="devsite-nav-text" tooltip>Work contacts</span></a></li><li class="devsite-nav-item"><a href="/work/device-management-policy" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /work/device-management-policy" track-type="bookNav" track-name="click" track-metadata-eventdetail="/work/device-management-policy" ><span class="devsite-nav-text" tooltip>Device management policies</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Device management</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/work/dpc/build-dpc" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /work/dpc/build-dpc" track-type="bookNav" track-name="click" track-metadata-eventdetail="/work/dpc/build-dpc" ><span class="devsite-nav-text" tooltip>Build a device policy controller</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Dedicated devices</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/work/dpc/dedicated-devices" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /work/dpc/dedicated-devices" track-type="bookNav" track-name="click" track-metadata-eventdetail="/work/dpc/dedicated-devices" ><span class="devsite-nav-text" tooltip>Overview</span></a></li><li class="devsite-nav-item"><a href="/work/dpc/dedicated-devices/lock-task-mode" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /work/dpc/dedicated-devices/lock-task-mode" track-type="bookNav" track-name="click" track-metadata-eventdetail="/work/dpc/dedicated-devices/lock-task-mode" ><span class="devsite-nav-text" tooltip>Lock task mode</span></a></li><li class="devsite-nav-item"><a href="/work/dpc/dedicated-devices/multiple-users" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /work/dpc/dedicated-devices/multiple-users" track-type="bookNav" track-name="click" track-metadata-eventdetail="/work/dpc/dedicated-devices/multiple-users" ><span class="devsite-nav-text" tooltip>Multiple users</span></a></li><li class="devsite-nav-item"><a href="/work/dpc/dedicated-devices/cookbook" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /work/dpc/dedicated-devices/cookbook" track-type="bookNav" track-name="click" track-metadata-eventdetail="/work/dpc/dedicated-devices/cookbook" ><span class="devsite-nav-text" tooltip>Cookbook</span></a></li></ul></div></li><li class="devsite-nav-item"><a href="/work/dpc/device-management" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /work/dpc/device-management" track-type="bookNav" track-name="click" track-metadata-eventdetail="/work/dpc/device-management" ><span class="devsite-nav-text" tooltip>Device control</span></a></li><li class="devsite-nav-item"><a href="/work/dpc/network-telephony" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /work/dpc/network-telephony" track-type="bookNav" track-name="click" track-metadata-eventdetail="/work/dpc/network-telephony" ><span class="devsite-nav-text" tooltip>Networking and telephony</span></a></li><li class="devsite-nav-item"><a href="/work/dpc/security" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /work/dpc/security" track-type="bookNav" track-name="click" track-metadata-eventdetail="/work/dpc/security" ><span class="devsite-nav-text" tooltip>Security</span></a></li><li class="devsite-nav-item"><a href="/work/dpc/system-updates" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /work/dpc/system-updates" track-type="bookNav" track-name="click" track-metadata-eventdetail="/work/dpc/system-updates" ><span class="devsite-nav-text" tooltip>System updates</span></a></li><li class="devsite-nav-item"><a href="/work/dpc/logging" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /work/dpc/logging" track-type="bookNav" track-name="click" track-metadata-eventdetail="/work/dpc/logging" ><span class="devsite-nav-text" tooltip>Network activity logging</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Android versions</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/work/versions" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /work/versions" track-type="bookNav" track-name="click" track-metadata-eventdetail="/work/versions" ><span class="devsite-nav-text" tooltip>About the versions</span></a></li><li class="devsite-nav-item"><a href="/work/versions/android-15" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /work/versions/android-15" track-type="bookNav" track-name="click" track-metadata-eventdetail="/work/versions/android-15" ><span class="devsite-nav-text" tooltip>Android 15</span></a></li><li class="devsite-nav-item"><a href="/work/versions/android-14" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /work/versions/android-14" track-type="bookNav" track-name="click" track-metadata-eventdetail="/work/versions/android-14" ><span class="devsite-nav-text" tooltip>Android 14</span></a></li><li class="devsite-nav-item"><a href="/work/versions/android-13" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /work/versions/android-13" track-type="bookNav" track-name="click" track-metadata-eventdetail="/work/versions/android-13" ><span class="devsite-nav-text" tooltip>Android 13</span></a></li><li class="devsite-nav-item"><a href="/work/versions/android-12" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /work/versions/android-12" track-type="bookNav" track-name="click" track-metadata-eventdetail="/work/versions/android-12" ><span class="devsite-nav-text" tooltip>Android 12</span></a></li><li class="devsite-nav-item"><a href="/work/versions/android-11" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /work/versions/android-11" track-type="bookNav" track-name="click" track-metadata-eventdetail="/work/versions/android-11" ><span class="devsite-nav-text" tooltip>Android 11</span></a></li><li class="devsite-nav-item"><a href="/work/versions/android-10" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /work/versions/android-10" track-type="bookNav" track-name="click" track-metadata-eventdetail="/work/versions/android-10" ><span class="devsite-nav-text" tooltip>Android 10</span></a></li><li class="devsite-nav-item"><a href="/work/versions/android-9.0" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /work/versions/android-9.0" track-type="bookNav" track-name="click" track-metadata-eventdetail="/work/versions/android-9.0" ><span class="devsite-nav-text" tooltip>Android 9</span></a></li><li class="devsite-nav-item"><a href="/work/versions/android-8.0" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /work/versions/android-8.0" track-type="bookNav" track-name="click" track-metadata-eventdetail="/work/versions/android-8.0" ><span class="devsite-nav-text" tooltip>Android 8.0</span></a></li><li class="devsite-nav-item"><a href="/work/versions/android-7.0" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /work/versions/android-7.0" track-type="bookNav" track-name="click" track-metadata-eventdetail="/work/versions/android-7.0" ><span class="devsite-nav-text" tooltip>Android 7.0</span></a></li></ul></div></li><li class="devsite-nav-item"><a href="/work/device-admin" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /work/device-admin" track-type="bookNav" track-name="click" track-metadata-eventdetail="/work/device-admin" ><span class="devsite-nav-text" tooltip>Device administration</span></a></li></ul></div></li> <li class="devsite-nav-item devsite-nav-expandable devsite-nav-accordion"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Best practices</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Testing</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/training/testing" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/testing" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/testing" ><span class="devsite-nav-text" tooltip>Test apps on Android</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Fundamentals</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/training/testing/fundamentals" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/testing/fundamentals" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/testing/fundamentals" ><span class="devsite-nav-text" tooltip>Fundamentals of testing Android apps</span></a></li><li class="devsite-nav-item"><a href="/training/testing/fundamentals/what-to-test" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/testing/fundamentals/what-to-test" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/testing/fundamentals/what-to-test" ><span class="devsite-nav-text" tooltip>What to test in Android</span></a></li><li class="devsite-nav-item"><a href="/training/testing/fundamentals/test-doubles" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/testing/fundamentals/test-doubles" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/testing/fundamentals/test-doubles" ><span class="devsite-nav-text" tooltip>Using test doubles in Android</span></a></li><li class="devsite-nav-item"><a href="/training/testing/fundamentals/strategies" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/testing/fundamentals/strategies" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/testing/fundamentals/strategies" ><span class="devsite-nav-text" tooltip>Testing strategies</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Local tests</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/training/testing/local-tests" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/testing/local-tests" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/testing/local-tests" ><span class="devsite-nav-text" tooltip>Build local tests</span></a></li><li class="devsite-nav-item"><a href="/training/testing/local-tests/robolectric" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/testing/local-tests/robolectric" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/testing/local-tests/robolectric" ><span class="devsite-nav-text" tooltip>Robolectric</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Instrumented tests</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/training/testing/instrumented-tests" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/testing/instrumented-tests" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/testing/instrumented-tests" ><span class="devsite-nav-text" tooltip>Build instrumented tests</span></a></li><li class="devsite-nav-item"><a href="/training/testing/instrumented-tests/stability" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/testing/instrumented-tests/stability" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/testing/instrumented-tests/stability" ><span class="devsite-nav-text" tooltip>Big test stability</span></a></li><li class="devsite-nav-item"><a href="/training/testing/instrumented-tests/performance" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/testing/instrumented-tests/performance" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/testing/instrumented-tests/performance" ><span class="devsite-nav-text" tooltip>Performance testing</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>AndroidX test libraries</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/training/testing/instrumented-tests/androidx-test-libraries/test-setup" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/testing/instrumented-tests/androidx-test-libraries/test-setup" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/testing/instrumented-tests/androidx-test-libraries/test-setup" ><span class="devsite-nav-text" tooltip>Set up project for AndroidX Test</span></a></li><li class="devsite-nav-item"><a href="/training/testing/instrumented-tests/androidx-test-libraries/rules" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/testing/instrumented-tests/androidx-test-libraries/rules" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/testing/instrumented-tests/androidx-test-libraries/rules" ><span class="devsite-nav-text" tooltip>JUnit4 rules with AndroidX Test</span></a></li><li class="devsite-nav-item"><a href="/training/testing/instrumented-tests/androidx-test-libraries/runner" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/testing/instrumented-tests/androidx-test-libraries/runner" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/testing/instrumented-tests/androidx-test-libraries/runner" ><span class="devsite-nav-text" tooltip>AndroidJUnitRunner</span></a></li></ul></div></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>UI tests</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/training/testing/ui-tests" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/testing/ui-tests" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/testing/ui-tests" ><span class="devsite-nav-text" tooltip>Overview</span></a></li><li class="devsite-nav-item"><a href="/training/testing/ui-tests/behavior" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/testing/ui-tests/behavior" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/testing/ui-tests/behavior" ><span class="devsite-nav-text" tooltip>Behavior UI tests</span></a></li><li class="devsite-nav-item"><a href="/training/testing/ui-tests/screenshot" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/testing/ui-tests/screenshot" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/testing/ui-tests/screenshot" ><span class="devsite-nav-text" tooltip>Screenshot tests</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Continuous integration</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/training/testing/continuous-integration" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/testing/continuous-integration" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/testing/continuous-integration" ><span class="devsite-nav-text" tooltip>Basics</span></a></li><li class="devsite-nav-item"><a href="/training/testing/continuous-integration/automation" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/testing/continuous-integration/automation" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/testing/continuous-integration/automation" ><span class="devsite-nav-text" tooltip>Types of automation</span></a></li><li class="devsite-nav-item"><a href="/training/testing/continuous-integration/features" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/testing/continuous-integration/features" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/testing/continuous-integration/features" ><span class="devsite-nav-text" tooltip>Common features</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Espresso</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/training/testing/espresso" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/testing/espresso" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/testing/espresso" ><span class="devsite-nav-text" tooltip>Espresso</span></a></li><li class="devsite-nav-item"><a href="/training/testing/espresso/basics" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/testing/espresso/basics" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/testing/espresso/basics" ><span class="devsite-nav-text" tooltip>Espresso basics</span></a></li><li class="devsite-nav-item"><a href="/training/testing/espresso/setup" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/testing/espresso/setup" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/testing/espresso/setup" ><span class="devsite-nav-text" tooltip>Espresso setup instructions</span></a></li><li class="devsite-nav-item"><a href="/training/testing/espresso/cheat-sheet" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/testing/espresso/cheat-sheet" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/testing/espresso/cheat-sheet" ><span class="devsite-nav-text" tooltip>Espresso cheat sheet</span></a></li><li class="devsite-nav-item"><a href="/training/testing/espresso/idling-resource" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/testing/espresso/idling-resource" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/testing/espresso/idling-resource" ><span class="devsite-nav-text" tooltip>Espresso idling resources</span></a></li><li class="devsite-nav-item"><a href="/training/testing/espresso/intents" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/testing/espresso/intents" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/testing/espresso/intents" ><span class="devsite-nav-text" tooltip>Espresso-Intents</span></a></li><li class="devsite-nav-item"><a href="/training/testing/espresso/lists" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/testing/espresso/lists" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/testing/espresso/lists" ><span class="devsite-nav-text" tooltip>Espresso lists</span></a></li><li class="devsite-nav-item"><a href="/training/testing/espresso/multiprocess" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/testing/espresso/multiprocess" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/testing/espresso/multiprocess" ><span class="devsite-nav-text" tooltip>Multiprocess Espresso</span></a></li><li class="devsite-nav-item"><a href="/training/testing/espresso/recipes" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/testing/espresso/recipes" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/testing/espresso/recipes" ><span class="devsite-nav-text" tooltip>Espresso recipes</span></a></li><li class="devsite-nav-item"><a href="/training/testing/espresso/web" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/testing/espresso/web" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/testing/espresso/web" ><span class="devsite-nav-text" tooltip>Espresso Web</span></a></li><li class="devsite-nav-item"><a href="/training/testing/espresso/accessibility-checking" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/testing/espresso/accessibility-checking" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/testing/espresso/accessibility-checking" ><span class="devsite-nav-text" tooltip>Accessibility checking</span></a></li><li class="devsite-nav-item"><a href="/training/testing/espresso/additional-resources" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/testing/espresso/additional-resources" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/testing/espresso/additional-resources" ><span class="devsite-nav-text" tooltip>Additional Resources for Espresso</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Testing different screen sizes</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/training/testing/different-screens" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/testing/different-screens" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/testing/different-screens" ><span class="devsite-nav-text" tooltip>Overview</span></a></li><li class="devsite-nav-item"><a href="/training/testing/different-screens/tools" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/testing/different-screens/tools" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/testing/different-screens/tools" ><span class="devsite-nav-text" tooltip>Libraries and tools</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Testing other components</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/training/testing/other-components/content-providers" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/testing/other-components/content-providers" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/testing/other-components/content-providers" ><span class="devsite-nav-text" tooltip>Test content providers</span></a></li><li class="devsite-nav-item"><a href="/training/testing/other-components/services" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/testing/other-components/services" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/testing/other-components/services" ><span class="devsite-nav-text" tooltip>Test your service</span></a></li><li class="devsite-nav-item"><a href="/training/testing/other-components/ui-automator" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /training/testing/other-components/ui-automator" track-type="bookNav" track-name="click" track-metadata-eventdetail="/training/testing/other-components/ui-automator" ><span class="devsite-nav-text" tooltip>Write automated tests with UI Automator</span></a></li></ul></div></li></ul></div></li><li class="devsite-nav-item"><a href="/topic/performance" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /topic/performance" track-type="bookNav" track-name="click" track-metadata-eventdetail="/topic/performance" ><span class="devsite-nav-text" tooltip>Performance ⍈</span></a></li><li class="devsite-nav-item"><a href="/guide/topics/ui/accessibility" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/topics/ui/accessibility" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/topics/ui/accessibility" ><span class="devsite-nav-text" tooltip>Accessibility ⍈</span></a></li><li class="devsite-nav-item"><a href="/privacy-and-security/about" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-and-security/about" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-and-security/about" ><span class="devsite-nav-text" tooltip>Privacy ⍈</span></a></li><li class="devsite-nav-item"><a href="/privacy-and-security/security-tips" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-and-security/security-tips" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-and-security/security-tips" ><span class="devsite-nav-text" tooltip>Security ⍈</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>SDKs</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/guide/practices/sdk-best-practices" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /guide/practices/sdk-best-practices" track-type="bookNav" track-name="click" track-metadata-eventdetail="/guide/practices/sdk-best-practices" ><span class="devsite-nav-text" tooltip>SDK best practices</span></a></li></ul></div></li></ul></div></li> <li class="devsite-nav-item"><a href="/games/guides" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /games/guides" track-type="bookNav" track-name="click" track-metadata-eventdetail="/games/guides" ><span class="devsite-nav-text" tooltip>Games ⍈</span></a></li> <li class="devsite-nav-item"><a href="/health-and-fitness/guides/health-connect" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /health-and-fitness/guides/health-connect" track-type="bookNav" track-name="click" track-metadata-eventdetail="/health-and-fitness/guides/health-connect" ><span class="devsite-nav-text" tooltip>Health Connect ⍈</span></a></li> <li class="devsite-nav-item"><a href="/health-and-fitness/guides/health-services" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /health-and-fitness/guides/health-services" track-type="bookNav" track-name="click" track-metadata-eventdetail="/health-and-fitness/guides/health-services" ><span class="devsite-nav-text" tooltip>Health Services on Wear OS ⍈</span></a></li> </ul> <ul class="devsite-nav-list" menu="Essentials" aria-label="Side menu" hidden> <li class="devsite-nav-item devsite-nav-heading"> <span class="devsite-nav-title" tooltip > <span class="devsite-nav-text" tooltip > Gemini in Android Studio </span> </span> </li> <li class="devsite-nav-item"> <a href="/gemini-in-android" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Learn more" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Learn more </span> </a> </li> <li class="devsite-nav-item"> <a href="/studio" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Get Android Studio" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Get Android Studio </span> </a> </li> <li class="devsite-nav-item devsite-nav-heading"> <span class="devsite-nav-title" tooltip > <span class="devsite-nav-text" tooltip > Get started </span> </span> </li> <li class="devsite-nav-item"> <a href="/get-started/overview" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Hello world" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Hello world </span> </a> </li> <li class="devsite-nav-item"> <a href="/courses" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Training courses" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Training courses </span> </a> </li> <li class="devsite-nav-item"> <a href="/get-started/codelabs" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Tutorials" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Tutorials </span> </a> </li> <li class="devsite-nav-item"> <a href="/kotlin" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Kotlin for Android" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Kotlin for Android </span> </a> </li> <li class="devsite-nav-item"> <a href="https://play.google.com/console/about/guides/monetize/" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Monetization with Play ↗️" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Monetization with Play ↗️ </span> </a> </li> <li class="devsite-nav-item devsite-nav-heading"> <span class="devsite-nav-title" tooltip > <span class="devsite-nav-text" tooltip > Extend by device </span> </span> </li> <li class="devsite-nav-item"> <a href="/adaptive-apps" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Adaptive apps" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Adaptive apps </span> </a> </li> <li class="devsite-nav-item"> <a href="/wear" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Wear OS" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Wear OS </span> </a> </li> <li class="devsite-nav-item"> <a href="/cars" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Android for Cars" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Android for Cars </span> </a> </li> <li class="devsite-nav-item"> <a href="/tv" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Android TV" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Android TV </span> </a> </li> <li class="devsite-nav-item"> <a href="/chrome-os" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: ChromeOS" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > ChromeOS </span> </a> </li> <li class="devsite-nav-item"> <a href="/multi-device-development" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Cross-device SDK" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Cross-device SDK </span> </a> </li> <li class="devsite-nav-item devsite-nav-heading"> <span class="devsite-nav-title" tooltip > <span class="devsite-nav-text" tooltip > Build by category </span> </span> </li> <li class="devsite-nav-item"> <a href="/games" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Games" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Games </span> </a> </li> <li class="devsite-nav-item"> <a href="/media" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Camera & Media" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Camera & Media </span> </a> </li> <li class="devsite-nav-item"> <a href="/social-and-messaging" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Social & messaging" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Social & messaging </span> </a> </li> <li class="devsite-nav-item"> <a href="/health-and-fitness" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Health & Fitness" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Health & Fitness </span> </a> </li> <li class="devsite-nav-item"> <a href="/productivity" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Productivity" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Productivity </span> </a> </li> <li class="devsite-nav-item"> <a href="/work/overview" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Enterprise apps" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Enterprise apps </span> </a> </li> <li class="devsite-nav-item devsite-nav-heading"> <span class="devsite-nav-title" tooltip > <span class="devsite-nav-text" tooltip > Get the latest </span> </span> </li> <li class="devsite-nav-item"> <a href="/latest-updates" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Latest updates" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Latest updates </span> </a> </li> <li class="devsite-nav-item"> <a href="/latest-updates/experimental" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Experimental updates" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Experimental updates </span> </a> </li> <li class="devsite-nav-item"> <a href="/studio/preview" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Android Studio preview" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Android Studio preview </span> </a> </li> <li class="devsite-nav-item"> <a href="/jetpack/androidx/versions" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Jetpack & Compose libraries" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Jetpack & Compose libraries </span> </a> </li> <li class="devsite-nav-item"> <a href="/training/wearables/versions/4" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Wear OS preview" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Wear OS preview </span> </a> </li> <li class="devsite-nav-item"> <a href="/design-for-safety/privacy-sandbox" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Privacy Sandbox" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Privacy Sandbox </span> </a> </li> </ul> <ul class="devsite-nav-list" menu="Design & Plan" aria-label="Side menu" hidden> <li class="devsite-nav-item devsite-nav-heading"> <span class="devsite-nav-title" tooltip > <span class="devsite-nav-text" tooltip > UI Design </span> </span> </li> <li class="devsite-nav-item"> <a href="/design/ui" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Design for Android" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Design for Android </span> </a> </li> <li class="devsite-nav-item"> <a href="/design/ui/mobile" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Mobile" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Mobile </span> </a> </li> <li class="devsite-nav-item"> <a href="/design/ui/large-screens" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Large screens (e.g., tablets)" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Large screens (e.g., tablets) </span> </a> </li> <li class="devsite-nav-item"> <a href="/design/ui/widget" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Widgets" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Widgets </span> </a> </li> <li class="devsite-nav-item"> <a href="/design/ui/wear" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Wear OS" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Wear OS </span> </a> </li> <li class="devsite-nav-item"> <a href="/design/ui/tv" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Android TV" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Android TV </span> </a> </li> <li class="devsite-nav-item devsite-nav-heading"> <span class="devsite-nav-title" tooltip > <span class="devsite-nav-text" tooltip > Architecture </span> </span> </li> <li class="devsite-nav-item"> <a href="/topic/architecture/intro" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Introduction" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Introduction </span> </a> </li> <li class="devsite-nav-item"> <a href="/topic/libraries/view-binding" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Libraries" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Libraries </span> </a> </li> <li class="devsite-nav-item"> <a href="/guide/navigation/navigation-principles" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Navigation" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Navigation </span> </a> </li> <li class="devsite-nav-item"> <a href="/topic/modularization" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Modularization" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Modularization </span> </a> </li> <li class="devsite-nav-item"> <a href="/training/testing/fundamentals" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Testing" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Testing </span> </a> </li> <li class="devsite-nav-item devsite-nav-heading"> <span class="devsite-nav-title" tooltip > <span class="devsite-nav-text" tooltip > Quality </span> </span> </li> <li class="devsite-nav-item"> <a href="/quality" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Overview" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Overview </span> </a> </li> <li class="devsite-nav-item"> <a href="/quality/core-value" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Core value" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Core value </span> </a> </li> <li class="devsite-nav-item"> <a href="/quality/user-experience" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: User experience" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > User experience </span> </a> </li> <li class="devsite-nav-item"> <a href="/quality/technical" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Technical quality" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Technical quality </span> </a> </li> <li class="devsite-nav-item"> <a href="/quality/privacy-and-security" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Security" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Security </span> </a> </li> <li class="devsite-nav-item devsite-nav-heading"> <span class="devsite-nav-title" tooltip > <span class="devsite-nav-text" tooltip > Security </span> </span> </li> <li class="devsite-nav-item"> <a href="/security" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Overview" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Overview </span> </a> </li> <li class="devsite-nav-item"> <a href="/privacy-and-security/about" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Privacy" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Privacy </span> </a> </li> <li class="devsite-nav-item"> <a href="/identity" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Identity" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Identity </span> </a> </li> <li class="devsite-nav-item"> <a href="/security/fraud-prevention" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Fraud prevention" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Fraud prevention </span> </a> </li> <li class="devsite-nav-item devsite-nav-heading"> <span class="devsite-nav-title" tooltip > <span class="devsite-nav-text" tooltip > Build for Billions </span> </span> </li> <li class="devsite-nav-item"> <a href="/build-for-billions" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Overview" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Overview </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/quality-guidelines/build-for-billions" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: About new markets" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > About new markets </span> </a> </li> <li class="devsite-nav-item"> <a href="/guide/topics/androidgo" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Android (Go edition)" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Android (Go edition) </span> </a> </li> </ul> <ul class="devsite-nav-list" menu="Develop" aria-label="Side menu" hidden> <li class="devsite-nav-item devsite-nav-heading"> <span class="devsite-nav-title" tooltip > <span class="devsite-nav-text" tooltip > Build AI experiences </span> </span> </li> <li class="devsite-nav-item"> <a href="/ai" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Get started" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Get started </span> </a> </li> <li class="devsite-nav-item devsite-nav-heading"> <span class="devsite-nav-title" tooltip > <span class="devsite-nav-text" tooltip > Core areas </span> </span> </li> <li class="devsite-nav-item"> <a href="/samples" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Samples" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Samples </span> </a> </li> <li class="devsite-nav-item"> <a href="/quick-guides" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Try Quick Guidesᵇᵉᵗᵃ" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Try Quick Guidesᵇᵉᵗᵃ </span> </a> </li> <li class="devsite-nav-item"> <a href="/develop/ui" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: User interfaces" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > User interfaces </span> </a> </li> <li class="devsite-nav-item"> <a href="/guide/topics/permissions/overview" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Permissions" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Permissions </span> </a> </li> <li class="devsite-nav-item"> <a href="/develop/background-work" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Background work" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Background work </span> </a> </li> <li class="devsite-nav-item"> <a href="/guide/topics/data" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Data and files" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Data and files </span> </a> </li> <li class="devsite-nav-item"> <a href="/develop#core-areas" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: All core areas ⤵️" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > All core areas ⤵️ </span> </a> </li> <li class="devsite-nav-item devsite-nav-heading"> <span class="devsite-nav-title" tooltip > <span class="devsite-nav-text" tooltip > Tools and workflow </span> </span> </li> <li class="devsite-nav-item"> <a href="/studio/write" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Write and debug code" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Write and debug code </span> </a> </li> <li class="devsite-nav-item"> <a href="/build/gradle-build-overview" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Build projects" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Build projects </span> </a> </li> <li class="devsite-nav-item"> <a href="/training/testing" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Test your app" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Test your app </span> </a> </li> <li class="devsite-nav-item"> <a href="/topic/performance/overview" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Performance" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Performance </span> </a> </li> <li class="devsite-nav-item"> <a href="/tools" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Command-line tools" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Command-line tools </span> </a> </li> <li class="devsite-nav-item"> <a href="/reference/tools/gradle-api" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Gradle plugin API" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Gradle plugin API </span> </a> </li> <li class="devsite-nav-item devsite-nav-heading"> <span class="devsite-nav-title" tooltip > <span class="devsite-nav-text" tooltip > Device tech </span> </span> </li> <li class="devsite-nav-item"> <a href="/guide/topics/large-screens/get-started-with-large-screens" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Large screens (e.g., tablets)" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Large screens (e.g., tablets) </span> </a> </li> <li class="devsite-nav-item"> <a href="/training/wearables" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Wear OS" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Wear OS </span> </a> </li> <li class="devsite-nav-item"> <a href="/health-and-fitness/guides" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Android Health" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Android Health </span> </a> </li> <li class="devsite-nav-item"> <a href="/guide/topics/connectivity/cross-device-sdk/overview" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Cross-device SDK" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Cross-device SDK </span> </a> </li> <li class="devsite-nav-item"> <a href="/training/cars" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Android for Cars" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Android for Cars </span> </a> </li> <li class="devsite-nav-item"> <a href="/training/tv" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Android TV" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Android TV </span> </a> </li> <li class="devsite-nav-item"> <a href="/chrome-os/intro" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: ChromeOS" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > ChromeOS </span> </a> </li> <li class="devsite-nav-item devsite-nav-heading"> <span class="devsite-nav-title" tooltip > <span class="devsite-nav-text" tooltip > Libraries </span> </span> </li> <li class="devsite-nav-item"> <a href="/reference/packages" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Android platform" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Android platform </span> </a> </li> <li class="devsite-nav-item"> <a href="/jetpack/androidx/explorer" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Jetpack libraries" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Jetpack libraries </span> </a> </li> <li class="devsite-nav-item"> <a href="/jetpack/androidx/releases/compose" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Compose libraries" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Compose libraries </span> </a> </li> <li class="devsite-nav-item"> <a href="https://developers.google.com/android/reference/packages" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Google Play services ↗️" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Google Play services ↗️ </span> </a> </li> <li class="devsite-nav-item"> <a href="https://play.google.com/sdks" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Google Play SDK index ↗️" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Google Play SDK index ↗️ </span> </a> </li> </ul> </div> </div> </nav> </devsite-book-nav> <section id="gc-wrapper"> <main role="main" class="devsite-main-content" has-book-nav has-sidebar > <div class="devsite-sidebar"> <div class="devsite-sidebar-content"> <devsite-toc class="devsite-nav" role="navigation" aria-label="On this page" depth="2" scrollbars ></devsite-toc> <devsite-recommendations-sidebar class="nocontent devsite-nav"> </devsite-recommendations-sidebar> </div> </div> <devsite-content> <article class="devsite-article"> <div class="devsite-article-meta nocontent" role="navigation"> <ul class="devsite-breadcrumb-list" aria-label="Breadcrumb"> <li class="devsite-breadcrumb-item "> <a href="https://developer.android.com/" class="devsite-breadcrumb-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Breadcrumbs" data-value="1" track-type="globalNav" track-name="breadcrumb" track-metadata-position="1" track-metadata-eventdetail="Android Developers" > Android Developers </a> </li> <li class="devsite-breadcrumb-item "> <div class="devsite-breadcrumb-guillemet material-icons" aria-hidden="true"></div> <a href="https://developer.android.com/develop" class="devsite-breadcrumb-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Breadcrumbs" data-value="2" track-type="globalNav" track-name="breadcrumb" track-metadata-position="2" track-metadata-eventdetail="" > Develop </a> </li> <li class="devsite-breadcrumb-item "> <div class="devsite-breadcrumb-guillemet material-icons" aria-hidden="true"></div> <a href="https://developer.android.com/guide" class="devsite-breadcrumb-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Breadcrumbs" data-value="3" track-type="globalNav" track-name="breadcrumb" track-metadata-position="3" track-metadata-eventdetail="" > Guides </a> </li> </ul> <devsite-thumb-rating position="header"> </devsite-thumb-rating> </div> <h1 class="devsite-page-title" tabindex="-1"> Request runtime permissions </h1> <devsite-feature-tooltip ack-key="AckCollectionsBookmarkTooltipDismiss" analytics-category="Site-Wide Custom Events" analytics-action-show="Callout Profile displayed" analytics-action-close="Callout Profile dismissed" analytics-label="Create Collection Callout" class="devsite-page-bookmark-tooltip nocontent" dismiss-button="true" id="devsite-collections-dropdown" dismiss-button-text="Dismiss" close-button-text="Got it"> <devsite-bookmark></devsite-bookmark> <span slot="popout-heading"> Stay organized with collections </span> <span slot="popout-contents"> Save and categorize content based on your preferences. </span> </devsite-feature-tooltip> <div class="devsite-page-title-meta"><devsite-view-release-notes></devsite-view-release-notes></div> <devsite-toc class="devsite-nav" depth="2" devsite-toc-embedded > </devsite-toc> <devsite-recommendations-dropdown class="nocontent"></devsite-recommendations-dropdown> <div class="devsite-article-body clearfix "> <div class="attempt-right video-wrapper"> <iframe class="devsite-embedded-youtube-video" data-video-id="x38dYUm7tCY" data-autohide="1" data-showinfo="0" frameborder="0" allowfullscreen> </iframe> </div> <p>Every Android app runs in a limited-access sandbox. If your app needs to use resources or information outside of its own sandbox, you can <a href="/training/permissions/declaring">declare a runtime permission</a> and set up a permission request that provides this access. These steps are part of the <a href="/training/basics/permissions#workflow">workflow for using permissions</a>.</p> <aside class="note"><strong>Note:</strong><span> Some permissions guard access to system resources that are particularly sensitive or aren't directly related to user privacy. For these <a href="/training/permissions/requesting-special">special permissions</a>, follow a different process.</span></aside> <p>If you declare any <a href="/guide/topics/permissions/overview#dangerous_permissions">dangerous permissions</a>, and if your app is installed on a device that runs Android 6.0 (API level 23) or higher, you must request the dangerous permissions at runtime by following the steps in this guide.</p> <p>If you don't declare any dangerous permissions, or if your app is installed on a device that runs Android 5.1 (API level 22) or lower, the permissions are automatically granted, and you don't need to complete any of the remaining steps on this page.</p> <h2 id="principles" data-text="Basic principles" tabindex="-1">Basic principles</h2> <p>The basic principles for requesting permissions at runtime are as follows:</p> <ul> <li>Ask for a permission in context, when the user starts to interact with the feature that requires it.</li> <li>Don't block the user. Always provide the option to cancel an educational UI flow, such as a flow that explains the rationale for requesting permissions.</li> <li>If the user denies or revokes a permission that a feature needs, gracefully degrade your app so that the user can continue using your app, possibly by disabling the feature that requires the permission.</li> <li>Don't assume any system behavior. For example, don't assume that permissions appear in the same <em>permission group</em>. A permission group merely helps the system minimize the number of system dialogs that are presented to the user when an app requests closely related permissions.</li> </ul> <h2 id="workflow_for_requesting_permissions" data-text="Workflow for requesting permissions" tabindex="-1">Workflow for requesting permissions</h2> <p>Before you declare and request runtime permissions in your app, <a href="/training/permissions/evaluating">evaluate whether your app needs to do so</a>. You can fulfill many use cases in your app, such as taking photos, pausing media playback, and displaying relevant ads, without needing to declare any permissions.</p> <p>If you conclude that your app needs to declare and request runtime permissions, complete these steps:</p> <ol> <li>In your app's manifest file, <a href="/training/permissions/declaring">declare the permissions</a> that your app might need to request.</li> <li>Design your app's UX so that specific actions in your app are associated with specific runtime permissions. Let users know which actions might require them to grant permission for your app to access private user data.</li> <li><a href="#principles">Wait for the user</a> to invoke the task or action in your app that requires access to specific private user data. At that time, your app can request the runtime permission that's required for accessing that data.</li> <li><p><a href="#already-granted">Check whether the user has already granted the runtime permission</a> that your app requires. If so, your app can access the private user data. If not, continue to the next step.</p> <p>You must check whether you have a permission every time you perform an operation that requires that permission.</p></li> <li><p><a href="#explain">Check whether your app should show a rationale</a> to the user, explaining why your app needs the user to grant a particular runtime permission. If the system determines that your app shouldn't show a rationale, continue to the next step directly, without showing a UI element.</p> <p>If the system determines that your app should show a rationale, however, present the rationale to the user in a UI element. In this rationale, clearly explain what data your app is trying to access and what benefits the app can provide to the user if they grant the runtime permission. After the user acknowledges the rationale, continue to the next step.</p></li> <li><p><a href="#request-permission">Request the runtime permission</a> that your app requires to access the private user data. The system displays a runtime permission prompt, such as the one shown on the <a href="/guide/topics/permissions/overview#fig-runtime">permissions overview page</a>.</p></li> <li><p>Check the user's response—whether they chose to grant or deny the runtime permission.</p></li> <li><p>If the user granted the permission to your app, you can access the private user data. If the user denied the permission instead, <a href="#handle-denial">gracefully degrade your app experience</a> so that it provides functionality to the user without the information that's protected by that permission.</p></li> </ol> <p>Figure 1 illustrates the workflow and set of decisions associated with this process:</p> <figure id="fig-workflow"> <img src="/static/images/training/permissions/workflow-runtime.svg" width="900" alt="" class="android-image-dark-theme-background"> <figcaption><b>Figure 1.</b> Diagram that shows the workflow for declaring and requesting runtime permissions on Android.</figcaption> </figure> <h2 id="already-granted" data-text="Determine whether your app was already granted the permission" tabindex="-1">Determine whether your app was already granted the permission</h2> <p>To check whether the user already granted your app a particular permission, pass that permission into the <a href="/reference/androidx/core/content/ContextCompat#checkSelfPermission(android.content.Context,%20java.lang.String)"><code translate="no" dir="ltr">ContextCompat.checkSelfPermission()</code></a> method. This method returns either <a href="/reference/android/content/pm/PackageManager#PERMISSION_GRANTED"><code translate="no" dir="ltr">PERMISSION_GRANTED</code></a> or <a href="/reference/android/content/pm/PackageManager#PERMISSION_DENIED"><code translate="no" dir="ltr">PERMISSION_DENIED</code></a>, depending on whether your app has the permission.</p> <h2 id="explain" data-text="Explain why your app needs the permission" tabindex="-1">Explain why your app needs the permission</h2> <p> The permissions dialog shown by the system when you call <code translate="no" dir="ltr"><a href="/reference/androidx/core/app/ActivityCompat#requestPermissions(android.app.Activity, java.lang.String[], int)">requestPermissions()</a></code> says what permission your app wants, but doesn't say why. In some cases, the user might find that puzzling. It's a good idea to explain to the user why your app wants the permissions before you call <code translate="no" dir="ltr">requestPermissions()</code>. </p> <p> Research shows that users are much more comfortable with permissions requests if they know why the app needs them, such as whether the permission is needed to support a core feature of the app or for advertising. As a result, if you're only using a fraction of the API calls that fall under a permission group, it helps to explicitly list which of those permissions you're using and why. For example, if you're only using coarse location, let the user know this in your app description or in help articles about your app. </p> <p> Under certain conditions, it's also helpful to let users know about sensitive data access in real time. For example, if you’re accessing the camera or microphone, it’s a good idea to let the user know by using a notification icon somewhere in your app, or in the notification tray (if the application is running in the background), so it doesn't seem like you're collecting data surreptitiously. </p> <aside class="note"><strong>Note:</strong><span> Starting in Android 12 (API level 31), <a href="/training/permissions/explaining-access#indicators">privacy indicators</a> notify the user whenever applications access the microphone or camera.</span></aside> <p> Ultimately, if you need to request a permission to make something in your app work, but the reason isn't clear to the user, find a way to let the user know why you need the most sensitive permissions. </p> <p>If the <code translate="no" dir="ltr">ContextCompat.checkSelfPermission()</code> method returns <code translate="no" dir="ltr">PERMISSION_DENIED</code>, call <a href="/reference/androidx/core/app/ActivityCompat#shouldShowRequestPermissionRationale(android.app.Activity,%20java.lang.String)"><code translate="no" dir="ltr">shouldShowRequestPermissionRationale()</code></a>. If this method returns <code translate="no" dir="ltr">true</code>, show an educational UI to the user. In this UI, describe why the feature that the user wants to enable needs a particular permission.</p> <p>Additionally, if your app requests a permission related to location, microphone, or camera, consider <a href="/training/permissions/explaining-access">explaining why your app needs access</a> to this information.</p> <h2 id="request-permission" data-text="Request permissions" tabindex="-1">Request permissions</h2> <p>After the user views an educational UI, or the return value of <code translate="no" dir="ltr">shouldShowRequestPermissionRationale()</code> indicates that you don't need to show an educational UI, request the permission. Users see a system permission dialog, where they can choose whether to grant a particular permission to your app.</p> <p>To do this, use the <a href="/reference/androidx/activity/result/contract/ActivityResultContracts.RequestPermission"><code translate="no" dir="ltr">RequestPermission</code></a> contract, included in an AndroidX library, where you <a href="#allow-system-manage-request-code">allow the system to manage the permission request code</a> for you. Because using the <code translate="no" dir="ltr">RequestPermission</code> contract simplifies your logic, it is the recommended solution when possible. However, if needed you can also <a href="#manage-request-code-yourself">manage a request code yourself</a> as part of the permission request and include this request code in your permission callback logic.</p> <h3 id="allow-system-manage-request-code" data-text="Allow the system to manage the permission request code" tabindex="-1">Allow the system to manage the permission request code</h3> <p>To allow the system to manage the request code that's associated with a permissions request, add dependencies on the following libraries in your module's <code translate="no" dir="ltr">build.gradle</code> file:</p> <ul> <li><a href="/jetpack/androidx/releases/activity#declaring_dependencies"><code translate="no" dir="ltr">androidx.activity</code></a>, version 1.2.0 or later</li> <li><a href="/jetpack/androidx/releases/fragment#declaring_dependencies"><code translate="no" dir="ltr">androidx.fragment</code></a>, version 1.3.0 or later</li> </ul> <p>You can then use one of the following classes:</p> <ul> <li>To request a single permission, use <a href="/reference/androidx/activity/result/contract/ActivityResultContracts.RequestPermission"><code translate="no" dir="ltr">RequestPermission</code></a>.</li> <li>To request multiple permissions at the same time, use <a href="/reference/androidx/activity/result/contract/ActivityResultContracts.RequestMultiplePermissions"><code translate="no" dir="ltr">RequestMultiplePermissions</code></a>.</li> </ul> <p>The following steps show how to use the <code translate="no" dir="ltr">RequestPermission</code> contract. The process is nearly the same for the <code translate="no" dir="ltr">RequestMultiplePermissions</code> contract.</p> <ol> <li><p>In your activity or fragment's initialization logic, pass in an implementation of <a href="/reference/androidx/activity/result/ActivityResultCallback"><code translate="no" dir="ltr">ActivityResultCallback</code></a> into a call to <a href="/reference/androidx/activity/result/ActivityResultCaller#registerForActivityResult(androidx.activity.result.contract.ActivityResultContract%3CI,%20O%3E,%20androidx.activity.result.ActivityResultCallback%3CO%3E)"><code translate="no" dir="ltr">registerForActivityResult()</code></a>. The <code translate="no" dir="ltr">ActivityResultCallback</code> defines how your app handles the user's response to the permission request.</p> <p>Keep a reference to the return value of <code translate="no" dir="ltr">registerForActivityResult()</code>, which is of type <a href="/reference/androidx/activity/result/ActivityResultLauncher"><code translate="no" dir="ltr">ActivityResultLauncher</code></a>.</p></li> <li><p>To display the system permissions dialog when necessary, call the <a href="/reference/androidx/activity/result/ActivityResultLauncher#launch(I)"><code translate="no" dir="ltr">launch()</code></a> method on the instance of <code translate="no" dir="ltr">ActivityResultLauncher</code> that you saved in the previous step.</p> <p>After <code translate="no" dir="ltr">launch()</code> is called, the system permissions dialog appears. When the user makes a choice, the system asynchronously invokes your implementation of <code translate="no" dir="ltr">ActivityResultCallback</code>, which you defined in the previous step.</p> <div class="note"> <p><b>Note: </b>Your app <i>cannot</i> customize the dialog that appears when you call <code translate="no" dir="ltr">launch()</code>. To provide more information or context to the user, change your app's UI so that it's easier for users to understand why a feature in your app needs a particular permission. For example, you might change the text in the button that enables the feature.</p> <p>Also, the text in the system permission dialog references the <a href="/guide/topics/permissions/overview#group">permission group</a> associated with the permission that you requested. This permission grouping is designed for system ease-of-use, and your app shouldn't rely on permissions being within or outside of a specific permission group.</p> </div></li> </ol> <p>The following code snippet shows how to handle the permissions response:</p> <div> <div class="ds-selector-tabs"><section><h3 id="kotlin" data-text="Kotlin" tabindex="-1">Kotlin</h3> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="Kotlin"><span class="devsite-syntax-c1">// Register the permissions callback, which handles the user's response to the</span> <span class="devsite-syntax-c1">// system permissions dialog. Save the return value, an instance of</span> <span class="devsite-syntax-c1">// ActivityResultLauncher. You can use either a val, as shown in this snippet,</span> <span class="devsite-syntax-c1">// or a lateinit var in your onAttach() or onCreate() method.</span> <span class="devsite-syntax-kd">val</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nv">requestPermissionLauncher</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">registerForActivityResult</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">RequestPermission</span><span class="devsite-syntax-p">()</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">)</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">isGranted</span><span class="devsite-syntax-p">:</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-kt">Boolean</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">-</span>> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-k">if</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">isGranted</span><span class="devsite-syntax-p">)</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// Permission is granted. Continue the action or workflow in your</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// app.</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">}</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-k">else</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// Explain to the user that the feature is unavailable because the</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// feature requires a permission that the user has denied. At the</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// same time, respect the user's decision. Don't link to system</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// settings in an effort to convince the user to change their</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// decision.</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">}</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">}</span></pre></devsite-code> </section><section><h3 id="java" data-text="Java" tabindex="-1">Java</h3> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="Java"><span class="devsite-syntax-c1">// Register the permissions callback, which handles the user's response to the</span> <span class="devsite-syntax-c1">// system permissions dialog. Save the return value, an instance of</span> <span class="devsite-syntax-c1">// ActivityResultLauncher, as an instance variable.</span> <span class="devsite-syntax-kd">private</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">ActivityResultLauncher<String></span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">requestPermissionLauncher</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">registerForActivityResult</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-k">new</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">RequestPermission</span><span class="devsite-syntax-p">(),</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">isGranted</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">-</span>><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-k">if</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">isGranted</span><span class="devsite-syntax-p">)</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// Permission is granted. Continue the action or workflow in your</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// app.</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">}</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-k">else</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// Explain to the user that the feature is unavailable because the</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// feature requires a permission that the user has denied. At the</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// same time, respect the user's decision. Don't link to system</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// settings in an effort to convince the user to change their</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// decision.</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">}</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">});</span></pre></devsite-code> </section></div> </div> <p>And this code snippet demonstrates the recommended process to check for a permission and to request a permission from the user when necessary:</p> <div> <div class="ds-selector-tabs"><section><h3 id="kotlin" data-text="Kotlin" tabindex="-1">Kotlin</h3> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="Kotlin"><span class="devsite-syntax-k">when</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">ContextCompat</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">checkSelfPermission</span><span class="devsite-syntax-p">(</span> <span class="devsite-syntax-w"> </span><var translate="no"><span class="devsite-syntax-n">CONTEXT</span></var><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">Manifest</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">permission</span><span class="devsite-syntax-p">.</span><var translate="no"><span class="devsite-syntax-na">REQUESTED_PERMISSION</span></var> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">)</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">==</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">PackageManager</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">PERMISSION_GRANTED</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">-</span>><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// You can use the API that requires the permission.</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">}</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">ActivityCompat</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">shouldShowRequestPermissionRationale</span><span class="devsite-syntax-p">(</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-k">this</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">Manifest</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">permission</span><span class="devsite-syntax-p">.</span><var translate="no"><span class="devsite-syntax-na">REQUESTED_PERMISSION</span></var><span class="devsite-syntax-p">)</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">-</span>><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// In an educational UI, explain to the user why your app requires this</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// permission for a specific feature to behave as expected, and what</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// features are disabled if it's declined. In this UI, include a</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// "cancel" or "no thanks" button that lets the user continue</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// using your app without granting the permission.</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">showInContextUI</span><span class="devsite-syntax-p">(...)</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">}</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-k">else</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">-</span>><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// You can directly ask for the permission.</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// The registered ActivityResultCallback gets the result of this request.</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">requestPermissionLauncher</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">launch</span><span class="devsite-syntax-p">(</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">Manifest</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">permission</span><span class="devsite-syntax-p">.</span><var translate="no"><span class="devsite-syntax-na">REQUESTED_PERMISSION</span></var><span class="devsite-syntax-p">)</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">}</span> <span class="devsite-syntax-p">}</span></pre></devsite-code> </section><section><h3 id="java" data-text="Java" tabindex="-1">Java</h3> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="Java"><span class="devsite-syntax-k">if</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">ContextCompat</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">checkSelfPermission</span><span class="devsite-syntax-p">(</span> <span class="devsite-syntax-w"> </span><var translate="no"><span class="devsite-syntax-n">CONTEXT</span></var><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">Manifest</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">permission</span><span class="devsite-syntax-p">.</span><var translate="no"><span class="devsite-syntax-na">REQUESTED_PERMISSION</span></var><span class="devsite-syntax-p">)</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">==</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">PackageManager</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">PERMISSION_GRANTED</span><span class="devsite-syntax-p">)</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// You can use the API that requires the permission.</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">performAction</span><span class="devsite-syntax-p">(...);</span> <span class="devsite-syntax-p">}</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-k">else</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-k">if</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">ActivityCompat</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">shouldShowRequestPermissionRationale</span><span class="devsite-syntax-p">(</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-k">this</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">Manifest</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">permission</span><span class="devsite-syntax-p">.</span><var translate="no"><span class="devsite-syntax-na">REQUESTED_PERMISSION</span></var><span class="devsite-syntax-p">))</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// In an educational UI, explain to the user why your app requires this</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// permission for a specific feature to behave as expected, and what</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// features are disabled if it's declined. In this UI, include a</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// "cancel" or "no thanks" button that lets the user continue</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// using your app without granting the permission.</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">showInContextUI</span><span class="devsite-syntax-p">(...);</span> <span class="devsite-syntax-p">}</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-k">else</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// You can directly ask for the permission.</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// The registered ActivityResultCallback gets the result of this request.</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">requestPermissionLauncher</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">launch</span><span class="devsite-syntax-p">(</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">Manifest</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">permission</span><span class="devsite-syntax-p">.</span><var translate="no"><span class="devsite-syntax-na">REQUESTED_PERMISSION</span></var><span class="devsite-syntax-p">);</span> <span class="devsite-syntax-p">}</span></pre></devsite-code> </section></div> </div> <h3 id="manage-request-code-yourself" data-text="Manage the permission request code yourself" tabindex="-1">Manage the permission request code yourself</h3> <p>As an alternative to <a href="#allow-system-manage-request-code">allowing the system to manage the permission request code</a>, you can manage the permission request code yourself. To do so, include the request code in a call to <a href="/reference/androidx/core/app/ActivityCompat#requestPermissions(android.app.Activity,%20java.lang.String%5B%5D,%20int)"><code translate="no" dir="ltr">requestPermissions()</code></a>.</p> <aside class="note"><strong>Note:</strong><span> Your app cannot customize the dialog that appears when you call <code translate="no" dir="ltr">requestPermissions()</code>. The text in the system permission dialog references a <a href="/guide/topics/permissions/overview#perm-groups">permission group</a>, but this permission grouping is designed for system ease-of-use. Your app shouldn't rely on permissions being within or outside of a specific permission group.</span></aside> <p>The following code snippet demonstrates how to request a permission using a request code:</p> <div> <div class="ds-selector-tabs"><section><h3 id="kotlin" data-text="Kotlin" tabindex="-1">Kotlin</h3> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="Kotlin"><span class="devsite-syntax-k">when</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">ContextCompat</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">checkSelfPermission</span><span class="devsite-syntax-p">(</span> <span class="devsite-syntax-w"> </span><var translate="no"><span class="devsite-syntax-n">CONTEXT</span></var><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">Manifest</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">permission</span><span class="devsite-syntax-p">.</span><var translate="no"><span class="devsite-syntax-na">REQUESTED_PERMISSION</span></var> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">)</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">==</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">PackageManager</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">PERMISSION_GRANTED</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">-</span>><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// You can use the API that requires the permission.</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">performAction</span><span class="devsite-syntax-p">(...)</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">}</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">ActivityCompat</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">shouldShowRequestPermissionRationale</span><span class="devsite-syntax-p">(</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-k">this</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">Manifest</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">permission</span><span class="devsite-syntax-p">.</span><var translate="no"><span class="devsite-syntax-na">REQUESTED_PERMISSION</span></var><span class="devsite-syntax-p">)</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">-</span>><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// In an educational UI, explain to the user why your app requires this</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// permission for a specific feature to behave as expected, and what</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// features are disabled if it's declined. In this UI, include a</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// "cancel" or "no thanks" button that lets the user continue</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// using your app without granting the permission.</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">showInContextUI</span><span class="devsite-syntax-p">(...)</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">}</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-k">else</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">-</span>><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// You can directly ask for the permission.</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">requestPermissions</span><span class="devsite-syntax-p">(</span><var translate="no"><span class="devsite-syntax-n">CONTEXT</span></var><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">arrayOf</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">Manifest</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">permission</span><span class="devsite-syntax-p">.</span><var translate="no"><span class="devsite-syntax-na">REQUESTED_PERMISSION</span></var><span class="devsite-syntax-p">),</span> <span class="devsite-syntax-w"> </span><var translate="no"><span class="devsite-syntax-n">REQUEST_CODE</span></var><span class="devsite-syntax-p">)</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">}</span> <span class="devsite-syntax-p">}</span></pre></devsite-code> </section><section><h3 id="java" data-text="Java" tabindex="-1">Java</h3> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="Java"><span class="devsite-syntax-k">if</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">ContextCompat</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">checkSelfPermission</span><span class="devsite-syntax-p">(</span> <span class="devsite-syntax-w"> </span><var translate="no"><span class="devsite-syntax-n">CONTEXT</span></var><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">Manifest</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">permission</span><span class="devsite-syntax-p">.</span><var translate="no"><span class="devsite-syntax-na">REQUESTED_PERMISSION</span></var><span class="devsite-syntax-p">)</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">==</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">PackageManager</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">PERMISSION_GRANTED</span><span class="devsite-syntax-p">)</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// You can use the API that requires the permission.</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">performAction</span><span class="devsite-syntax-p">(...);</span> <span class="devsite-syntax-p">}</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-k">else</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-k">if</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">ActivityCompat</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">shouldShowRequestPermissionRationale</span><span class="devsite-syntax-p">(</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-k">this</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">Manifest</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">permission</span><span class="devsite-syntax-p">.</span><var translate="no"><span class="devsite-syntax-na">REQUESTED_PERMISSION</span></var><span class="devsite-syntax-p">))</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// In an educational UI, explain to the user why your app requires this</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// permission for a specific feature to behave as expected, and what</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// features are disabled if it's declined. In this UI, include a</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// "cancel" or "no thanks" button that lets the user continue</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// using your app without granting the permission.</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">showInContextUI</span><span class="devsite-syntax-p">(...);</span> <span class="devsite-syntax-p">}</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-k">else</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// You can directly ask for the permission.</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">requestPermissions</span><span class="devsite-syntax-p">(</span><var translate="no"><span class="devsite-syntax-n">CONTEXT</span></var><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-k">new</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">String</span><span class="devsite-syntax-o">[]</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">Manifest</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">permission</span><span class="devsite-syntax-p">.</span><var translate="no"><span class="devsite-syntax-na">REQUESTED_PERMISSION</span></var><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">},</span> <span class="devsite-syntax-w"> </span><var translate="no"><span class="devsite-syntax-n">REQUEST_CODE</span></var><span class="devsite-syntax-p">);</span> <span class="devsite-syntax-p">}</span></pre></devsite-code> </section></div> </div> <p>After the user responds to the system permissions dialog, the system then invokes your app's implementation of <a href="/reference/androidx/core/app/ActivityCompat.OnRequestPermissionsResultCallback#onRequestPermissionsResult(int,%20java.lang.String%5B%5D,%20int%5B%5D)"><code translate="no" dir="ltr">onRequestPermissionsResult()</code></a>. The system passes in the user response to the permission dialog, as well as the request code that you defined, as shown in the following code snippet:</p> <div> <div class="ds-selector-tabs"><section><h3 id="kotlin" data-text="Kotlin" tabindex="-1">Kotlin</h3> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="Kotlin"><span class="devsite-syntax-kd">override</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-kd">fun</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nf">onRequestPermissionsResult</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">requestCode</span><span class="devsite-syntax-p">:</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-kt">Int</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">permissions</span><span class="devsite-syntax-p">:</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">Array<String></span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">grantResults</span><span class="devsite-syntax-p">:</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">IntArray</span><span class="devsite-syntax-p">)</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-k">when</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">requestCode</span><span class="devsite-syntax-p">)</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><var translate="no"><span class="devsite-syntax-n">PERMISSION_REQUEST_CODE</span></var><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">-</span>><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// If request is cancelled, the result arrays are empty.</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-k">if</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">((</span><span class="devsite-syntax-n">grantResults</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">isNotEmpty</span><span class="devsite-syntax-p">()</span><span class="devsite-syntax-w"> </span>&& <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">grantResults</span><span class="devsite-syntax-o">[</span><span class="devsite-syntax-m">0</span><span class="devsite-syntax-o">]</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">==</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">PackageManager</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">PERMISSION_GRANTED</span><span class="devsite-syntax-p">))</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// Permission is granted. Continue the action or workflow</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// in your app.</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">}</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-k">else</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// Explain to the user that the feature is unavailable because</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// the feature requires a permission that the user has denied.</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// At the same time, respect the user's decision. Don't link to</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// system settings in an effort to convince the user to change</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// their decision.</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">}</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-k">return</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">}</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// Add other 'when' lines to check for other</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// permissions this app might request.</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-k">else</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">-</span>><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// Ignore all other requests.</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">}</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">}</span> <span class="devsite-syntax-p">}</span></pre></devsite-code> </section><section><h3 id="java" data-text="Java" tabindex="-1">Java</h3> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="Java"><span class="devsite-syntax-nd">@Override</span> <span class="devsite-syntax-kd">public</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-kt">void</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nf">onRequestPermissionsResult</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-kt">int</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">requestCode</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">String</span><span class="devsite-syntax-o">[]</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">permissions</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-kt">int</span><span class="devsite-syntax-o">[]</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">grantResults</span><span class="devsite-syntax-p">)</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-k">switch</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">requestCode</span><span class="devsite-syntax-p">)</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-k">case</span><span class="devsite-syntax-w"> </span><var translate="no"><span class="devsite-syntax-n">PERMISSION_REQUEST_CODE</span></var><span class="devsite-syntax-p">:</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// If request is cancelled, the result arrays are empty.</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-k">if</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">grantResults</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">length</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">></span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-mi">0</span><span class="devsite-syntax-w"> </span>&& <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">grantResults</span><span class="devsite-syntax-o">[</span><span class="devsite-syntax-mi">0</span><span class="devsite-syntax-o">]</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">==</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">PackageManager</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">PERMISSION_GRANTED</span><span class="devsite-syntax-p">)</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// Permission is granted. Continue the action or workflow</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// in your app.</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">}</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-k">else</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// Explain to the user that the feature is unavailable because</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// the feature requires a permission that the user has denied.</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// At the same time, respect the user's decision. Don't link to</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// system settings in an effort to convince the user to change</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// their decision.</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">}</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-k">return</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">}</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// Other 'case' lines to check for other</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// permissions this app might request.</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">}</span> <span class="devsite-syntax-p">}</span></pre></devsite-code> </section></div> </div> <h3 id="location" data-text="Request location permissions" tabindex="-1">Request location permissions</h3> <p>When you request location permissions, follow the same best practices as for any other <a href="/training/permissions/requesting">runtime permission</a>. One important difference when it comes to location permissions is that the system includes multiple permissions related to location. Which permissions you request, and how you request them, depend on the location requirements for your app's use case.</p> <h4 id="foreground" data-text="Foreground location" tabindex="-1">Foreground location</h4> <p>If your app contains a feature that shares or receives location information only once, or for a defined amount of time, then that feature requires foreground location access. Some examples include the following:</p> <ul> <li>Within a navigation app, a feature lets users get turn-by-turn directions.</li> <li>Within a messaging app, a feature lets users share their current location with another user.</li> </ul> <p>The system considers your app to be using foreground location if a feature of your app accesses the device's current location in one of the following situations:</p> <ul> <li>An activity that belongs to your app is visible.</li> <li><p>Your app is running a foreground service. When a foreground service is running, the system raises user awareness by showing a persistent notification. Your app retains access when it's placed in the background, such as when the user presses the Home button on their device or turns their device's display off.</p> <p>On Android 10 (API level 29) and higher, you must declare a <a href="/guide/topics/manifest/service-element#foregroundservicetype">foreground service type</a> of <code translate="no" dir="ltr">location</code>, as shown in the following code snippet. On earlier versions of Android, it's recommended that you declare this foreground service type.</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="XML"><!--<span class="devsite-syntax-w"> </span>Recommended<span class="devsite-syntax-w"> </span>for<span class="devsite-syntax-w"> </span>Android<span class="devsite-syntax-w"> </span>9<span class="devsite-syntax-w"> </span>(API<span class="devsite-syntax-w"> </span>level<span class="devsite-syntax-w"> </span>28)<span class="devsite-syntax-w"> </span>and<span class="devsite-syntax-w"> </span>lower.<span class="devsite-syntax-w"> </span>--> <!--<span class="devsite-syntax-w"> </span>Required<span class="devsite-syntax-w"> </span>for<span class="devsite-syntax-w"> </span>Android<span class="devsite-syntax-w"> </span>10<span class="devsite-syntax-w"> </span>(API<span class="devsite-syntax-w"> </span>level<span class="devsite-syntax-w"> </span>29)<span class="devsite-syntax-w"> </span>and<span class="devsite-syntax-w"> </span>higher.<span class="devsite-syntax-w"> </span>--> <service <span class="devsite-syntax-w"> </span>android:name="MyNavigationService" <span class="devsite-syntax-w"> </span><b>android:foregroundServiceType="location"</b><span class="devsite-syntax-w"> </span>...<span class="devsite-syntax-w"> </span>> <span class="devsite-syntax-w"> </span><!--<span class="devsite-syntax-w"> </span>Any<span class="devsite-syntax-w"> </span>inner<span class="devsite-syntax-w"> </span>elements<span class="devsite-syntax-w"> </span>go<span class="devsite-syntax-w"> </span>here.<span class="devsite-syntax-w"> </span>--> </service></pre></devsite-code></li> </ul> <p>You declare a need for foreground location when your app requests either the <a href="/reference/android/Manifest.permission#ACCESS_COARSE_LOCATION"><code translate="no" dir="ltr">ACCESS_COARSE_LOCATION</code></a> permission or the <a href="/reference/android/Manifest.permission#ACCESS_FINE_LOCATION"><code translate="no" dir="ltr">ACCESS_FINE_LOCATION</code></a> permission, as shown in the following snippet:</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="XML"><manifest<span class="devsite-syntax-w"> </span>...<span class="devsite-syntax-w"> </span>> <span class="devsite-syntax-w"> </span><!--<span class="devsite-syntax-w"> </span>Include<span class="devsite-syntax-w"> </span>this<span class="devsite-syntax-w"> </span>permission<span class="devsite-syntax-w"> </span>any<span class="devsite-syntax-w"> </span>time<span class="devsite-syntax-w"> </span>your<span class="devsite-syntax-w"> </span>app<span class="devsite-syntax-w"> </span>needs<span class="devsite-syntax-w"> </span>location<span class="devsite-syntax-w"> </span>information.<span class="devsite-syntax-w"> </span>--> <span class="devsite-syntax-w"> </span><uses-permission<span class="devsite-syntax-w"> </span>android:name="android.permission.ACCESS_COARSE_LOCATION"<span class="devsite-syntax-w"> </span>/> <span class="devsite-syntax-w"> </span><!--<span class="devsite-syntax-w"> </span>Include<span class="devsite-syntax-w"> </span>only<span class="devsite-syntax-w"> </span>if<span class="devsite-syntax-w"> </span>your<span class="devsite-syntax-w"> </span>app<span class="devsite-syntax-w"> </span>benefits<span class="devsite-syntax-w"> </span>from<span class="devsite-syntax-w"> </span>precise<span class="devsite-syntax-w"> </span>location<span class="devsite-syntax-w"> </span>access.<span class="devsite-syntax-w"> </span>--> <span class="devsite-syntax-w"> </span><uses-permission<span class="devsite-syntax-w"> </span>android:name="android.permission.ACCESS_FINE_LOCATION"<span class="devsite-syntax-w"> </span>/> </manifest></pre></devsite-code> <h4 id="background" data-text="Background location" tabindex="-1">Background location</h4> <p>An app requires background location access if a feature within the app constantly shares location with other users or uses the <a href="/training/location/geofencing">Geofencing API</a>. Several examples include the following:</p> <ul> <li>Within a family location sharing app, a feature lets users continuously share location with family members.</li> <li>Within an IoT app, a feature lets users configure their home devices such that they turn off when the user leaves their home and turn back on when the user returns home.</li> </ul> <p>The system considers your app to be using background location if it accesses the device's current location in any situation other than the ones described in the <a href="#foreground">foreground location</a> section. The background location accuracy is the same as the <a href="/training/location/permissions#accuracy">foreground location accuracy</a>, which depends on the location permissions that your app declares.</p> <p>On Android 10 (API level 29) and higher, you must declare the <a href="/reference/android/Manifest.permission#ACCESS_BACKGROUND_LOCATION"><code translate="no" dir="ltr">ACCESS_BACKGROUND_LOCATION</code></a> permission in your app's manifest to request background location access at runtime. On earlier versions of Android, when your app receives foreground location access, it automatically receives background location access as well.</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="XML"><manifest<span class="devsite-syntax-w"> </span>...<span class="devsite-syntax-w"> </span>> <span class="devsite-syntax-w"> </span><!--<span class="devsite-syntax-w"> </span>Required<span class="devsite-syntax-w"> </span>only<span class="devsite-syntax-w"> </span>when<span class="devsite-syntax-w"> </span>requesting<span class="devsite-syntax-w"> </span>background<span class="devsite-syntax-w"> </span>location<span class="devsite-syntax-w"> </span>access<span class="devsite-syntax-w"> </span>on <span class="devsite-syntax-w"> </span>Android<span class="devsite-syntax-w"> </span>10<span class="devsite-syntax-w"> </span>(API<span class="devsite-syntax-w"> </span>level<span class="devsite-syntax-w"> </span>29)<span class="devsite-syntax-w"> </span>and<span class="devsite-syntax-w"> </span>higher.<span class="devsite-syntax-w"> </span>--> <span class="devsite-syntax-w"> </span><uses-permission<span class="devsite-syntax-w"> </span>android:name="android.permission.ACCESS_BACKGROUND_LOCATION"<span class="devsite-syntax-w"> </span>/> </manifest></pre></devsite-code> <aside class="note"><strong>Note:</strong><span> The Google Play Store has a <a href="https://support.google.com/googleplay/android-developer/answer/9799150">location policy</a> concerning device location, restricting background location access to apps that need it for their core functionality and meet related policy requirements.</span></aside> <h2 id="handle-denial" data-text="Handle permission denial" tabindex="-1">Handle permission denial</h2> <p>If the user denies a permission request, your app should help users understand the implications of denying the permission. In particular, your app should make users aware of the features that don't work because of the missing permission. When you do so, keep the following best practices in mind:</p> <ul> <li><p><strong>Guide the user's attention.</strong> Highlight a specific part of your app's UI where there's limited functionality because your app doesn't have the necessary permission. Examples of what you could do include the following:</p> <ul> <li>Show a message where the feature's results or data would have appeared.</li> <li>Display a different button that contains an error icon and color.</li> </ul></li> <li><p><strong>Be specific.</strong> Don't display a generic message. Instead, make clear which features are unavailable because your app doesn't have the necessary permission.</p></li> <li><p><strong>Don't block the user interface.</strong> In other words, don't display a full-screen warning message that prevents users from continuing to use your app at all.</p></li> </ul> <aside class="tip"><strong>Tip:</strong><span> Your app should encourage the best user experience possible, even after permission denials. For example, if microphone access is denied, you should still promote full usability of text functionality.</span></aside> <p>At the same time, your app should respect the user's decision to deny a permission. Starting in Android 11 (API level 30), if the user taps <strong>Deny</strong> for a specific permission more than once during your app's lifetime of installation on a device, the user doesn't see the system permissions dialog if your app requests that permission again. The user's action implies "don't ask again." On previous versions, users saw the system permissions dialog each time your app requested a permission, unless they had previously selected a "don't ask again" checkbox or option.</p> <p>If a user denies a permission request more than once, this is considered a permanant denial. It's very important to only prompt users for permissions when they need access to a specific feature, otherwise you might inadvertently lose the ability to re-request permissions.</p> <p>In certain situations, the permission might be denied automatically, without the user taking any action. (A permission might be <em>granted</em> automatically as well.) It's important to not assume anything about automatic behavior. Each time your app needs to access functionality that requires a permission, check that your app is still granted that permission.</p> <p>To provide the best user experience when asking for app permissions, also see <a href="/training/permissions/usage-notes">App permissions best practices</a>.</p> <h3 id="inspect_denial_status_when_testing_and_debugging" data-text="Inspect denial status when testing and debugging" tabindex="-1">Inspect denial status when testing and debugging</h3> <p>To identify whether an app has been permanently denied permissions (for debugging and testing purposes), use the following command:</p> <div></div><devsite-code><pre class="none" translate="no" dir="ltr" is-upgraded>adb shell dumpsys package <var translate="no">PACKAGE_NAME</var></pre></devsite-code> <p>Where <var translate="no">PACKAGE_NAME</var> is the name of the package to inspect.</p> <p>The output of the command contains sections that look like this:</p> <div></div><devsite-code><pre class="none" translate="no" dir="ltr" is-upgraded> ... runtime permissions: android.permission.POST_NOTIFICATIONS: granted=false, flags=[ USER_SENSITIVE_WHEN_GRANTED|USER_SENSITIVE_WHEN_DENIED] android.permission.ACCESS_FINE_LOCATION: granted=false, flags=[ <var translate="no">USER_SET</var>|<var translate="no">USER_FIXED</var>|USER_SENSITIVE_WHEN_GRANTED|USER_SENSITIVE_WHEN_DENIED] android.permission.BLUETOOTH_CONNECT: granted=false, flags=[ USER_SENSITIVE_WHEN_GRANTED|USER_SENSITIVE_WHEN_DENIED] ... </pre></devsite-code> <p>Permissions that have been denied once by the user are flagged by <code translate="no" dir="ltr">USER_SET</code>. Permissions that have been denied permanently by selecting <strong>Deny</strong> twice are flagged by <code translate="no" dir="ltr">USER_FIXED</code>.</p> <p>To ensure that testers see the request dialog during testing, reset these flags when you're done debugging your app. To do this, use the command:</p> <div></div><devsite-code><pre class="none" translate="no" dir="ltr" is-upgraded>adb shell pm clear-permission-flags <var translate="no">PACKAGE_NAME</var> <var translate="no">PERMISSION_NAME</var> user-set user-fixed</pre></devsite-code> <p><var translate="no">PERMISSION_NAME</var> is the name of the permission you want to reset.</p> <p>To view a complete list of Android app permissions, visit the <a href="/reference/android/Manifest.permission#constants_1">permissions API reference page</a>.</p> <h2 id="one-time" data-text="One-time permissions" tabindex="-1">One-time permissions</h2> <figure class="attempt-right" id="fig-one-time-permission"> <img class="screenshot" src="/static/images/training/permissions/one-time-prompt.svg" width="350" alt="The option called 'Only this time' is the second of three buttons in the dialog."> <figcaption><b>Figure 2.</b> System dialog that appears when an app requests a one-time permission.</figcaption> </figure> <p>Starting in Android 11 (API level 30), whenever your app requests a permission related to location, microphone, or camera, the user-facing permissions dialog contains an option called <strong>Only this time</strong>, as shown in figure 2. If the user selects this option in the dialog, your app is granted a temporary <em>one-time permission</em>.</p> <p>Your app can then access the related data for a period of time that depends on your app's behavior and the user's actions:</p> <ul> <li>While your app's activity is visible, your app can access the data.</li> <li>If the user sends your app to the background, your app can continue to access the data for a short period of time.</li> <li>If you launch a foreground service while the activity is visible, and the user then moves your app to the background, your app can continue to access the data until the foreground service stops.</li> </ul> <h3 id="app_process_terminates_when_permission_revoked" data-text="App process terminates when permission revoked" tabindex="-1">App process terminates when permission revoked</h3> <p>If the user revokes the one-time permission, such as in system settings, your app can't access the data, regardless of whether you launched a foreground service. As with any permission, if the user revokes your app's one-time permission, your app's process terminates.</p> <p>When the user next opens your app and a feature in your app requests access to location, microphone, or camera, the user is prompted for the permission again.</p> <aside class="note"><strong>Note:</strong><span> If your app already follows <a href="/training/permissions/usage-notes">best practices</a> when it requests runtime permissions, you don't need to add or change any logic in your app to support one-time permissions.</span></aside> <h2 id="reset-unused-permissions" data-text="Reset unused permissions" tabindex="-1">Reset unused permissions</h2> <p>Android provides several ways to reset unused runtime permissions to their default, denied state:</p> <ul> <li>An API where you can proactively <a href="#remove-access">remove your app's access</a> to an unused runtime permission.</li> <li>A system mechanism that automatically <a href="#auto-reset-permissions-unused-apps">resets the permissions of unused apps</a>.</li> </ul> <h3 id="remove-access" data-text="Remove app access" tabindex="-1">Remove app access</h3> <p>On Android 13 (API level 33) and higher, you can remove your app's access to runtime permissions that your app no longer requires. When you update your app, perform this step so that users are more likely to understand why your app continues to request specific permissions. This knowledge helps build user trust in your app.</p> <p>To remove access to a runtime permission, pass the name of that permission into <a href="/reference/android/content/Context#revokeSelfPermissionOnKill(java.lang.String)"><code translate="no" dir="ltr">revokeSelfPermissionOnKill()</code></a>. To remove access to a group of runtime permissions at the same time, pass a collection of permission names into <a href="/reference/android/content/Context#revokeSelfPermissionsOnKill(java.util.Collection%3Cjava.lang.String%3E)"><code translate="no" dir="ltr">revokeSelfPermissionsOnKill()</code></a>. The permission removal process happens asynchronously and kills all processes associated with your app's UID.</p> <aside class="note"><strong>Note:</strong><span> For system settings to show that your app doesn't access data in a particular <a href="/reference/android/Manifest.permission_group">permission group</a>, you must remove access to <strong>all</strong> permissions in that permission group. In this case, it can be helpful to call <code translate="no" dir="ltr">revokeSelfPermissionsOnKill()</code> and pass in multiple permissions within the permission group.</span></aside> <p>For the system to remove your app's access to the permissions, all processes tied to your app must be killed. When you call the API, the system determines when it's safe to kill these processes. Usually, the system waits until your app spends an extended period of time running in the background instead of the foreground.</p> <p>To inform the user that your app no longer requires access to specific runtime permissions, show a dialog the next time the user launches your app. This dialog can include the list of permissions.</p> <h3 id="auto-reset-permissions-unused-apps" data-text="Auto-reset permissions of unused apps" tabindex="-1">Auto-reset permissions of unused apps</h3> <p>If your app targets Android 11 (API level 30) or higher and isn't used for a few months, the system protects user data by automatically resetting the sensitive runtime permissions that the user had granted your app. Learn more in the guide about <a href="/topic/performance/app-hibernation">app hibernation</a>.</p> <h2 id="request-default-handler" data-text="Request to become the default handler if necessary" tabindex="-1">Request to become the default handler if necessary</h2> <p>Some apps depend on access to sensitive user information related to call logs and SMS messages. If you want to request the permissions specific to call logs and SMS messages and publish your app to the Play Store, you must prompt the user to set your app as the <em>default handler</em> for a core system function before requesting these runtime permissions.</p> <p>For more information on default handlers, including guidance on showing a default handler prompt to users, <a href="/guide/topics/permissions/default-handlers">see the guide about permissions used only in default handlers</a>.</p> <p><a id="test"></a></p> <h2 id="test-grant-all" data-text="Grant all runtime permissions for testing purposes" tabindex="-1">Grant all runtime permissions for testing purposes</h2> <p>To grant all runtime permissions automatically when you install an app on an emulator or test device, use the <code translate="no" dir="ltr">-g</code> option for the <code translate="no" dir="ltr">adb shell install</code> command, as demonstrated in the following code snippet:</p> <div></div><devsite-code><pre class="none devsite-terminal" translate="no" dir="ltr" is-upgraded> adb shell install <b>-g</b> <var translate="no">PATH_TO_APK_FILE</var> </pre></devsite-code> <h2 id="additional_resources" data-text="Additional resources" tabindex="-1">Additional resources</h2> <p>For additional information about permissions, read these articles:</p> <ul> <li><a href="/guide/topics/permissions/overview">Permissions overview</a></li> <li><a href="/training/permissions/usage-notes">App permissions best practices</a></li> </ul> <p>To learn more about requesting permissions, review the <a href="https://github.com/android/platform-samples/tree/main/samples/privacy/permissions" class="external">permissions samples</a> </p> <p>You can also complete this <a href="/codelabs/android-privacy-codelab">codelab that demonstrates privacy best practices</a>.</p> <devsite-hats-survey class="nocontent" hats-id="7awMnpd6z0kxBYCLVTd0TpemiQeY" listnr-id="5207477"></devsite-hats-survey> </div> <div class="devsite-steps"> <div class="steps-previous steps-direction"> <a href="/training/permissions/declaring" class="steps-link gc-analytics-event" data-category="Site-Wide Custom Events" data-action="Previous step" data-label="/training/permissions/declaring"> <div class="steps-link-direction">Previous</div> <span class="steps-link-arrow steps-link-arrow-left material-icons" aria-hidden="true"> arrow_back </span> <span class="steps-link-title-previous steps-link-title"> Declare app permissions </span> </a> </div> <div class="steps-next steps-direction"> <a href="/training/permissions/requesting-special" class="steps-link gc-analytics-event" data-category="Site-Wide Custom Events" data-action="Next step" data-label="/training/permissions/requesting-special"> <div class="steps-link-direction">Next</div> <span class="steps-link-title-next steps-link-title"> Request special permissions </span> <span class="steps-link-arrow steps-link-arrow-right material-icons" aria-hidden="true"> arrow_forward </span> </a> </div> </div> <devsite-recommendations display="in-page" hidden yield> </devsite-recommendations> <devsite-thumb-rating position="footer"> </devsite-thumb-rating> <devsite-recommendations id="recommendations-link" yield></devsite-recommendations> <div class="devsite-floating-action-buttons"> </div> </article> <devsite-content-footer class="nocontent"> <p>Content and code samples on this page are subject to the licenses described in the <a href="/license">Content License</a>. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.</p> <p>Last updated 2024-11-12 UTC.</p> </devsite-content-footer> <devsite-notification > </devsite-notification> <div class="devsite-content-data"> <template class="devsite-content-data-template"> [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-12 UTC."],[],[]] </template> </div> </devsite-content> </main> <devsite-footer-promos class="devsite-footer"> <nav class="devsite-footer-promos nocontent" aria-label="Promotions"> <ul class="devsite-footer-promos-list"> <li class="devsite-footer-promo"> <a href="//x.com/AndroidDev" class="devsite-footer-promo-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer X Promo" > <picture> <source class="devsite-dark-theme" srcset="https://developer.android.com/_static/android/images/logo-x_dt.svg" media="(prefers-color-scheme: dark)" loading="lazy" alt="X"> <img class="devsite-footer-promo-icon" src="/_static/android/images/logo-x.svg" loading="lazy" alt="X"> </picture> <span class="devsite-footer-promo-label"> X </span> </a> <div class="devsite-footer-promo-description">Follow @AndroidDev on X</div> </li> <li class="devsite-footer-promo"> <a href="//www.youtube.com/user/androiddevelopers" class="devsite-footer-promo-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer YouTube Promo" > <picture> <source class="devsite-dark-theme" srcset="https://developer.android.com/_static/android/images/logo-youtube_dt.svg" media="(prefers-color-scheme: dark)" loading="lazy" alt="YouTube"> <img class="devsite-footer-promo-icon" src="//www.gstatic.com/images/icons/material/product/2x/youtube_48dp.png" loading="lazy" alt="YouTube"> </picture> <span class="devsite-footer-promo-label"> YouTube </span> </a> <div class="devsite-footer-promo-description">Check out Android Developers on YouTube</div> </li> <li class="devsite-footer-promo"> <a href="//www.linkedin.com/showcase/androiddev" class="devsite-footer-promo-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer LinkedIn Promo" > <picture> <source class="devsite-dark-theme" srcset="https://developer.android.com/_static/android/images/logo-linkedin_dt.svg" media="(prefers-color-scheme: dark)" loading="lazy" alt="LinkedIn"> <img class="devsite-footer-promo-icon" src="/_static/android/images/logo-linkedin.svg" loading="lazy" alt="LinkedIn"> </picture> <span class="devsite-footer-promo-label"> LinkedIn </span> </a> <div class="devsite-footer-promo-description">Connect with the Android Developers community on LinkedIn</div> </li> </ul> </nav> </devsite-footer-promos> <devsite-footer-linkboxes class="devsite-footer"> <nav class="devsite-footer-linkboxes nocontent" aria-label="Footer links"> <ul class="devsite-footer-linkboxes-list"> <li class="devsite-footer-linkbox "> <h3 class="devsite-footer-linkbox-heading no-link">More Android</h3> <ul class="devsite-footer-linkbox-list"> <li class="devsite-footer-linkbox-item"> <a href="//www.android.com" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 1)" > Android </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//www.android.com/enterprise/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 2)" > Android for Enterprise </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//www.android.com/security-center/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 3)" > Security </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//source.android.com" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 4)" > Source </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/news" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 5)" > News </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//android-developers.googleblog.com/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 6)" > Blog </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/podcasts" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 7)" > Podcasts </a> </li> </ul> </li> <li class="devsite-footer-linkbox "> <h3 class="devsite-footer-linkbox-heading no-link">Discover</h3> <ul class="devsite-footer-linkbox-list"> <li class="devsite-footer-linkbox-item"> <a href="/games" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 1)" > Gaming </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/ml" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 2)" > Machine Learning </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/health-and-fitness" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 3)" > Health & Fitness </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/media" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 4)" > Camera & Media </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/privacy" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 5)" > Privacy </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/training/connectivity/5g" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 6)" > 5G </a> </li> </ul> </li> <li class="devsite-footer-linkbox "> <h3 class="devsite-footer-linkbox-heading no-link">Android Devices</h3> <ul class="devsite-footer-linkbox-list"> <li class="devsite-footer-linkbox-item"> <a href="/large-screens" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 1)" > Large screens </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/wear" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 2)" > Wear OS </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/chrome-os" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 3)" > ChromeOS devices </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/cars" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 4)" > Android for cars </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/tv" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 5)" > Android TV </a> </li> </ul> </li> <li class="devsite-footer-linkbox "> <h3 class="devsite-footer-linkbox-heading no-link">Releases</h3> <ul class="devsite-footer-linkbox-list"> <li class="devsite-footer-linkbox-item"> <a href="/about/versions/15" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 1)" > Android 15 </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/about/versions/14" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 2)" > Android 14 </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/about/versions/13" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 3)" > Android 13 </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/about/versions/12" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 4)" > Android 12 </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/about/versions/11" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 5)" > Android 11 </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/about/versions/10" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 6)" > Android 10 </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/about/versions/pie" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 7)" > Pie </a> </li> </ul> </li> <li class="devsite-footer-linkbox "> <h3 class="devsite-footer-linkbox-heading no-link">Documentation and Downloads</h3> <ul class="devsite-footer-linkbox-list"> <li class="devsite-footer-linkbox-item"> <a href="/studio/intro" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 1)" > Android Studio guide </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/guide" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 2)" > Developers guides </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/reference" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 3)" > API reference </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/studio" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 4)" > Download Studio </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/ndk" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 5)" > Android NDK </a> </li> </ul> </li> <li class="devsite-footer-linkbox "> <h3 class="devsite-footer-linkbox-heading no-link">Support</h3> <ul class="devsite-footer-linkbox-list"> <li class="devsite-footer-linkbox-item"> <a href="//issuetracker.google.com/issues/new?component=190923&template=841312" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 1)" > Report platform bug </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//issuetracker.google.com/issues/new?component=192697" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 2)" > Report documentation bug </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//support.google.com/googleplay/android-developer" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 3)" > Google Play support </a> </li> <li class="devsite-footer-linkbox-item"> <a href="https://g.co/userresearch/androiddeveloperfooter" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 4)" > Join research studies </a> </li> </ul> </li> </ul> </nav> </devsite-footer-linkboxes> <devsite-footer-utility class="devsite-footer"> <div class="devsite-footer-utility nocontent"> <nav class="devsite-footer-sites" aria-label="Other Google Developers websites"> <a href="https://developers.google.com/" class="devsite-footer-sites-logo-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Google Developers Link"> <picture> <source srcset="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/android/images/lockup-google-for-developers-dark-theme.svg" media="(prefers-color-scheme: none)" class="devsite-dark-theme" loading="lazy" alt="Google Developers"> <img class="devsite-footer-sites-logo" src="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/android/images/lockup-google-for-developers.svg" loading="lazy" alt="Google Developers"> </picture> </a> <ul class="devsite-footer-sites-list"> <li class="devsite-footer-sites-item"> <a href="//developer.android.com" class="devsite-footer-sites-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Android Link" > Android </a> </li> <li class="devsite-footer-sites-item"> <a href="//developer.chrome.com/home" class="devsite-footer-sites-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Chrome Link" > Chrome </a> </li> <li class="devsite-footer-sites-item"> <a href="//firebase.google.com" class="devsite-footer-sites-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Firebase Link" > Firebase </a> </li> <li class="devsite-footer-sites-item"> <a href="//cloud.google.com" class="devsite-footer-sites-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Google Cloud Platform Link" > Google Cloud Platform </a> </li> <li class="devsite-footer-sites-item"> <a href="//developers.google.com/products/" class="devsite-footer-sites-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer All products Link" > All products </a> </li> </ul> </nav> <nav class="devsite-footer-utility-links" aria-label="Utility links"> <ul class="devsite-footer-utility-list"> <li class="devsite-footer-utility-item "> <a class="devsite-footer-utility-link gc-analytics-event" href="//policies.google.com/privacy" data-category="Site-Wide Custom Events" data-label="Footer Privacy link" > Privacy </a> </li> <li class="devsite-footer-utility-item "> <a class="devsite-footer-utility-link gc-analytics-event" href="/license" data-category="Site-Wide Custom Events" data-label="Footer License link" > License </a> </li> <li class="devsite-footer-utility-item "> <a class="devsite-footer-utility-link gc-analytics-event" href="/distribute/marketing-tools/brand-guidelines" data-category="Site-Wide Custom Events" data-label="Footer Brand guidelines link" > Brand guidelines </a> </li> <li class="devsite-footer-utility-item glue-cookie-notification-bar-control"> <a class="devsite-footer-utility-link gc-analytics-event" href="#" data-category="Site-Wide Custom Events" data-label="Footer Manage cookies link" aria-hidden="true" > Manage cookies </a> </li> <li class="devsite-footer-utility-item devsite-footer-utility-button"> <span class="devsite-footer-utility-description">Get news and tips by email</span> <a class="devsite-footer-utility-link gc-analytics-event" href="/updates" data-category="Site-Wide Custom Events" data-label="Footer Subscribe link" > Subscribe </a> </li> </ul> <devsite-language-selector> <ul role="presentation"> <li role="presentation"> <a role="menuitem" lang="en" >English</a> </li> <li role="presentation"> <a role="menuitem" lang="de" >Deutsch</a> </li> <li role="presentation"> <a role="menuitem" lang="es_419" >Español – América Latina</a> </li> <li role="presentation"> <a role="menuitem" lang="fr" >Français</a> </li> <li role="presentation"> <a role="menuitem" lang="id" >Indonesia</a> </li> <li role="presentation"> <a role="menuitem" lang="it" >Italiano</a> </li> <li role="presentation"> <a role="menuitem" lang="pl" >Polski</a> </li> <li role="presentation"> <a role="menuitem" lang="pt_br" >Português – Brasil</a> </li> <li role="presentation"> <a role="menuitem" lang="vi" >Tiếng Việt</a> </li> <li role="presentation"> <a role="menuitem" lang="tr" >Türkçe</a> </li> <li role="presentation"> <a role="menuitem" lang="ru" >Русский</a> </li> <li role="presentation"> <a role="menuitem" lang="he" >עברית</a> </li> <li role="presentation"> <a role="menuitem" lang="ar" >العربيّة</a> </li> <li role="presentation"> <a role="menuitem" lang="fa" >فارسی</a> </li> <li role="presentation"> <a role="menuitem" lang="hi" >हिंदी</a> </li> <li role="presentation"> <a role="menuitem" lang="bn" >বাংলা</a> </li> <li role="presentation"> <a role="menuitem" lang="th" >ภาษาไทย</a> </li> <li role="presentation"> <a role="menuitem" lang="zh_cn" >中文 – 简体</a> </li> <li role="presentation"> <a role="menuitem" lang="zh_tw" >中文 – 繁體</a> </li> <li role="presentation"> <a role="menuitem" lang="ja" >日本語</a> </li> <li role="presentation"> <a role="menuitem" lang="ko" >한국어</a> </li> </ul> </devsite-language-selector> </nav> </div> </devsite-footer-utility> <devsite-panel></devsite-panel> </section></section> <devsite-sitemask></devsite-sitemask> <devsite-snackbar></devsite-snackbar> <devsite-tooltip ></devsite-tooltip> <devsite-heading-link></devsite-heading-link> <devsite-analytics> <script type="application/json" analytics>[]</script> <script type="application/json" tag-management>{"at": "True", "ga4": [{"id": "G-QFRN08RN6E", "purpose": 0}], "ga4p": [{"id": "G-QFRN08RN6E", "purpose": 0}], "gtm": [{"id": "GTM-KMSWPCJ", "purpose": 0}], "parameters": {"internalUser": "False", "language": {"machineTranslated": "False", "requested": "en", "served": "en"}, "pageType": "article", "projectName": "Android Developers", "signedIn": "False", "tenant": "android", "recommendations": {"sourcePage": "", "sourceType": 0, "sourceRank": 0, "sourceIdenticalDescriptions": 0, "sourceTitleWords": 0, "sourceDescriptionWords": 0, "experiment": ""}, "experiment": {"ids": ""}}}</script> </devsite-analytics> <devsite-badger></devsite-badger> <android-fully-clickable target=" .android-case-study .devsite-landing-row-item, .android-grouped-resources .devsite-landing-row-item, .android-grouped-resources-primary .devsite-landing-row-item, .android-grouped-resources-secondary .devsite-landing-row-item, .android-guide-cards .devsite-landing-row-item, .android-illustrated-resources-index .devsite-landing-row-item, .android-illustrated-resources-primary .devsite-landing-row-item, .android-illustrated-resources-secondary .devsite-landing-row-item, .android-illustrated-resources-secondary-small .devsite-landing-row-item, .android-illustrated-resources-tertiary .devsite-landing-row-item, .android-illustrated-resources-tertiary-small .devsite-landing-row-item, .android-promo .devsite-landing-row-item, .android-quick-link, .android-samples .devsite-card-wrapper, .fully-clickable" watch=".android-samples, devsite-content"></android-fully-clickable> <script nonce="s0POWiYILNXuynk0wFtB5liHGMjLwj"> (function(d,e,v,s,i,t,E){d['GoogleDevelopersObject']=i; t=e.createElement(v);t.async=1;t.src=s;E=e.getElementsByTagName(v)[0]; E.parentNode.insertBefore(t,E);})(window, document, 'script', 'https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/android/js/app_loader.js', '[3,"en",null,"/js/devsite_app_module.js","https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625","https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/android","https://android-dot-devsite-v2-prod.appspot.com",null,null,["/_pwa/android/manifest.json","https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/images/video-placeholder.svg","https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/android/images/favicon.svg","https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/android/images/lockup.svg","https://fonts.googleapis.com/css?family=Google+Sans:400,500,600,700|Google+Sans+Text:400,400italic,500,500italic,600,600italic,700,700italic|Roboto+Mono:400,500,700&display=swap"],1,null,[1,6,8,12,14,17,21,25,50,52,63,70,75,76,80,87,91,92,93,97,98,100,101,102,103,104,105,107,108,109,110,112,113,116,117,118,120,122,124,125,126,127,129,130,131,132,133,134,135,136,138,140,141,147,148,149,151,152,156,157,158,159,161,163,164,168,169,170,179,180,182,183,186,191,193,196],"AIzaSyAP-jjEJBzmIyKR4F-3XITp8yM9T1gEEI8","AIzaSyB6xiKGDR5O3Ak2okS4rLkauxGUG7XP0hg","developer.android.com","AIzaSyAQk0fBONSGUqCNznf6Krs82Ap1-NV6J4o","AIzaSyCCxcqdrZ_7QMeLCRY20bh_SXdAYqy70KY",null,null,null,["Cloud__enable_legacy_calculator_redirect","Cloud__enable_cloud_dlp_service","Concierge__enable_pushui","Cloud__enable_free_trial_server_call","Cloud__enable_cloudx_experiment_ids","CloudShell__cloud_code_overflow_menu","Cloud__enable_cloud_shell","Search__enable_suggestions_from_borg","MiscFeatureFlags__emergency_css","MiscFeatureFlags__enable_dark_theme","MiscFeatureFlags__enable_project_variables","Search__enable_dynamic_content_confidential_banner","MiscFeatureFlags__enable_explain_this_code","MiscFeatureFlags__developers_footer_dark_image","Analytics__enable_clearcut_logging","MiscFeatureFlags__developers_footer_image","Experiments__reqs_query_experiments","MiscFeatureFlags__enable_view_transitions","Profiles__require_profile_eligibility_for_signin","BookNav__enable_tenant_cache_key","Profiles__enable_dashboard_curated_recommendations","Profiles__enable_completecodelab_endpoint","Profiles__enable_release_notes_notifications","Significatio__enable_by_tenant","TpcFeatures__enable_mirror_tenant_redirects","CloudShell__cloud_shell_button","DevPro__enable_developer_subscriptions","Profiles__enable_public_developer_profiles","Search__enable_ai_search_summaries","EngEduTelemetry__enable_engedu_telemetry","Search__enable_ai_eligibility_checks","MiscFeatureFlags__enable_variable_operator","Profiles__enable_developer_profiles_callout","Profiles__enable_page_saving","DevPro__enable_cloud_innovators_plus","MiscFeatureFlags__enable_firebase_utm","Profiles__enable_recognition_badges","Profiles__enable_awarding_url","Cloud__enable_cloud_facet_chat","Search__enable_page_map","Cloud__enable_cloud_shell_fte_user_flow","Cloud__enable_cloudx_ping","Cloud__enable_llm_concierge_chat","Profiles__enable_complete_playlist_endpoint","Profiles__enable_profile_collections","TpcFeatures__enable_required_headers"],null,null,"AIzaSyBLEMok-5suZ67qRPzx0qUtbnLmyT_kCVE","https://developerscontentserving-pa.googleapis.com","AIzaSyCM4QpTRSqP5qI4Dvjt4OAScIN8sOUlO-k","https://developerscontentsearch-pa.googleapis.com",2,4,null,"https://developerprofiles-pa.googleapis.com",[3,"android","Android Developers","developer.android.com",null,"android-dot-devsite-v2-prod.appspot.com",null,null,[null,1,null,null,null,null,null,null,null,null,null,[1],null,null,null,null,null,null,[1],[1,null,null,[1,20],"/recommendations"],null,null,null,[1,null,1],[1,1,null,1,1]],null,[18,null,null,null,null,null,"/images/lockup.svg","/images/touchicon-180.png",null,null,null,null,null,null,null,null,null,null,null,null,null,1,null,null,null,"/images/lockup-dark-theme.svg",[]],[],null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,[6,1,14,15,20,22,23,28,29,37,43],null,[[null,null,1],[1,1]],[[null,null,null,null,null,null,null,[["G-QFRN08RN6E"],null,null,[["G-QFRN08RN6E",1]]],null,null,null,null,1],null,[[1,1],[2,2]]],null,4,null,null,null,null,null,null,null,null,null,null,null,null,null,"android.devsite.google"],null,"pk_live_5170syrHvgGVmSx9sBrnWtA5luvk9BwnVcvIi7HizpwauFG96WedXsuXh790rtij9AmGllqPtMLfhe2RSwD6Pn38V00uBCydV4m"]') </script> <devsite-a11y-announce></devsite-a11y-announce> </body> </html>