<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" /> <meta content="IE=edge" http-equiv="X-UA-Compatible"> <link rel="shortcut icon" type="image/x-icon" href="../../../favicon.ico" /> <link rel="alternate" href="http://developer.android.com/" hreflang="en" /> <link rel="alternate" href="http://developer.android.com/intl/es/" hreflang="es" /> <link rel="alternate" href="http://developer.android.com/intl/id/" hreflang="id" /> <link rel="alternate" href="http://developer.android.com/intl/ja/" hreflang="ja" /> <link rel="alternate" href="http://developer.android.com/intl/ko/" hreflang="ko" /> <link rel="alternate" href="http://developer.android.com/intl/pt-br/" hreflang="pt-br" /> <link rel="alternate" href="http://developer.android.com/intl/ru/" hreflang="ru" /> <link rel="alternate" href="http://developer.android.com/intl/vi/" hreflang="vi" /> <link rel="alternate" href="http://developer.android.com/intl/zh-cn/" hreflang="zh-cn" /> <link rel="alternate" href="http://developer.android.com/intl/zh-tw/" hreflang="zh-tw" /> <title>android.app - Android SDK | Android Developers </title> <!-- STYLESHEETS --> <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Roboto+Condensed"> <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Roboto:light,regular,medium,thin,italic,mediumitalic,bold" title="roboto"> <link href="../../../assets/css/default.css?v=16" rel="stylesheet" type="text/css"> <!-- JAVASCRIPT --> <script src="http://www.google.com/jsapi" type="text/javascript"></script> <script src="../../../assets/js/android_3p-bundle.js" type="text/javascript"></script> <script type="text/javascript"> var toRoot = "../../../"; var metaTags = []; var devsite = false; var useUpdatedTemplates = false; </script> <script src="../../../assets/js/docs.js?v=17" type="text/javascript"></script> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-5831155-1', 'android.com'); ga('create', 'UA-49880327-2', 'android.com', {'name': 'universal'}); // New tracker); ga('send', 'pageview'); ga('universal.send', 'pageview'); // Send page view for new tracker. </script> </head> <body class="gc-documentation develop reference api apilevel-1"> <div id="doc-api-level" class="1" style="display:none"></div> <a name="top"></a> <!-- Header --> <div id="header-wrapper"> <div class="dac-header " id="header"> <div class="dac-header-inner"> <a class="dac-nav-toggle" data-dac-toggle-nav href="javascript:;" title="Open navigation"> <span class="dac-nav-hamburger"> <span class="dac-nav-hamburger-top"></span> <span class="dac-nav-hamburger-mid"></span> <span class="dac-nav-hamburger-bot"></span> </span> </a> <a class="dac-header-logo" href="../../../index.html"> <img class="dac-header-logo-image" src="../../../assets/images/android_logo.png" srcset="../../../assets/images/android_logo@2x.png 2x" width="32" height="36" alt="Android" /> Developers </a> <ul class="dac-header-tabs"> <li> <a class="dac-header-tab" href="../../../design/index.html" zh-tw-lang="設計" zh-cn-lang="设计" ru-lang="Проектирование" ko-lang="디자인" ja-lang="設計" es-lang="Diseñar">Design</a> </li> <li> <a class="dac-header-tab" href="../../../develop/index.html" zh-tw-lang="開發" zh-cn-lang="开发" ru-lang="Разработка" ko-lang="개발" ja-lang="開発" es-lang="Desarrollar">Develop</a> </li> <li> <a class="dac-header-tab" href="../../../distribute/index.html" zh-tw-lang="發佈" zh-cn-lang="分发" ru-lang="Распространение" ko-lang="배포" ja-lang="配布" es-lang="Distribuir">Distribute</a> </li> </ul> <a class="dac-header-console-btn" href="https://play.google.com/apps/publish/"> <span class="dac-sprite dac-google-play"></span> <span class="dac-visible-desktop-inline">Developer</span> Console </a> <form data-search class="dac-header-search"> <button class="dac-header-search-close" data-search-close> <i class="dac-sprite dac-back-arrow"></i> </button> <div class="dac-header-search-inner"> <i class="dac-sprite dac-search-white dac-header-search-icon"></i> <input id="search_autocomplete" type="text" value="" autocomplete="off" name="q" class="dac-header-search-input" placeholder="Search" /> <button class="dac-header-search-clear dac-hidden" data-search-clear> <i class="dac-sprite dac-close-black"></i> </button> </div> </form> </div><!-- end header-wrap.wrap --> </div><!-- end header --> </div> <!--end header-wrapper --> <!-- Navigation--> <nav class="dac-nav"> <div class="dac-nav-dimmer" data-dac-toggle-nav></div> <div class="dac-nav-sidebar" data-swap data-dynamic="false" data-transition-speed="300" data-dac-nav> <div data-swap-container> <a class="dac-nav-back-button dac-swap-section dac-up dac-no-anim" data-swap-button href="javascript:;"> <i class="dac-sprite dac-nav-back"></i> <span class="dac-nav-back-title">Back</span> </a> <div class="dac-nav-sub dac-swap-section dac-right dac-active" itemscope itemtype="http://schema.org/SiteNavigationElement"> <!-- Fullscreen toggler --> <button data-fullscreen class="dac-nav-fullscreen"> <i class="dac-sprite dac-fullscreen"></i> </button> <script>$('[data-fullscreen]').dacFullscreen();</script> <!-- End: Fullscreen toggler --> <div id="devdoc-nav"> <div id="api-nav-header"> <div id="api-level-toggle"> <label for="apiLevelCheckbox" class="disabled" title="Select your target API level to dim unavailable APIs">API level: </label> <div class="select-wrapper"> <select id="apiLevelSelector"> <!-- option elements added by buildApiLevelSelector() --> </select> </div> </div><!-- end toggle --> <div id="api-nav-title">Android APIs</div> </div><!-- end nav header --> <script> var SINCE_DATA = [ '1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24' ]; buildApiLevelSelector(); </script> <div class="dac-reference-nav" data-reference-tree> <ul class="dac-reference-nav-list" data-reference-namespaces> <li class="api apilevel-1"> <a href="../../../reference/android/package-summary.html">android</a></li> <li class="api apilevel-4"> <a href="../../../reference/android/accessibilityservice/package-summary.html">android.accessibilityservice</a></li> <li class="api apilevel-5"> <a href="../../../reference/android/accounts/package-summary.html">android.accounts</a></li> <li class="api apilevel-11"> <a href="../../../reference/android/animation/package-summary.html">android.animation</a></li> <li class="api apilevel-16"> <a href="../../../reference/android/annotation/package-summary.html">android.annotation</a></li> <li class="selected api apilevel-1"> <a href="../../../reference/android/app/package-summary.html">android.app</a></li> <li class="api apilevel-8"> <a href="../../../reference/android/app/admin/package-summary.html">android.app.admin</a></li> <li class="api apilevel-23"> <a href="../../../reference/android/app/assist/package-summary.html">android.app.assist</a></li> <li class="api apilevel-8"> <a href="../../../reference/android/app/backup/package-summary.html">android.app.backup</a></li> <li class="api apilevel-21"> <a href="../../../reference/android/app/job/package-summary.html">android.app.job</a></li> <li class="api apilevel-21"> <a href="../../../reference/android/app/usage/package-summary.html">android.app.usage</a></li> <li class="api apilevel-3"> <a href="../../../reference/android/appwidget/package-summary.html">android.appwidget</a></li> <li class="api apilevel-5"> <a href="../../../reference/android/bluetooth/package-summary.html">android.bluetooth</a></li> <li class="api apilevel-21"> <a href="../../../reference/android/bluetooth/le/package-summary.html">android.bluetooth.le</a></li> <li class="api apilevel-1"> <a href="../../../reference/android/content/package-summary.html">android.content</a></li> <li class="api apilevel-1"> <a href="../../../reference/android/content/pm/package-summary.html">android.content.pm</a></li> <li class="api apilevel-1"> <a href="../../../reference/android/content/res/package-summary.html">android.content.res</a></li> <li class="api apilevel-1"> <a href="../../../reference/android/database/package-summary.html">android.database</a></li> <li class="api apilevel-1"> <a href="../../../reference/android/database/sqlite/package-summary.html">android.database.sqlite</a></li> <li class="api apilevel-"> <a href="../../../reference/android/databinding/package-summary.html">android.databinding</a></li> <li class="api apilevel-11"> <a href="../../../reference/android/drm/package-summary.html">android.drm</a></li> <li class="api apilevel-4"> <a href="../../../reference/android/gesture/package-summary.html">android.gesture</a></li> <li class="api apilevel-1"> <a href="../../../reference/android/graphics/package-summary.html">android.graphics</a></li> <li class="api apilevel-1"> <a href="../../../reference/android/graphics/drawable/package-summary.html">android.graphics.drawable</a></li> <li class="api apilevel-1"> <a href="../../../reference/android/graphics/drawable/shapes/package-summary.html">android.graphics.drawable.shapes</a></li> <li class="api apilevel-19"> <a href="../../../reference/android/graphics/pdf/package-summary.html">android.graphics.pdf</a></li> <li class="api apilevel-1"> <a href="../../../reference/android/hardware/package-summary.html">android.hardware</a></li> <li class="api apilevel-21"> <a href="../../../reference/android/hardware/camera2/package-summary.html">android.hardware.camera2</a></li> <li class="api apilevel-21"> <a href="../../../reference/android/hardware/camera2/params/package-summary.html">android.hardware.camera2.params</a></li> <li class="api apilevel-17"> <a href="../../../reference/android/hardware/display/package-summary.html">android.hardware.display</a></li> <li class="api apilevel-23"> <a href="../../../reference/android/hardware/fingerprint/package-summary.html">android.hardware.fingerprint</a></li> <li class="api apilevel-16"> <a href="../../../reference/android/hardware/input/package-summary.html">android.hardware.input</a></li> <li class="api apilevel-12"> <a href="../../../reference/android/hardware/usb/package-summary.html">android.hardware.usb</a></li> <li class="api apilevel-24"> <a href="../../../reference/android/icu/lang/package-summary.html">android.icu.lang</a></li> <li class="api apilevel-24"> <a href="../../../reference/android/icu/math/package-summary.html">android.icu.math</a></li> <li class="api apilevel-24"> <a href="../../../reference/android/icu/text/package-summary.html">android.icu.text</a></li> <li class="api apilevel-24"> <a href="../../../reference/android/icu/util/package-summary.html">android.icu.util</a></li> <li class="api apilevel-3"> <a href="../../../reference/android/inputmethodservice/package-summary.html">android.inputmethodservice</a></li> <li class="api apilevel-1"> <a href="../../../reference/android/location/package-summary.html">android.location</a></li> <li class="api apilevel-1"> <a href="../../../reference/android/media/package-summary.html">android.media</a></li> <li class="api apilevel-9"> <a href="../../../reference/android/media/audiofx/package-summary.html">android.media.audiofx</a></li> <li class="api apilevel-21"> <a href="../../../reference/android/media/browse/package-summary.html">android.media.browse</a></li> <li class="api apilevel-14"> <a href="../../../reference/android/media/effect/package-summary.html">android.media.effect</a></li> <li class="api apilevel-23"> <a href="../../../reference/android/media/midi/package-summary.html">android.media.midi</a></li> <li class="api apilevel-21"> <a href="../../../reference/android/media/projection/package-summary.html">android.media.projection</a></li> <li class="api apilevel-21"> <a href="../../../reference/android/media/session/package-summary.html">android.media.session</a></li> <li class="api apilevel-21"> <a href="../../../reference/android/media/tv/package-summary.html">android.media.tv</a></li> <li class="api apilevel-12"> <a href="../../../reference/android/mtp/package-summary.html">android.mtp</a></li> <li class="api apilevel-1"> <a href="../../../reference/android/net/package-summary.html">android.net</a></li> <li class="api apilevel-1"> <a href="../../../reference/android/net/http/package-summary.html">android.net.http</a></li> <li class="api apilevel-16"> <a href="../../../reference/android/net/nsd/package-summary.html">android.net.nsd</a></li> <li class="api apilevel-12"> <a href="../../../reference/android/net/rtp/package-summary.html">android.net.rtp</a></li> <li class="api apilevel-9"> <a href="../../../reference/android/net/sip/package-summary.html">android.net.sip</a></li> <li class="api apilevel-1"> <a href="../../../reference/android/net/wifi/package-summary.html">android.net.wifi</a></li> <li class="api apilevel-14"> <a href="../../../reference/android/net/wifi/p2p/package-summary.html">android.net.wifi.p2p</a></li> <li class="api apilevel-16"> <a href="../../../reference/android/net/wifi/p2p/nsd/package-summary.html">android.net.wifi.p2p.nsd</a></li> <li class="api apilevel-9"> <a href="../../../reference/android/nfc/package-summary.html">android.nfc</a></li> <li class="api apilevel-19"> <a href="../../../reference/android/nfc/cardemulation/package-summary.html">android.nfc.cardemulation</a></li> <li class="api apilevel-10"> <a href="../../../reference/android/nfc/tech/package-summary.html">android.nfc.tech</a></li> <li class="api apilevel-1"> <a href="../../../reference/android/opengl/package-summary.html">android.opengl</a></li> <li class="api apilevel-1"> <a href="../../../reference/android/os/package-summary.html">android.os</a></li> <li class="api apilevel-24"> <a href="../../../reference/android/os/health/package-summary.html">android.os.health</a></li> <li class="api apilevel-9"> <a href="../../../reference/android/os/storage/package-summary.html">android.os.storage</a></li> <li class="api apilevel-1"> <a href="../../../reference/android/preference/package-summary.html">android.preference</a></li> <li class="api apilevel-19"> <a href="../../../reference/android/print/package-summary.html">android.print</a></li> <li class="api apilevel-19"> <a href="../../../reference/android/print/pdf/package-summary.html">android.print.pdf</a></li> <li class="api apilevel-19"> <a href="../../../reference/android/printservice/package-summary.html">android.printservice</a></li> <li class="api apilevel-1"> <a href="../../../reference/android/provider/package-summary.html">android.provider</a></li> <li class="api apilevel-11"> <a href="../../../reference/android/renderscript/package-summary.html">android.renderscript</a></li> <li class="api apilevel-1"> <a href="../../../reference/android/sax/package-summary.html">android.sax</a></li> <li class="api apilevel-14"> <a href="../../../reference/android/security/package-summary.html">android.security</a></li> <li class="api apilevel-23"> <a href="../../../reference/android/security/keystore/package-summary.html">android.security.keystore</a></li> <li class="api apilevel-22"> <a href="../../../reference/android/service/carrier/package-summary.html">android.service.carrier</a></li> <li class="api apilevel-23"> <a href="../../../reference/android/service/chooser/package-summary.html">android.service.chooser</a></li> <li class="api apilevel-17"> <a href="../../../reference/android/service/dreams/package-summary.html">android.service.dreams</a></li> <li class="api apilevel-21"> <a href="../../../reference/android/service/media/package-summary.html">android.service.media</a></li> <li class="api apilevel-18"> <a href="../../../reference/android/service/notification/package-summary.html">android.service.notification</a></li> <li class="api apilevel-24"> <a href="../../../reference/android/service/quicksettings/package-summary.html">android.service.quicksettings</a></li> <li class="api apilevel-21"> <a href="../../../reference/android/service/restrictions/package-summary.html">android.service.restrictions</a></li> <li class="api apilevel-14"> <a href="../../../reference/android/service/textservice/package-summary.html">android.service.textservice</a></li> <li class="api apilevel-21"> <a href="../../../reference/android/service/voice/package-summary.html">android.service.voice</a></li> <li class="api apilevel-24"> <a href="../../../reference/android/service/vr/package-summary.html">android.service.vr</a></li> <li class="api apilevel-7"> <a href="../../../reference/android/service/wallpaper/package-summary.html">android.service.wallpaper</a></li> <li class="api apilevel-3"> <a href="../../../reference/android/speech/package-summary.html">android.speech</a></li> <li class="api apilevel-4"> <a href="../../../reference/android/speech/tts/package-summary.html">android.speech.tts</a></li> <li class="api apilevel-"> <a href="../../../reference/android/support/annotation/package-summary.html">android.support.annotation</a></li> <li class="api apilevel-"> <a href="../../../reference/android/support/annotations/package-summary.html">android.support.annotations</a></li> <li class="api apilevel-"> <a href="../../../reference/android/support/app/recommendation/package-summary.html">android.support.app.recommendation</a></li> <li class="api apilevel-"> <a href="../../../reference/android/support/customtabs/package-summary.html">android.support.customtabs</a></li> <li class="api apilevel-"> <a href="../../../reference/android/support/design/package-summary.html">android.support.design</a></li> <li class="api apilevel-"> <a href="../../../reference/android/support/design/widget/package-summary.html">android.support.design.widget</a></li> <li class="api apilevel-"> <a href="../../../reference/android/support/graphics/drawable/package-summary.html">android.support.graphics.drawable</a></li> <li class="api apilevel-"> <a href="../../../reference/android/support/multidex/package-summary.html">android.support.multidex</a></li> <li class="api apilevel-"> <a href="../../../reference/android/support/percent/package-summary.html">android.support.percent</a></li> <li class="api apilevel-"> <a href="../../../reference/android/support/provider/package-summary.html">android.support.provider</a></li> <li class="api apilevel-"> <a href="../../../reference/android/support/v13/app/package-summary.html">android.support.v13.app</a></li> <li class="api apilevel-"> <a href="../../../reference/android/support/v13/view/package-summary.html">android.support.v13.view</a></li> <li class="api apilevel-"> <a href="../../../reference/android/support/v14/preference/package-summary.html">android.support.v14.preference</a></li> <li class="api apilevel-"> <a href="../../../reference/android/support/v17/leanback/package-summary.html">android.support.v17.leanback</a></li> <li class="api apilevel-"> <a href="../../../reference/android/support/v17/leanback/app/package-summary.html">android.support.v17.leanback.app</a></li> <li class="api apilevel-"> <a href="../../../reference/android/support/v17/leanback/database/package-summary.html">android.support.v17.leanback.database</a></li> <li class="api apilevel-"> <a href="../../../reference/android/support/v17/leanback/graphics/package-summary.html">android.support.v17.leanback.graphics</a></li> <li class="api apilevel-"> <a href="../../../reference/android/support/v17/leanback/system/package-summary.html">android.support.v17.leanback.system</a></li> <li class="api apilevel-"> <a href="../../../reference/android/support/v17/leanback/widget/package-summary.html">android.support.v17.leanback.widget</a></li> <li class="api apilevel-"> <a href="../../../reference/android/support/v17/leanback/widget/picker/package-summary.html">android.support.v17.leanback.widget.picker</a></li> <li class="api apilevel-"> <a href="../../../reference/android/support/v17/preference/package-summary.html">android.support.v17.preference</a></li> <li class="api apilevel-"> <a href="../../../reference/android/support/v4/package-summary.html">android.support.v4</a></li> <li class="api apilevel-"> <a href="../../../reference/android/support/v4/accessibilityservice/package-summary.html">android.support.v4.accessibilityservice</a></li> <li class="api apilevel-"> <a href="../../../reference/android/support/v4/app/package-summary.html">android.support.v4.app</a></li> <li class="api apilevel-"> <a href="../../../reference/android/support/v4/content/package-summary.html">android.support.v4.content</a></li> <li class="api apilevel-"> <a href="../../../reference/android/support/v4/content/pm/package-summary.html">android.support.v4.content.pm</a></li> <li class="api apilevel-"> <a href="../../../reference/android/support/v4/content/res/package-summary.html">android.support.v4.content.res</a></li> <li class="api apilevel-"> <a href="../../../reference/android/support/v4/database/package-summary.html">android.support.v4.database</a></li> <li class="api apilevel-"> <a href="../../../reference/android/support/v4/graphics/package-summary.html">android.support.v4.graphics</a></li> <li class="api apilevel-"> <a href="../../../reference/android/support/v4/graphics/drawable/package-summary.html">android.support.v4.graphics.drawable</a></li> <li class="api apilevel-"> <a href="../../../reference/android/support/v4/hardware/display/package-summary.html">android.support.v4.hardware.display</a></li> <li class="api apilevel-"> <a href="../../../reference/android/support/v4/hardware/fingerprint/package-summary.html">android.support.v4.hardware.fingerprint</a></li> <li class="api apilevel-"> <a href="../../../reference/android/support/v4/media/package-summary.html">android.support.v4.media</a></li> <li class="api apilevel-"> <a href="../../../reference/android/support/v4/media/session/package-summary.html">android.support.v4.media.session</a></li> <li class="api apilevel-"> <a href="../../../reference/android/support/v4/net/package-summary.html">android.support.v4.net</a></li> <li class="api apilevel-"> <a href="../../../reference/android/support/v4/os/package-summary.html">android.support.v4.os</a></li> <li class="api apilevel-"> <a href="../../../reference/android/support/v4/print/package-summary.html">android.support.v4.print</a></li> <li class="api apilevel-"> <a href="../../../reference/android/support/v4/provider/package-summary.html">android.support.v4.provider</a></li> <li class="api apilevel-"> <a href="../../../reference/android/support/v4/text/package-summary.html">android.support.v4.text</a></li> <li class="api apilevel-"> <a href="../../../reference/android/support/v4/util/package-summary.html">android.support.v4.util</a></li> <li class="api apilevel-"> <a href="../../../reference/android/support/v4/view/package-summary.html">android.support.v4.view</a></li> <li class="api apilevel-"> <a href="../../../reference/android/support/v4/view/accessibility/package-summary.html">android.support.v4.view.accessibility</a></li> <li class="api apilevel-"> <a href="../../../reference/android/support/v4/view/animation/package-summary.html">android.support.v4.view.animation</a></li> <li class="api apilevel-"> <a href="../../../reference/android/support/v4/widget/package-summary.html">android.support.v4.widget</a></li> <li class="api apilevel-"> <a href="../../../reference/android/support/v7/app/package-summary.html">android.support.v7.app</a></li> <li class="api apilevel-"> <a href="../../../reference/android/support/v7/appcompat/package-summary.html">android.support.v7.appcompat</a></li> <li class="api apilevel-"> <a href="../../../reference/android/support/v7/cardview/package-summary.html">android.support.v7.cardview</a></li> <li class="api apilevel-"> <a href="../../../reference/android/support/v7/content/res/package-summary.html">android.support.v7.content.res</a></li> <li class="api apilevel-"> <a href="../../../reference/android/support/v7/graphics/package-summary.html">android.support.v7.graphics</a></li> <li class="api apilevel-"> <a href="../../../reference/android/support/v7/graphics/drawable/package-summary.html">android.support.v7.graphics.drawable</a></li> <li class="api apilevel-"> <a href="../../../reference/android/support/v7/gridlayout/package-summary.html">android.support.v7.gridlayout</a></li> <li class="api apilevel-"> <a href="../../../reference/android/support/v7/media/package-summary.html">android.support.v7.media</a></li> <li class="api apilevel-"> <a href="../../../reference/android/support/v7/mediarouter/package-summary.html">android.support.v7.mediarouter</a></li> <li class="api apilevel-"> <a href="../../../reference/android/support/v7/palette/package-summary.html">android.support.v7.palette</a></li> <li class="api apilevel-"> <a href="../../../reference/android/support/v7/preference/package-summary.html">android.support.v7.preference</a></li> <li class="api apilevel-"> <a href="../../../reference/android/support/v7/recyclerview/package-summary.html">android.support.v7.recyclerview</a></li> <li class="api apilevel-"> <a href="../../../reference/android/support/v7/util/package-summary.html">android.support.v7.util</a></li> <li class="api apilevel-"> <a href="../../../reference/android/support/v7/view/package-summary.html">android.support.v7.view</a></li> <li class="api apilevel-"> <a href="../../../reference/android/support/v7/widget/package-summary.html">android.support.v7.widget</a></li> <li class="api apilevel-"> <a href="../../../reference/android/support/v7/widget/helper/package-summary.html">android.support.v7.widget.helper</a></li> <li class="api apilevel-"> <a href="../../../reference/android/support/v7/widget/util/package-summary.html">android.support.v7.widget.util</a></li> <li class="api apilevel-"> <a href="../../../reference/android/support/v8/renderscript/package-summary.html">android.support.v8.renderscript</a></li> <li class="api apilevel-21"> <a href="../../../reference/android/system/package-summary.html">android.system</a></li> <li class="api apilevel-21"> <a href="../../../reference/android/telecom/package-summary.html">android.telecom</a></li> <li class="api apilevel-1"> <a href="../../../reference/android/telephony/package-summary.html">android.telephony</a></li> <li class="api apilevel-5"> <a href="../../../reference/android/telephony/cdma/package-summary.html">android.telephony.cdma</a></li> <li class="api apilevel-1"> <a href="../../../reference/android/telephony/gsm/package-summary.html">android.telephony.gsm</a></li> <li class="api apilevel-1"> <a href="../../../reference/android/test/package-summary.html">android.test</a></li> <li class="api apilevel-1"> <a href="../../../reference/android/test/mock/package-summary.html">android.test.mock</a></li> <li class="api apilevel-1"> <a href="../../../reference/android/test/suitebuilder/package-summary.html">android.test.suitebuilder</a></li> <li class="api apilevel-1"> <a href="../../../reference/android/test/suitebuilder/annotation/package-summary.html">android.test.suitebuilder.annotation</a></li> <li class="api apilevel-1"> <a href="../../../reference/android/text/package-summary.html">android.text</a></li> <li class="api apilevel-3"> <a href="../../../reference/android/text/format/package-summary.html">android.text.format</a></li> <li class="api apilevel-1"> <a href="../../../reference/android/text/method/package-summary.html">android.text.method</a></li> <li class="api apilevel-1"> <a href="../../../reference/android/text/style/package-summary.html">android.text.style</a></li> <li class="api apilevel-1"> <a href="../../../reference/android/text/util/package-summary.html">android.text.util</a></li> <li class="api apilevel-19"> <a href="../../../reference/android/transition/package-summary.html">android.transition</a></li> <li class="api apilevel-1"> <a href="../../../reference/android/util/package-summary.html">android.util</a></li> <li class="api apilevel-1"> <a href="../../../reference/android/view/package-summary.html">android.view</a></li> <li class="api apilevel-4"> <a href="../../../reference/android/view/accessibility/package-summary.html">android.view.accessibility</a></li> <li class="api apilevel-1"> <a href="../../../reference/android/view/animation/package-summary.html">android.view.animation</a></li> <li class="api apilevel-3"> <a href="../../../reference/android/view/inputmethod/package-summary.html">android.view.inputmethod</a></li> <li class="api apilevel-14"> <a href="../../../reference/android/view/textservice/package-summary.html">android.view.textservice</a></li> <li class="api apilevel-1"> <a href="../../../reference/android/webkit/package-summary.html">android.webkit</a></li> <li class="api apilevel-1"> <a href="../../../reference/android/widget/package-summary.html">android.widget</a></li> <li class="api apilevel-"> <a href="../../../reference/com/android/internal/backup/package-summary.html">com.android.internal.backup</a></li> <li class="api apilevel-"> <a href="../../../reference/com/android/internal/logging/package-summary.html">com.android.internal.logging</a></li> <li class="api apilevel-"> <a href="../../../reference/com/android/internal/os/package-summary.html">com.android.internal.os</a></li> <li class="api apilevel-"> <a href="../../../reference/com/android/internal/statusbar/package-summary.html">com.android.internal.statusbar</a></li> <li class="api apilevel-"> <a href="../../../reference/com/android/internal/widget/package-summary.html">com.android.internal.widget</a></li> <li class="api apilevel-"> <a href="../../../reference/com/android/test/runner/package-summary.html">com.android.test.runner</a></li> <li class="api apilevel-1"> <a href="../../../reference/dalvik/annotation/package-summary.html">dalvik.annotation</a></li> <li class="api apilevel-1"> <a href="../../../reference/dalvik/bytecode/package-summary.html">dalvik.bytecode</a></li> <li class="api apilevel-1"> <a href="../../../reference/dalvik/system/package-summary.html">dalvik.system</a></li> <li class="api apilevel-1"> <a href="../../../reference/java/awt/font/package-summary.html">java.awt.font</a></li> <li class="api apilevel-3"> <a href="../../../reference/java/beans/package-summary.html">java.beans</a></li> <li class="api apilevel-1"> <a href="../../../reference/java/io/package-summary.html">java.io</a></li> <li class="api apilevel-1"> <a href="../../../reference/java/lang/package-summary.html">java.lang</a></li> <li class="api apilevel-1"> <a href="../../../reference/java/lang/annotation/package-summary.html">java.lang.annotation</a></li> <li class="api apilevel-1"> <a href="../../../reference/java/lang/ref/package-summary.html">java.lang.ref</a></li> <li class="api apilevel-1"> <a href="../../../reference/java/lang/reflect/package-summary.html">java.lang.reflect</a></li> <li class="api apilevel-1"> <a href="../../../reference/java/math/package-summary.html">java.math</a></li> <li class="api apilevel-1"> <a href="../../../reference/java/net/package-summary.html">java.net</a></li> <li class="api apilevel-1"> <a href="../../../reference/java/nio/package-summary.html">java.nio</a></li> <li class="api apilevel-1"> <a href="../../../reference/java/nio/channels/package-summary.html">java.nio.channels</a></li> <li class="api apilevel-1"> <a href="../../../reference/java/nio/channels/spi/package-summary.html">java.nio.channels.spi</a></li> <li class="api apilevel-1"> <a href="../../../reference/java/nio/charset/package-summary.html">java.nio.charset</a></li> <li class="api apilevel-1"> <a href="../../../reference/java/nio/charset/spi/package-summary.html">java.nio.charset.spi</a></li> <li class="api apilevel-1"> <a href="../../../reference/java/security/package-summary.html">java.security</a></li> <li class="api apilevel-1"> <a href="../../../reference/java/security/acl/package-summary.html">java.security.acl</a></li> <li class="api apilevel-1"> <a href="../../../reference/java/security/cert/package-summary.html">java.security.cert</a></li> <li class="api apilevel-1"> <a href="../../../reference/java/security/interfaces/package-summary.html">java.security.interfaces</a></li> <li class="api apilevel-1"> <a href="../../../reference/java/security/spec/package-summary.html">java.security.spec</a></li> <li class="api apilevel-1"> <a href="../../../reference/java/sql/package-summary.html">java.sql</a></li> <li class="api apilevel-1"> <a href="../../../reference/java/text/package-summary.html">java.text</a></li> <li class="api apilevel-1"> <a href="../../../reference/java/util/package-summary.html">java.util</a></li> <li class="api apilevel-1"> <a href="../../../reference/java/util/concurrent/package-summary.html">java.util.concurrent</a></li> <li class="api apilevel-1"> <a href="../../../reference/java/util/concurrent/atomic/package-summary.html">java.util.concurrent.atomic</a></li> <li class="api apilevel-1"> <a href="../../../reference/java/util/concurrent/locks/package-summary.html">java.util.concurrent.locks</a></li> <li class="api apilevel-24"> <a href="../../../reference/java/util/function/package-summary.html">java.util.function</a></li> <li class="api apilevel-1"> <a href="../../../reference/java/util/jar/package-summary.html">java.util.jar</a></li> <li class="api apilevel-1"> <a href="../../../reference/java/util/logging/package-summary.html">java.util.logging</a></li> <li class="api apilevel-1"> <a href="../../../reference/java/util/prefs/package-summary.html">java.util.prefs</a></li> <li class="api apilevel-1"> <a href="../../../reference/java/util/regex/package-summary.html">java.util.regex</a></li> <li class="api apilevel-24"> <a href="../../../reference/java/util/stream/package-summary.html">java.util.stream</a></li> <li class="api apilevel-1"> <a href="../../../reference/java/util/zip/package-summary.html">java.util.zip</a></li> <li class="api apilevel-1"> <a href="../../../reference/javax/crypto/package-summary.html">javax.crypto</a></li> <li class="api apilevel-1"> <a href="../../../reference/javax/crypto/interfaces/package-summary.html">javax.crypto.interfaces</a></li> <li class="api apilevel-1"> <a href="../../../reference/javax/crypto/spec/package-summary.html">javax.crypto.spec</a></li> <li class="api apilevel-1"> <a href="../../../reference/javax/microedition/khronos/egl/package-summary.html">javax.microedition.khronos.egl</a></li> <li class="api apilevel-1"> <a href="../../../reference/javax/microedition/khronos/opengles/package-summary.html">javax.microedition.khronos.opengles</a></li> <li class="api apilevel-1"> <a href="../../../reference/javax/net/package-summary.html">javax.net</a></li> <li class="api apilevel-1"> <a href="../../../reference/javax/net/ssl/package-summary.html">javax.net.ssl</a></li> <li class="api apilevel-1"> <a href="../../../reference/javax/security/auth/package-summary.html">javax.security.auth</a></li> <li class="api apilevel-1"> <a href="../../../reference/javax/security/auth/callback/package-summary.html">javax.security.auth.callback</a></li> <li class="api apilevel-1"> <a href="../../../reference/javax/security/auth/login/package-summary.html">javax.security.auth.login</a></li> <li class="api apilevel-1"> <a href="../../../reference/javax/security/auth/x500/package-summary.html">javax.security.auth.x500</a></li> <li class="api apilevel-1"> <a href="../../../reference/javax/security/cert/package-summary.html">javax.security.cert</a></li> <li class="api apilevel-1"> <a href="../../../reference/javax/sql/package-summary.html">javax.sql</a></li> <li class="api apilevel-1"> <a href="../../../reference/javax/xml/package-summary.html">javax.xml</a></li> <li class="api apilevel-8"> <a href="../../../reference/javax/xml/datatype/package-summary.html">javax.xml.datatype</a></li> <li class="api apilevel-8"> <a href="../../../reference/javax/xml/namespace/package-summary.html">javax.xml.namespace</a></li> <li class="api apilevel-1"> <a href="../../../reference/javax/xml/parsers/package-summary.html">javax.xml.parsers</a></li> <li class="api apilevel-8"> <a href="../../../reference/javax/xml/transform/package-summary.html">javax.xml.transform</a></li> <li class="api apilevel-8"> <a href="../../../reference/javax/xml/transform/dom/package-summary.html">javax.xml.transform.dom</a></li> <li class="api apilevel-8"> <a href="../../../reference/javax/xml/transform/sax/package-summary.html">javax.xml.transform.sax</a></li> <li class="api apilevel-8"> <a href="../../../reference/javax/xml/transform/stream/package-summary.html">javax.xml.transform.stream</a></li> <li class="api apilevel-8"> <a href="../../../reference/javax/xml/validation/package-summary.html">javax.xml.validation</a></li> <li class="api apilevel-8"> <a href="../../../reference/javax/xml/xpath/package-summary.html">javax.xml.xpath</a></li> <li class="api apilevel-1"> <a href="../../../reference/junit/framework/package-summary.html">junit.framework</a></li> <li class="api apilevel-1"> <a href="../../../reference/junit/runner/package-summary.html">junit.runner</a></li> <li class="api apilevel-1"> <a href="../../../reference/org/apache/http/conn/package-summary.html">org.apache.http.conn</a></li> <li class="api apilevel-1"> <a href="../../../reference/org/apache/http/conn/scheme/package-summary.html">org.apache.http.conn.scheme</a></li> <li class="api apilevel-1"> <a href="../../../reference/org/apache/http/conn/ssl/package-summary.html">org.apache.http.conn.ssl</a></li> <li class="api apilevel-1"> <a href="../../../reference/org/apache/http/params/package-summary.html">org.apache.http.params</a></li> <li class="api apilevel-1"> <a href="../../../reference/org/json/package-summary.html">org.json</a></li> <li class="api apilevel-1"> <a href="../../../reference/org/w3c/dom/package-summary.html">org.w3c.dom</a></li> <li class="api apilevel-8"> <a href="../../../reference/org/w3c/dom/ls/package-summary.html">org.w3c.dom.ls</a></li> <li class="api apilevel-1"> <a href="../../../reference/org/xml/sax/package-summary.html">org.xml.sax</a></li> <li class="api apilevel-1"> <a href="../../../reference/org/xml/sax/ext/package-summary.html">org.xml.sax.ext</a></li> <li class="api apilevel-1"> <a href="../../../reference/org/xml/sax/helpers/package-summary.html">org.xml.sax.helpers</a></li> <li class="api apilevel-1"> <a href="../../../reference/org/xmlpull/v1/package-summary.html">org.xmlpull.v1</a></li> <li class="api apilevel-1"> <a href="../../../reference/org/xmlpull/v1/sax2/package-summary.html">org.xmlpull.v1.sax2</a></li> </ul> <ul data-reference-resources> <li><h2>Interfaces</h2> <ul> <li class="api apilevel-11"><a href="../../../reference/android/app/ActionBar.OnMenuVisibilityListener.html">ActionBar.OnMenuVisibilityListener</a></li> <li class="api apilevel-11"><a href="../../../reference/android/app/ActionBar.OnNavigationListener.html">ActionBar.OnNavigationListener</a></li> <li class="api apilevel-11"><a href="../../../reference/android/app/ActionBar.TabListener.html">ActionBar.TabListener</a></li> <li class="api apilevel-24"><a href="../../../reference/android/app/AlarmManager.OnAlarmListener.html">AlarmManager.OnAlarmListener</a></li> <li class="api apilevel-14"><a href="../../../reference/android/app/Application.ActivityLifecycleCallbacks.html">Application.ActivityLifecycleCallbacks</a></li> <li class="api apilevel-18"><a href="../../../reference/android/app/Application.OnProvideAssistDataListener.html">Application.OnProvideAssistDataListener</a></li> <li class="api apilevel-19"><a href="../../../reference/android/app/AppOpsManager.OnOpChangedListener.html">AppOpsManager.OnOpChangedListener</a></li> <li class="api apilevel-1"><a href="../../../reference/android/app/DatePickerDialog.OnDateSetListener.html">DatePickerDialog.OnDateSetListener</a></li> <li class="api apilevel-12"><a href="../../../reference/android/app/FragmentBreadCrumbs.OnBreadCrumbClickListener.html">FragmentBreadCrumbs.OnBreadCrumbClickListener</a></li> <li class="api apilevel-11"><a href="../../../reference/android/app/FragmentManager.BackStackEntry.html">FragmentManager.BackStackEntry</a></li> <li class="api apilevel-11"><a href="../../../reference/android/app/FragmentManager.OnBackStackChangedListener.html">FragmentManager.OnBackStackChangedListener</a></li> <li class="api apilevel-1"><a href="../../../reference/android/app/KeyguardManager.OnKeyguardExitResult.html">KeyguardManager.OnKeyguardExitResult</a></li> <li class="api apilevel-11"><a href="../../../reference/android/app/LoaderManager.LoaderCallbacks.html">LoaderManager.LoaderCallbacks</a></li> <li class="api apilevel-20"><a href="../../../reference/android/app/Notification.Action.Extender.html">Notification.Action.Extender</a></li> <li class="api apilevel-20"><a href="../../../reference/android/app/Notification.Extender.html">Notification.Extender</a></li> <li class="api apilevel-1"><a href="../../../reference/android/app/PendingIntent.OnFinished.html">PendingIntent.OnFinished</a></li> <li class="api apilevel-1"><a href="../../../reference/android/app/SearchManager.OnCancelListener.html">SearchManager.OnCancelListener</a></li> <li class="api apilevel-1"><a href="../../../reference/android/app/SearchManager.OnDismissListener.html">SearchManager.OnDismissListener</a></li> <li class="api apilevel-23"><a href="../../../reference/android/app/SharedElementCallback.OnSharedElementsReadyListener.html">SharedElementCallback.OnSharedElementsReadyListener</a></li> <li class="api apilevel-1"><a href="../../../reference/android/app/TimePickerDialog.OnTimeSetListener.html">TimePickerDialog.OnTimeSetListener</a></li> <li class="api apilevel-18"><a href="../../../reference/android/app/UiAutomation.AccessibilityEventFilter.html">UiAutomation.AccessibilityEventFilter</a></li> <li class="api apilevel-18"><a href="../../../reference/android/app/UiAutomation.OnAccessibilityEventListener.html">UiAutomation.OnAccessibilityEventListener</a></li> </ul> </li> <li><h2>Classes</h2> <ul> <li class="api apilevel-11"><a href="../../../reference/android/app/ActionBar.html">ActionBar</a></li> <li class="api apilevel-11"><a href="../../../reference/android/app/ActionBar.LayoutParams.html">ActionBar.LayoutParams</a></li> <li class="api apilevel-11"><a href="../../../reference/android/app/ActionBar.Tab.html">ActionBar.Tab</a></li> <li class="api apilevel-1"><a href="../../../reference/android/app/Activity.html">Activity</a></li> <li class="api apilevel-1"><a href="../../../reference/android/app/ActivityGroup.html">ActivityGroup</a></li> <li class="api apilevel-1"><a href="../../../reference/android/app/ActivityManager.html">ActivityManager</a></li> <li class="api apilevel-21"><a href="../../../reference/android/app/ActivityManager.AppTask.html">ActivityManager.AppTask</a></li> <li class="api apilevel-1"><a href="../../../reference/android/app/ActivityManager.MemoryInfo.html">ActivityManager.MemoryInfo</a></li> <li class="api apilevel-1"><a href="../../../reference/android/app/ActivityManager.ProcessErrorStateInfo.html">ActivityManager.ProcessErrorStateInfo</a></li> <li class="api apilevel-1"><a href="../../../reference/android/app/ActivityManager.RecentTaskInfo.html">ActivityManager.RecentTaskInfo</a></li> <li class="api apilevel-3"><a href="../../../reference/android/app/ActivityManager.RunningAppProcessInfo.html">ActivityManager.RunningAppProcessInfo</a></li> <li class="api apilevel-1"><a href="../../../reference/android/app/ActivityManager.RunningServiceInfo.html">ActivityManager.RunningServiceInfo</a></li> <li class="api apilevel-1"><a href="../../../reference/android/app/ActivityManager.RunningTaskInfo.html">ActivityManager.RunningTaskInfo</a></li> <li class="api apilevel-21"><a href="../../../reference/android/app/ActivityManager.TaskDescription.html">ActivityManager.TaskDescription</a></li> <li class="api apilevel-16"><a href="../../../reference/android/app/ActivityOptions.html">ActivityOptions</a></li> <li class="api apilevel-1"><a href="../../../reference/android/app/AlarmManager.html">AlarmManager</a></li> <li class="api apilevel-21"><a href="../../../reference/android/app/AlarmManager.AlarmClockInfo.html">AlarmManager.AlarmClockInfo</a></li> <li class="api apilevel-1"><a href="../../../reference/android/app/AlertDialog.html">AlertDialog</a></li> <li class="api apilevel-1"><a href="../../../reference/android/app/AlertDialog.Builder.html">AlertDialog.Builder</a></li> <li class="api apilevel-1"><a href="../../../reference/android/app/AliasActivity.html">AliasActivity</a></li> <li class="api apilevel-1"><a href="../../../reference/android/app/Application.html">Application</a></li> <li class="api apilevel-14"><a href="../../../reference/android/app/ApplicationErrorReport.html">ApplicationErrorReport</a></li> <li class="api apilevel-14"><a href="../../../reference/android/app/ApplicationErrorReport.AnrInfo.html">ApplicationErrorReport.AnrInfo</a></li> <li class="api apilevel-14"><a href="../../../reference/android/app/ApplicationErrorReport.BatteryInfo.html">ApplicationErrorReport.BatteryInfo</a></li> <li class="api apilevel-14"><a href="../../../reference/android/app/ApplicationErrorReport.CrashInfo.html">ApplicationErrorReport.CrashInfo</a></li> <li class="api apilevel-14"><a href="../../../reference/android/app/ApplicationErrorReport.RunningServiceInfo.html">ApplicationErrorReport.RunningServiceInfo</a></li> <li class="api apilevel-19"><a href="../../../reference/android/app/AppOpsManager.html">AppOpsManager</a></li> <li class="api apilevel-24"><a href="../../../reference/android/app/AutomaticZenRule.html">AutomaticZenRule</a></li> <li class="api apilevel-1"><a href="../../../reference/android/app/DatePickerDialog.html">DatePickerDialog</a></li> <li class="api apilevel-1"><a href="../../../reference/android/app/Dialog.html">Dialog</a></li> <li class="api apilevel-11"><a href="../../../reference/android/app/DialogFragment.html">DialogFragment</a></li> <li class="api apilevel-9"><a href="../../../reference/android/app/DownloadManager.html">DownloadManager</a></li> <li class="api apilevel-9"><a href="../../../reference/android/app/DownloadManager.Query.html">DownloadManager.Query</a></li> <li class="api apilevel-9"><a href="../../../reference/android/app/DownloadManager.Request.html">DownloadManager.Request</a></li> <li class="api apilevel-1"><a href="../../../reference/android/app/ExpandableListActivity.html">ExpandableListActivity</a></li> <li class="api apilevel-11"><a href="../../../reference/android/app/Fragment.html">Fragment</a></li> <li class="api apilevel-13"><a href="../../../reference/android/app/Fragment.SavedState.html">Fragment.SavedState</a></li> <li class="api apilevel-11"><a href="../../../reference/android/app/FragmentBreadCrumbs.html">FragmentBreadCrumbs</a></li> <li class="api apilevel-23"><a href="../../../reference/android/app/FragmentContainer.html">FragmentContainer</a></li> <li class="api apilevel-23"><a href="../../../reference/android/app/FragmentController.html">FragmentController</a></li> <li class="api apilevel-23"><a href="../../../reference/android/app/FragmentHostCallback.html">FragmentHostCallback</a></li> <li class="api apilevel-11"><a href="../../../reference/android/app/FragmentManager.html">FragmentManager</a></li> <li class="api apilevel-24"><a href="../../../reference/android/app/FragmentManagerNonConfig.html">FragmentManagerNonConfig</a></li> <li class="api apilevel-11"><a href="../../../reference/android/app/FragmentTransaction.html">FragmentTransaction</a></li> <li class="api apilevel-1"><a href="../../../reference/android/app/Instrumentation.html">Instrumentation</a></li> <li class="api apilevel-1"><a href="../../../reference/android/app/Instrumentation.ActivityMonitor.html">Instrumentation.ActivityMonitor</a></li> <li class="api apilevel-1"><a href="../../../reference/android/app/Instrumentation.ActivityResult.html">Instrumentation.ActivityResult</a></li> <li class="api apilevel-3"><a href="../../../reference/android/app/IntentService.html">IntentService</a></li> <li class="api apilevel-1"><a href="../../../reference/android/app/KeyguardManager.html">KeyguardManager</a></li> <li class="api apilevel-1"><a href="../../../reference/android/app/KeyguardManager.KeyguardLock.html">KeyguardManager.KeyguardLock</a></li> <li class="api apilevel-1"><a href="../../../reference/android/app/LauncherActivity.html">LauncherActivity</a></li> <li class="api apilevel-3"><a href="../../../reference/android/app/LauncherActivity.IconResizer.html">LauncherActivity.IconResizer</a></li> <li class="api apilevel-3"><a href="../../../reference/android/app/LauncherActivity.ListItem.html">LauncherActivity.ListItem</a></li> <li class="api apilevel-1"><a href="../../../reference/android/app/ListActivity.html">ListActivity</a></li> <li class="api apilevel-11"><a href="../../../reference/android/app/ListFragment.html">ListFragment</a></li> <li class="api apilevel-11"><a href="../../../reference/android/app/LoaderManager.html">LoaderManager</a></li> <li class="api apilevel-1"><a href="../../../reference/android/app/LocalActivityManager.html">LocalActivityManager</a></li> <li class="api apilevel-16"><a href="../../../reference/android/app/MediaRouteActionProvider.html">MediaRouteActionProvider</a></li> <li class="api apilevel-16"><a href="../../../reference/android/app/MediaRouteButton.html">MediaRouteButton</a></li> <li class="api apilevel-9"><a href="../../../reference/android/app/NativeActivity.html">NativeActivity</a></li> <li class="api apilevel-1"><a href="../../../reference/android/app/Notification.html">Notification</a></li> <li class="api apilevel-19"><a href="../../../reference/android/app/Notification.Action.html">Notification.Action</a></li> <li class="api apilevel-20"><a href="../../../reference/android/app/Notification.Action.Builder.html">Notification.Action.Builder</a></li> <li class="api apilevel-20"><a href="../../../reference/android/app/Notification.Action.WearableExtender.html">Notification.Action.WearableExtender</a></li> <li class="api apilevel-16"><a href="../../../reference/android/app/Notification.BigPictureStyle.html">Notification.BigPictureStyle</a></li> <li class="api apilevel-16"><a href="../../../reference/android/app/Notification.BigTextStyle.html">Notification.BigTextStyle</a></li> <li class="api apilevel-11"><a href="../../../reference/android/app/Notification.Builder.html">Notification.Builder</a></li> <li class="api apilevel-23"><a href="../../../reference/android/app/Notification.CarExtender.html">Notification.CarExtender</a></li> <li class="api apilevel-23"><a href="../../../reference/android/app/Notification.CarExtender.Builder.html">Notification.CarExtender.Builder</a></li> <li class="api apilevel-23"><a href="../../../reference/android/app/Notification.CarExtender.UnreadConversation.html">Notification.CarExtender.UnreadConversation</a></li> <li class="api apilevel-24"><a href="../../../reference/android/app/Notification.DecoratedCustomViewStyle.html">Notification.DecoratedCustomViewStyle</a></li> <li class="api apilevel-24"><a href="../../../reference/android/app/Notification.DecoratedMediaCustomViewStyle.html">Notification.DecoratedMediaCustomViewStyle</a></li> <li class="api apilevel-16"><a href="../../../reference/android/app/Notification.InboxStyle.html">Notification.InboxStyle</a></li> <li class="api apilevel-21"><a href="../../../reference/android/app/Notification.MediaStyle.html">Notification.MediaStyle</a></li> <li class="api apilevel-24"><a href="../../../reference/android/app/Notification.MessagingStyle.html">Notification.MessagingStyle</a></li> <li class="api apilevel-24"><a href="../../../reference/android/app/Notification.MessagingStyle.Message.html">Notification.MessagingStyle.Message</a></li> <li class="api apilevel-16"><a href="../../../reference/android/app/Notification.Style.html">Notification.Style</a></li> <li class="api apilevel-20"><a href="../../../reference/android/app/Notification.WearableExtender.html">Notification.WearableExtender</a></li> <li class="api apilevel-1"><a href="../../../reference/android/app/NotificationManager.html">NotificationManager</a></li> <li class="api apilevel-23"><a href="../../../reference/android/app/NotificationManager.Policy.html">NotificationManager.Policy</a></li> <li class="api apilevel-1"><a href="../../../reference/android/app/PendingIntent.html">PendingIntent</a></li> <li class="api apilevel-17"><a href="../../../reference/android/app/Presentation.html">Presentation</a></li> <li class="api apilevel-1"><a href="../../../reference/android/app/ProgressDialog.html">ProgressDialog</a></li> <li class="api apilevel-20"><a href="../../../reference/android/app/RemoteInput.html">RemoteInput</a></li> <li class="api apilevel-20"><a href="../../../reference/android/app/RemoteInput.Builder.html">RemoteInput.Builder</a></li> <li class="api apilevel-8"><a href="../../../reference/android/app/SearchableInfo.html">SearchableInfo</a></li> <li class="api apilevel-1"><a href="../../../reference/android/app/SearchManager.html">SearchManager</a></li> <li class="api apilevel-1"><a href="../../../reference/android/app/Service.html">Service</a></li> <li class="api apilevel-21"><a href="../../../reference/android/app/SharedElementCallback.html">SharedElementCallback</a></li> <li class="api apilevel-1"><a href="../../../reference/android/app/TabActivity.html">TabActivity</a></li> <li class="api apilevel-16"><a href="../../../reference/android/app/TaskStackBuilder.html">TaskStackBuilder</a></li> <li class="api apilevel-1"><a href="../../../reference/android/app/TimePickerDialog.html">TimePickerDialog</a></li> <li class="api apilevel-18"><a href="../../../reference/android/app/UiAutomation.html">UiAutomation</a></li> <li class="api apilevel-8"><a href="../../../reference/android/app/UiModeManager.html">UiModeManager</a></li> <li class="api apilevel-23"><a href="../../../reference/android/app/VoiceInteractor.html">VoiceInteractor</a></li> <li class="api apilevel-23"><a href="../../../reference/android/app/VoiceInteractor.AbortVoiceRequest.html">VoiceInteractor.AbortVoiceRequest</a></li> <li class="api apilevel-23"><a href="../../../reference/android/app/VoiceInteractor.CommandRequest.html">VoiceInteractor.CommandRequest</a></li> <li class="api apilevel-23"><a href="../../../reference/android/app/VoiceInteractor.CompleteVoiceRequest.html">VoiceInteractor.CompleteVoiceRequest</a></li> <li class="api apilevel-23"><a href="../../../reference/android/app/VoiceInteractor.ConfirmationRequest.html">VoiceInteractor.ConfirmationRequest</a></li> <li class="api apilevel-23"><a href="../../../reference/android/app/VoiceInteractor.PickOptionRequest.html">VoiceInteractor.PickOptionRequest</a></li> <li class="api apilevel-23"><a href="../../../reference/android/app/VoiceInteractor.PickOptionRequest.Option.html">VoiceInteractor.PickOptionRequest.Option</a></li> <li class="api apilevel-23"><a href="../../../reference/android/app/VoiceInteractor.Prompt.html">VoiceInteractor.Prompt</a></li> <li class="api apilevel-23"><a href="../../../reference/android/app/VoiceInteractor.Request.html">VoiceInteractor.Request</a></li> <li class="api apilevel-7"><a href="../../../reference/android/app/WallpaperInfo.html">WallpaperInfo</a></li> <li class="api apilevel-5"><a href="../../../reference/android/app/WallpaperManager.html">WallpaperManager</a></li> </ul> </li> <li><h2>Exceptions</h2> <ul> <li class="api apilevel-11"><a href="../../../reference/android/app/Fragment.InstantiationException.html">Fragment.InstantiationException</a></li> <li class="api apilevel-1"><a href="../../../reference/android/app/PendingIntent.CanceledException.html">PendingIntent.CanceledException</a></li> </ul> </li> </ul> </div> </div> </div> <ul id="dac-main-navigation" class="dac-nav-list dac-swap-section dac-left dac-no-anim"> <li class="dac-nav-item home"> <a class="dac-nav-link" href="../../../index.html">Home</a> <i class="dac-sprite dac-expand-more-black dac-nav-sub-slider"></i> <ul class="dac-nav-secondary about"> <li class="dac-nav-item versions"> <a class="dac-nav-link" href="../../../about/versions/marshmallow/index.html">Android</a> </li> <li class="dac-nav-item wear"> <a class="dac-nav-link" href="../../../wear/index.html">Wear</a> </li> <li class="dac-nav-item tv"> <a class="dac-nav-link" href="../../../tv/index.html">TV</a> </li> <li class="dac-nav-item auto"> <a class="dac-nav-link" href="../../../auto/index.html">Auto</a> </li> </ul> </li> <li class="dac-nav-item design"> <a class="dac-nav-link" href="../../../design/index.html" zh-tw-lang="設計" zh-cn-lang="设计" ru-lang="Проектирование" ko-lang="디자인" ja-lang="設計" es-lang="Diseñar">Design</a> </li> <li class="dac-nav-item develop"> <a class="dac-nav-link" href="../../../develop/index.html" zh-tw-lang="開發" zh-cn-lang="开发" ru-lang="Разработка" ko-lang="개발" ja-lang="開発" es-lang="Desarrollar">Develop</a> <i class="dac-sprite dac-expand-more-black dac-nav-sub-slider"></i> <ul class="dac-nav-secondary develop"> <li class="dac-nav-item training"> <a class="dac-nav-link" href="../../../training/index.html" zh-tw-lang="訓練課程" zh-cn-lang="培训" ru-lang="Курсы" ko-lang="교육" ja-lang="トレーニング" es-lang="Capacitación">Training</a> </li> <li class="dac-nav-item guide"> <a class="dac-nav-link" href="../../../guide/index.html" zh-tw-lang="API 指南" zh-cn-lang="API 指南" ru-lang="Руководства по API" ko-lang="API 가이드" ja-lang="API ガイド" es-lang="Guías de la API">API Guides</a> </li> <li class="dac-nav-item reference"> <a class="dac-nav-link" href="../../../reference/packages.html" zh-tw-lang="參考資源" zh-cn-lang="参考" ru-lang="Справочник" ko-lang="참조문서" ja-lang="リファレンス" es-lang="Referencia">Reference</a> </li> <li class="dac-nav-item tools"> <a class="dac-nav-link" href="../../../sdk/index.html" zh-tw-lang="相關工具" zh-cn-lang="工具" ru-lang="Инструменты" ko-lang="도구" ja-lang="ツール" es-lang="Herramientas">Tools</a></li> <li class="dac-nav-item google"> <a class="dac-nav-link" href="../../../google/index.html">Google Services</a> </li> </ul> </li> <li class="dac-nav-item distribute"> <a class="dac-nav-link" href="../../../distribute/googleplay/index.html" zh-tw-lang="發佈" zh-cn-lang="分发" ru-lang="Распространение" ko-lang="배포" ja-lang="配布" es-lang="Distribuir">Distribute</a> <i class="dac-sprite dac-expand-more-black dac-nav-sub-slider"></i> <ul class="dac-nav-secondary distribute"> <li class="dac-nav-item googleplay"> <a class="dac-nav-link" href="../../../distribute/googleplay/index.html">Google Play</a></li> <li class="dac-nav-item essentials"> <a class="dac-nav-link" href="../../../distribute/essentials/index.html">Essentials</a></li> <li class="dac-nav-item users"> <a class="dac-nav-link" href="../../../distribute/users/index.html">Get Users</a></li> <li class="dac-nav-item engage"> <a class="dac-nav-link" href="../../../distribute/engage/index.html">Engage & Retain</a></li> <li class="dac-nav-item monetize"> <a class="dac-nav-link" href="../../../distribute/monetize/index.html">Earn</a> </li> <li class="dac-nav-item analyze"> <a class="dac-nav-link" href="../../../distribute/analyze/index.html">Analyze</a> </li> <li class="dac-nav-item stories"> <a class="dac-nav-link" href="../../../distribute/stories/index.html">Stories</a> </li> </ul> </li> <li class="dac-nav-item preview"> <a class="dac-nav-link" href="../../../preview/index.html">Preview</a> </li> </ul> </div> </div> </nav> <!-- end navigation--> <!-- Nav Setup --> <script>$('[data-dac-nav]').dacNav();</script> <div class="wrap clearfix" id="body-content"> <div id="search-results" class="dac-search-results"> <div id="dac-search-results-history" class="dac-search-results-history"> <div class="wrap dac-search-results-history-wrap"> <div class="cols"> <div class="col-1of2 col-tablet-1of2 col-mobile-1of1"> <h2>Most visited</h2> <div class="resource-flow-layout" data-history-query="history:most/visited" data-maxresults="3" data-cardsizes="18x2"></div> </div> <div class="col-1of2 col-tablet-1of2 col-mobile-1of1"> <h2>Recently visited</h2> <div class="resource-flow-layout cols" data-history-query="history:recent" data-allow-duplicates="true" data-maxresults="3" data-cardsizes="18x2"></div> </div> </div> </div> </div> <div id="dac-search-results-content" class="dac-search-results-content"> <div class="dac-search-results-metadata wrap"> <div class="dac-search-results-for"> <h2>Results for <span id="search-results-for"></span></h2> </div> <div id="dac-search-results-hero"></div> <div class="dac-search-results-hero cols"> <div id="dac-search-results-reference" class="col-3of6 col-tablet-1of2 col-mobile-1of1"> <div class="suggest-card reference no-display"> <ul class="dac-search-results-reference"> </ul> </div> </div> <div id="dac-custom-search-results"></div> </div> </div> </div> </div> <div id="naMessage"></div> <div id="api-info-block"> <div class="api-level"> Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> </div> </div> <div class="api apilevel-1" id="jd-content"> <h1>android.app</h1> <p>Contains high-level classes encapsulating the overall Android application model.</p> <p>An Android application is defined using one or more of Android's four core application components. Two such application components are defined in this package: <code><a href="../../../reference/android/app/Activity.html">Activity</a></code> and <code><a href="../../../reference/android/app/Service.html">Service</a></code>. The other two components are from the <code><a href="../../../reference/android/content/package-summary.html">android.content</a></code> package: <code><a href="../../../reference/android/content/BroadcastReceiver.html">BroadcastReceiver</a></code> and <code><a href="../../../reference/android/content/ContentProvider.html">ContentProvider</a></code>.</p> <p>An <code><a href="../../../reference/android/app/Activity.html">Activity</a></code> is an application component that provides a screen with which users can interact in order to do something, such as dial the phone, take a photo, send an email, or view a map. An activity can start other activities, including activities that live in separate applications.</p> <p>A <code><a href="../../../reference/android/app/Service.html">Service</a></code> is an application component that can perform long-running operations in the background without a user interface. For example, a service can handle network transactions, play music, or work with a content provider without the user being aware of the work going on.</p> <p>The <code><a href="../../../reference/android/app/Fragment.html">Fragment</a></code> class is also an important part of an application's design—especially when designing for large screen devices, such as tablets. A fragment defines a distinct part of an activity's behavior, including the associated UI. It has its own lifecycle that is similar to that of the activity and can exist alongside other fragments that are embedded in the activity. While an activity is running, you can add and remove fragments and include each fragment in a back stack that's managed by the activity—allowing the user to navigate backwards through the fragment states, without leaving the activity.</p> <p>This package also defines application utilities, such as dialogs, notifications, and the action bar.</p> <p>For information about using some the classes in this package, see the following documents: <a href="../../../guide/topics/fundamentals/activities.html">Activities</a>, <a href="../../../guide/topics/fundamentals/services.html">Services</a>, <a href="../../../guide/topics/fundamentals/fragments.html">Fragments</a>, <a href="../../../guide/topics/ui/actionbar.html">Using the Action Bar</a>, <a href="../../../guide/topics/ui/dialogs.html">Creating Dialogs</a>, and <a href="../../../guide/topics/ui/notifiers/index.html">Notifying the User</a>.</p> <h2>Interfaces</h2> <table class="jd-sumtable-expando"> <tr class="alt-color api apilevel-11" > <td class="jd-linkcol"><a href="../../../reference/android/app/ActionBar.OnMenuVisibilityListener.html">ActionBar.OnMenuVisibilityListener</a></td> <td class="jd-descrcol" width="100%"> Listener for receiving events when action bar menus are shown or hidden. </td> </tr> <tr class=" api apilevel-11" > <td class="jd-linkcol"><a href="../../../reference/android/app/ActionBar.OnNavigationListener.html">ActionBar.OnNavigationListener</a></td> <td class="jd-descrcol" width="100%"> <em> This interface was deprecated in API level 21. Action bar navigation modes are deprecated and not supported by inline toolbar action bars. Consider using other <a href="http://developer.android.com/design/patterns/navigation.html">common navigation patterns</a> instead. </em> </td> </tr> <tr class="alt-color api apilevel-11" > <td class="jd-linkcol"><a href="../../../reference/android/app/ActionBar.TabListener.html">ActionBar.TabListener</a></td> <td class="jd-descrcol" width="100%"> <em> This interface was deprecated in API level 21. Action bar navigation modes are deprecated and not supported by inline toolbar action bars. Consider using other <a href="http://developer.android.com/design/patterns/navigation.html">common navigation patterns</a> instead. </em> </td> </tr> <tr class=" api apilevel-24" > <td class="jd-linkcol"><a href="../../../reference/android/app/AlarmManager.OnAlarmListener.html">AlarmManager.OnAlarmListener</a></td> <td class="jd-descrcol" width="100%"> Direct-notification alarms: the requester must be running continuously from the time the alarm is set to the time it is delivered, or delivery will fail. </td> </tr> <tr class="alt-color api apilevel-14" > <td class="jd-linkcol"><a href="../../../reference/android/app/Application.ActivityLifecycleCallbacks.html">Application.ActivityLifecycleCallbacks</a></td> <td class="jd-descrcol" width="100%"> </td> </tr> <tr class=" api apilevel-18" > <td class="jd-linkcol"><a href="../../../reference/android/app/Application.OnProvideAssistDataListener.html">Application.OnProvideAssistDataListener</a></td> <td class="jd-descrcol" width="100%"> Callback interface for use with <code><a href="../../../reference/android/app/Application.html#registerOnProvideAssistDataListener(android.app.Application.OnProvideAssistDataListener)">registerOnProvideAssistDataListener(Application.OnProvideAssistDataListener)</a></code> and <code><a href="../../../reference/android/app/Application.html#unregisterOnProvideAssistDataListener(android.app.Application.OnProvideAssistDataListener)">unregisterOnProvideAssistDataListener(Application.OnProvideAssistDataListener)</a></code>. </td> </tr> <tr class="alt-color api apilevel-19" > <td class="jd-linkcol"><a href="../../../reference/android/app/AppOpsManager.OnOpChangedListener.html">AppOpsManager.OnOpChangedListener</a></td> <td class="jd-descrcol" width="100%"> Callback for notification of changes to operation state. </td> </tr> <tr class=" api apilevel-1" > <td class="jd-linkcol"><a href="../../../reference/android/app/DatePickerDialog.OnDateSetListener.html">DatePickerDialog.OnDateSetListener</a></td> <td class="jd-descrcol" width="100%"> The listener used to indicate the user has finished selecting a date. </td> </tr> <tr class="alt-color api apilevel-12" > <td class="jd-linkcol"><a href="../../../reference/android/app/FragmentBreadCrumbs.OnBreadCrumbClickListener.html">FragmentBreadCrumbs.OnBreadCrumbClickListener</a></td> <td class="jd-descrcol" width="100%"> Interface to intercept clicks on the bread crumbs. </td> </tr> <tr class=" api apilevel-11" > <td class="jd-linkcol"><a href="../../../reference/android/app/FragmentManager.BackStackEntry.html">FragmentManager.BackStackEntry</a></td> <td class="jd-descrcol" width="100%"> Representation of an entry on the fragment back stack, as created with <code><a href="../../../reference/android/app/FragmentTransaction.html#addToBackStack(java.lang.String)">FragmentTransaction.addToBackStack()</a></code>. </td> </tr> <tr class="alt-color api apilevel-11" > <td class="jd-linkcol"><a href="../../../reference/android/app/FragmentManager.OnBackStackChangedListener.html">FragmentManager.OnBackStackChangedListener</a></td> <td class="jd-descrcol" width="100%"> Interface to watch for changes to the back stack. </td> </tr> <tr class=" api apilevel-1" > <td class="jd-linkcol"><a href="../../../reference/android/app/KeyguardManager.OnKeyguardExitResult.html">KeyguardManager.OnKeyguardExitResult</a></td> <td class="jd-descrcol" width="100%"> Callback passed to <code><a href="../../../reference/android/app/KeyguardManager.html#exitKeyguardSecurely(android.app.KeyguardManager.OnKeyguardExitResult)">exitKeyguardSecurely(KeyguardManager.OnKeyguardExitResult)</a></code> to notify caller of result. </td> </tr> <tr class="alt-color api apilevel-11" > <td class="jd-linkcol"><a href="../../../reference/android/app/LoaderManager.LoaderCallbacks.html">LoaderManager.LoaderCallbacks</a><D></td> <td class="jd-descrcol" width="100%"> Callback interface for a client to interact with the manager. </td> </tr> <tr class=" api apilevel-20" > <td class="jd-linkcol"><a href="../../../reference/android/app/Notification.Action.Extender.html">Notification.Action.Extender</a></td> <td class="jd-descrcol" width="100%"> Extender interface for use with <code><a href="../../../reference/android/app/Notification.Action.Builder.html#extend(android.app.Notification.Action.Extender)">extend(Notification.Action.Extender)</a></code>. </td> </tr> <tr class="alt-color api apilevel-20" > <td class="jd-linkcol"><a href="../../../reference/android/app/Notification.Extender.html">Notification.Extender</a></td> <td class="jd-descrcol" width="100%"> Extender interface for use with <code><a href="../../../reference/android/app/Notification.Action.Builder.html#extend(android.app.Notification.Action.Extender)">extend(Notification.Action.Extender)</a></code>. </td> </tr> <tr class=" api apilevel-1" > <td class="jd-linkcol"><a href="../../../reference/android/app/PendingIntent.OnFinished.html">PendingIntent.OnFinished</a></td> <td class="jd-descrcol" width="100%"> Callback interface for discovering when a send operation has completed. </td> </tr> <tr class="alt-color api apilevel-1" > <td class="jd-linkcol"><a href="../../../reference/android/app/SearchManager.OnCancelListener.html">SearchManager.OnCancelListener</a></td> <td class="jd-descrcol" width="100%"> See <code><a href="../../../reference/android/app/SearchManager.html#setOnCancelListener(android.app.SearchManager.OnCancelListener)">setOnCancelListener(SearchManager.OnCancelListener)</a></code> for configuring your activity to monitor search UI state. </td> </tr> <tr class=" api apilevel-1" > <td class="jd-linkcol"><a href="../../../reference/android/app/SearchManager.OnDismissListener.html">SearchManager.OnDismissListener</a></td> <td class="jd-descrcol" width="100%"> See <code><a href="../../../reference/android/app/SearchManager.html#setOnDismissListener(android.app.SearchManager.OnDismissListener)">setOnDismissListener(SearchManager.OnDismissListener)</a></code> for configuring your activity to monitor search UI state. </td> </tr> <tr class="alt-color api apilevel-23" > <td class="jd-linkcol"><a href="../../../reference/android/app/SharedElementCallback.OnSharedElementsReadyListener.html">SharedElementCallback.OnSharedElementsReadyListener</a></td> <td class="jd-descrcol" width="100%"> Listener to be called after <code><a href="../../../reference/android/app/SharedElementCallback.html#onSharedElementsArrived(java.util.List<java.lang.String>, java.util.List<android.view.View>, android.app.SharedElementCallback.OnSharedElementsReadyListener)">onSharedElementsArrived(List, List, OnSharedElementsReadyListener)</a></code> when the shared elements are ready to be hidden in the source Activity and shown in the destination Activity. </td> </tr> <tr class=" api apilevel-1" > <td class="jd-linkcol"><a href="../../../reference/android/app/TimePickerDialog.OnTimeSetListener.html">TimePickerDialog.OnTimeSetListener</a></td> <td class="jd-descrcol" width="100%"> The callback interface used to indicate the user is done filling in the time (e.g. </td> </tr> <tr class="alt-color api apilevel-18" > <td class="jd-linkcol"><a href="../../../reference/android/app/UiAutomation.AccessibilityEventFilter.html">UiAutomation.AccessibilityEventFilter</a></td> <td class="jd-descrcol" width="100%"> Listener for filtering accessibility events. </td> </tr> <tr class=" api apilevel-18" > <td class="jd-linkcol"><a href="../../../reference/android/app/UiAutomation.OnAccessibilityEventListener.html">UiAutomation.OnAccessibilityEventListener</a></td> <td class="jd-descrcol" width="100%"> Listener for observing the <code><a href="../../../reference/android/view/accessibility/AccessibilityEvent.html">AccessibilityEvent</a></code> stream. </td> </tr> </table> <h2>Classes</h2> <table class="jd-sumtable-expando"> <tr class="alt-color api apilevel-11" > <td class="jd-linkcol"><a href="../../../reference/android/app/ActionBar.html">ActionBar</a></td> <td class="jd-descrcol" width="100%"> A primary toolbar within the activity that may display the activity title, application-level navigation affordances, and other interactive items. </td> </tr> <tr class=" api apilevel-11" > <td class="jd-linkcol"><a href="../../../reference/android/app/ActionBar.LayoutParams.html">ActionBar.LayoutParams</a></td> <td class="jd-descrcol" width="100%"> Per-child layout information associated with action bar custom views. </td> </tr> <tr class="alt-color api apilevel-11" > <td class="jd-linkcol"><a href="../../../reference/android/app/ActionBar.Tab.html">ActionBar.Tab</a></td> <td class="jd-descrcol" width="100%"> <em> This class was deprecated in API level 21. Action bar navigation modes are deprecated and not supported by inline toolbar action bars. Consider using other <a href="http://developer.android.com/design/patterns/navigation.html">common navigation patterns</a> instead. </em> </td> </tr> <tr class=" api apilevel-1" > <td class="jd-linkcol"><a href="../../../reference/android/app/Activity.html">Activity</a></td> <td class="jd-descrcol" width="100%"> An activity is a single, focused thing that the user can do. </td> </tr> <tr class="alt-color api apilevel-1" > <td class="jd-linkcol"><a href="../../../reference/android/app/ActivityGroup.html">ActivityGroup</a></td> <td class="jd-descrcol" width="100%"> <em> This class was deprecated in API level 13. Use the new <code><a href="../../../reference/android/app/Fragment.html">Fragment</a></code> and <code><a href="../../../reference/android/app/FragmentManager.html">FragmentManager</a></code> APIs instead; these are also available on older platforms through the Android compatibility package. </em> </td> </tr> <tr class=" api apilevel-1" > <td class="jd-linkcol"><a href="../../../reference/android/app/ActivityManager.html">ActivityManager</a></td> <td class="jd-descrcol" width="100%"> Interact with the overall activities running in the system. </td> </tr> <tr class="alt-color api apilevel-21" > <td class="jd-linkcol"><a href="../../../reference/android/app/ActivityManager.AppTask.html">ActivityManager.AppTask</a></td> <td class="jd-descrcol" width="100%"> The AppTask allows you to manage your own application's tasks. </td> </tr> <tr class=" api apilevel-1" > <td class="jd-linkcol"><a href="../../../reference/android/app/ActivityManager.MemoryInfo.html">ActivityManager.MemoryInfo</a></td> <td class="jd-descrcol" width="100%"> Information you can retrieve about the available memory through <code><a href="../../../reference/android/app/ActivityManager.html#getMemoryInfo(android.app.ActivityManager.MemoryInfo)">getMemoryInfo(ActivityManager.MemoryInfo)</a></code>. </td> </tr> <tr class="alt-color api apilevel-1" > <td class="jd-linkcol"><a href="../../../reference/android/app/ActivityManager.ProcessErrorStateInfo.html">ActivityManager.ProcessErrorStateInfo</a></td> <td class="jd-descrcol" width="100%"> Information you can retrieve about any processes that are in an error condition. </td> </tr> <tr class=" api apilevel-1" > <td class="jd-linkcol"><a href="../../../reference/android/app/ActivityManager.RecentTaskInfo.html">ActivityManager.RecentTaskInfo</a></td> <td class="jd-descrcol" width="100%"> Information you can retrieve about tasks that the user has most recently started or visited. </td> </tr> <tr class="alt-color api apilevel-3" > <td class="jd-linkcol"><a href="../../../reference/android/app/ActivityManager.RunningAppProcessInfo.html">ActivityManager.RunningAppProcessInfo</a></td> <td class="jd-descrcol" width="100%"> Information you can retrieve about a running process. </td> </tr> <tr class=" api apilevel-1" > <td class="jd-linkcol"><a href="../../../reference/android/app/ActivityManager.RunningServiceInfo.html">ActivityManager.RunningServiceInfo</a></td> <td class="jd-descrcol" width="100%"> Information you can retrieve about a particular Service that is currently running in the system. </td> </tr> <tr class="alt-color api apilevel-1" > <td class="jd-linkcol"><a href="../../../reference/android/app/ActivityManager.RunningTaskInfo.html">ActivityManager.RunningTaskInfo</a></td> <td class="jd-descrcol" width="100%"> Information you can retrieve about a particular task that is currently "running" in the system. </td> </tr> <tr class=" api apilevel-21" > <td class="jd-linkcol"><a href="../../../reference/android/app/ActivityManager.TaskDescription.html">ActivityManager.TaskDescription</a></td> <td class="jd-descrcol" width="100%"> Information you can set and retrieve about the current activity within the recent task list. </td> </tr> <tr class="alt-color api apilevel-16" > <td class="jd-linkcol"><a href="../../../reference/android/app/ActivityOptions.html">ActivityOptions</a></td> <td class="jd-descrcol" width="100%"> Helper class for building an options Bundle that can be used with <code><a href="../../../reference/android/content/Context.html#startActivity(android.content.Intent, android.os.Bundle)">Context.startActivity(Intent, Bundle)</a></code> and related methods. </td> </tr> <tr class=" api apilevel-1" > <td class="jd-linkcol"><a href="../../../reference/android/app/AlarmManager.html">AlarmManager</a></td> <td class="jd-descrcol" width="100%"> This class provides access to the system alarm services. </td> </tr> <tr class="alt-color api apilevel-21" > <td class="jd-linkcol"><a href="../../../reference/android/app/AlarmManager.AlarmClockInfo.html">AlarmManager.AlarmClockInfo</a></td> <td class="jd-descrcol" width="100%"> An immutable description of a scheduled "alarm clock" event. </td> </tr> <tr class=" api apilevel-1" > <td class="jd-linkcol"><a href="../../../reference/android/app/AlertDialog.html">AlertDialog</a></td> <td class="jd-descrcol" width="100%"> A subclass of Dialog that can display one, two or three buttons. </td> </tr> <tr class="alt-color api apilevel-1" > <td class="jd-linkcol"><a href="../../../reference/android/app/AlertDialog.Builder.html">AlertDialog.Builder</a></td> <td class="jd-descrcol" width="100%"> </td> </tr> <tr class=" api apilevel-1" > <td class="jd-linkcol"><a href="../../../reference/android/app/AliasActivity.html">AliasActivity</a></td> <td class="jd-descrcol" width="100%"> Stub activity that launches another activity (and then finishes itself) based on information in its component's manifest meta-data. </td> </tr> <tr class="alt-color api apilevel-1" > <td class="jd-linkcol"><a href="../../../reference/android/app/Application.html">Application</a></td> <td class="jd-descrcol" width="100%"> Base class for maintaining global application state. </td> </tr> <tr class=" api apilevel-14" > <td class="jd-linkcol"><a href="../../../reference/android/app/ApplicationErrorReport.html">ApplicationErrorReport</a></td> <td class="jd-descrcol" width="100%"> Describes an application error. </td> </tr> <tr class="alt-color api apilevel-14" > <td class="jd-linkcol"><a href="../../../reference/android/app/ApplicationErrorReport.AnrInfo.html">ApplicationErrorReport.AnrInfo</a></td> <td class="jd-descrcol" width="100%"> Describes an application not responding error. </td> </tr> <tr class=" api apilevel-14" > <td class="jd-linkcol"><a href="../../../reference/android/app/ApplicationErrorReport.BatteryInfo.html">ApplicationErrorReport.BatteryInfo</a></td> <td class="jd-descrcol" width="100%"> Describes a battery usage report. </td> </tr> <tr class="alt-color api apilevel-14" > <td class="jd-linkcol"><a href="../../../reference/android/app/ApplicationErrorReport.CrashInfo.html">ApplicationErrorReport.CrashInfo</a></td> <td class="jd-descrcol" width="100%"> Describes an application crash. </td> </tr> <tr class=" api apilevel-14" > <td class="jd-linkcol"><a href="../../../reference/android/app/ApplicationErrorReport.RunningServiceInfo.html">ApplicationErrorReport.RunningServiceInfo</a></td> <td class="jd-descrcol" width="100%"> Describes a running service report. </td> </tr> <tr class="alt-color api apilevel-19" > <td class="jd-linkcol"><a href="../../../reference/android/app/AppOpsManager.html">AppOpsManager</a></td> <td class="jd-descrcol" width="100%"> API for interacting with "application operation" tracking. </td> </tr> <tr class=" api apilevel-24" > <td class="jd-linkcol"><a href="../../../reference/android/app/AutomaticZenRule.html">AutomaticZenRule</a></td> <td class="jd-descrcol" width="100%"> Rule instance information for zen mode. </td> </tr> <tr class="alt-color api apilevel-1" > <td class="jd-linkcol"><a href="../../../reference/android/app/DatePickerDialog.html">DatePickerDialog</a></td> <td class="jd-descrcol" width="100%"> A simple dialog containing an <code><a href="../../../reference/android/widget/DatePicker.html">DatePicker</a></code>. </td> </tr> <tr class=" api apilevel-1" > <td class="jd-linkcol"><a href="../../../reference/android/app/Dialog.html">Dialog</a></td> <td class="jd-descrcol" width="100%"> Base class for Dialogs. </td> </tr> <tr class="alt-color api apilevel-11" > <td class="jd-linkcol"><a href="../../../reference/android/app/DialogFragment.html">DialogFragment</a></td> <td class="jd-descrcol" width="100%"> A fragment that displays a dialog window, floating on top of its activity's window. </td> </tr> <tr class=" api apilevel-9" > <td class="jd-linkcol"><a href="../../../reference/android/app/DownloadManager.html">DownloadManager</a></td> <td class="jd-descrcol" width="100%"> The download manager is a system service that handles long-running HTTP downloads. </td> </tr> <tr class="alt-color api apilevel-9" > <td class="jd-linkcol"><a href="../../../reference/android/app/DownloadManager.Query.html">DownloadManager.Query</a></td> <td class="jd-descrcol" width="100%"> This class may be used to filter download manager queries. </td> </tr> <tr class=" api apilevel-9" > <td class="jd-linkcol"><a href="../../../reference/android/app/DownloadManager.Request.html">DownloadManager.Request</a></td> <td class="jd-descrcol" width="100%"> This class contains all the information necessary to request a new download. </td> </tr> <tr class="alt-color api apilevel-1" > <td class="jd-linkcol"><a href="../../../reference/android/app/ExpandableListActivity.html">ExpandableListActivity</a></td> <td class="jd-descrcol" width="100%"> An activity that displays an expandable list of items by binding to a data source implementing the ExpandableListAdapter, and exposes event handlers when the user selects an item. </td> </tr> <tr class=" api apilevel-11" > <td class="jd-linkcol"><a href="../../../reference/android/app/Fragment.html">Fragment</a></td> <td class="jd-descrcol" width="100%"> A Fragment is a piece of an application's user interface or behavior that can be placed in an <code><a href="../../../reference/android/app/Activity.html">Activity</a></code>. </td> </tr> <tr class="alt-color api apilevel-13" > <td class="jd-linkcol"><a href="../../../reference/android/app/Fragment.SavedState.html">Fragment.SavedState</a></td> <td class="jd-descrcol" width="100%"> State information that has been retrieved from a fragment instance through <code><a href="../../../reference/android/app/FragmentManager.html#saveFragmentInstanceState(android.app.Fragment)">FragmentManager.saveFragmentInstanceState</a></code>. </td> </tr> <tr class=" api apilevel-11" > <td class="jd-linkcol"><a href="../../../reference/android/app/FragmentBreadCrumbs.html">FragmentBreadCrumbs</a></td> <td class="jd-descrcol" width="100%"> <em> This class was deprecated in API level 21. This widget is no longer supported. </em> </td> </tr> <tr class="alt-color api apilevel-23" > <td class="jd-linkcol"><a href="../../../reference/android/app/FragmentContainer.html">FragmentContainer</a></td> <td class="jd-descrcol" width="100%"> Callbacks to a <code><a href="../../../reference/android/app/Fragment.html">Fragment</a></code>'s container. </td> </tr> <tr class=" api apilevel-23" > <td class="jd-linkcol"><a href="../../../reference/android/app/FragmentController.html">FragmentController</a></td> <td class="jd-descrcol" width="100%"> Provides integration points with a <code><a href="../../../reference/android/app/FragmentManager.html">FragmentManager</a></code> for a fragment host. </td> </tr> <tr class="alt-color api apilevel-23" > <td class="jd-linkcol"><a href="../../../reference/android/app/FragmentHostCallback.html">FragmentHostCallback</a><E></td> <td class="jd-descrcol" width="100%"> Integration points with the Fragment host. </td> </tr> <tr class=" api apilevel-11" > <td class="jd-linkcol"><a href="../../../reference/android/app/FragmentManager.html">FragmentManager</a></td> <td class="jd-descrcol" width="100%"> Interface for interacting with <code><a href="../../../reference/android/app/Fragment.html">Fragment</a></code> objects inside of an <code><a href="../../../reference/android/app/Activity.html">Activity</a></code> <div class="special reference"> <h3>Developer Guides</h3> <p>For more information about using fragments, read the <a href="../../../guide/topics/fundamentals/fragments.html">Fragments</a> developer guide. </td> </tr> <tr class="alt-color api apilevel-24" > <td class="jd-linkcol"><a href="../../../reference/android/app/FragmentManagerNonConfig.html">FragmentManagerNonConfig</a></td> <td class="jd-descrcol" width="100%"> FragmentManagerNonConfig stores the retained instance fragments across activity recreation events. </td> </tr> <tr class=" api apilevel-11" > <td class="jd-linkcol"><a href="../../../reference/android/app/FragmentTransaction.html">FragmentTransaction</a></td> <td class="jd-descrcol" width="100%"> API for performing a set of Fragment operations. </td> </tr> <tr class="alt-color api apilevel-1" > <td class="jd-linkcol"><a href="../../../reference/android/app/Instrumentation.html">Instrumentation</a></td> <td class="jd-descrcol" width="100%"> Base class for implementing application instrumentation code. </td> </tr> <tr class=" api apilevel-1" > <td class="jd-linkcol"><a href="../../../reference/android/app/Instrumentation.ActivityMonitor.html">Instrumentation.ActivityMonitor</a></td> <td class="jd-descrcol" width="100%"> Information about a particular kind of Intent that is being monitored. </td> </tr> <tr class="alt-color api apilevel-1" > <td class="jd-linkcol"><a href="../../../reference/android/app/Instrumentation.ActivityResult.html">Instrumentation.ActivityResult</a></td> <td class="jd-descrcol" width="100%"> Description of a Activity execution result to return to the original activity. </td> </tr> <tr class=" api apilevel-3" > <td class="jd-linkcol"><a href="../../../reference/android/app/IntentService.html">IntentService</a></td> <td class="jd-descrcol" width="100%"> IntentService is a base class for <code><a href="../../../reference/android/app/Service.html">Service</a></code>s that handle asynchronous requests (expressed as <code><a href="../../../reference/android/content/Intent.html">Intent</a></code>s) on demand. </td> </tr> <tr class="alt-color api apilevel-1" > <td class="jd-linkcol"><a href="../../../reference/android/app/KeyguardManager.html">KeyguardManager</a></td> <td class="jd-descrcol" width="100%"> Class that can be used to lock and unlock the keyboard. </td> </tr> <tr class=" api apilevel-1" > <td class="jd-linkcol"><a href="../../../reference/android/app/KeyguardManager.KeyguardLock.html">KeyguardManager.KeyguardLock</a></td> <td class="jd-descrcol" width="100%"> <em> This class was deprecated in API level 13. Use <code><a href="../../../reference/android/view/WindowManager.LayoutParams.html#FLAG_DISMISS_KEYGUARD">FLAG_DISMISS_KEYGUARD</a></code> and/or <code><a href="../../../reference/android/view/WindowManager.LayoutParams.html#FLAG_SHOW_WHEN_LOCKED">FLAG_SHOW_WHEN_LOCKED</a></code> instead; this allows you to seamlessly hide the keyguard as your application moves in and out of the foreground and does not require that any special permissions be requested. Handle returned by <code><a href="../../../reference/android/app/KeyguardManager.html#newKeyguardLock(java.lang.String)">newKeyguardLock(String)</a></code> that allows you to disable / reenable the keyguard. </em> </td> </tr> <tr class="alt-color api apilevel-1" > <td class="jd-linkcol"><a href="../../../reference/android/app/LauncherActivity.html">LauncherActivity</a></td> <td class="jd-descrcol" width="100%"> Displays a list of all activities which can be performed for a given intent. </td> </tr> <tr class=" api apilevel-3" > <td class="jd-linkcol"><a href="../../../reference/android/app/LauncherActivity.IconResizer.html">LauncherActivity.IconResizer</a></td> <td class="jd-descrcol" width="100%"> Utility class to resize icons to match default icon size. </td> </tr> <tr class="alt-color api apilevel-3" > <td class="jd-linkcol"><a href="../../../reference/android/app/LauncherActivity.ListItem.html">LauncherActivity.ListItem</a></td> <td class="jd-descrcol" width="100%"> An item in the list </td> </tr> <tr class=" api apilevel-1" > <td class="jd-linkcol"><a href="../../../reference/android/app/ListActivity.html">ListActivity</a></td> <td class="jd-descrcol" width="100%"> An activity that displays a list of items by binding to a data source such as an array or Cursor, and exposes event handlers when the user selects an item. </td> </tr> <tr class="alt-color api apilevel-11" > <td class="jd-linkcol"><a href="../../../reference/android/app/ListFragment.html">ListFragment</a></td> <td class="jd-descrcol" width="100%"> A fragment that displays a list of items by binding to a data source such as an array or Cursor, and exposes event handlers when the user selects an item. </td> </tr> <tr class=" api apilevel-11" > <td class="jd-linkcol"><a href="../../../reference/android/app/LoaderManager.html">LoaderManager</a></td> <td class="jd-descrcol" width="100%"> Interface associated with an <code><a href="../../../reference/android/app/Activity.html">Activity</a></code> or <code><a href="../../../reference/android/app/Fragment.html">Fragment</a></code> for managing one or more <code><a href="../../../reference/android/content/Loader.html">Loader</a></code> instances associated with it. </td> </tr> <tr class="alt-color api apilevel-1" > <td class="jd-linkcol"><a href="../../../reference/android/app/LocalActivityManager.html">LocalActivityManager</a></td> <td class="jd-descrcol" width="100%"> <em> This class was deprecated in API level 13. Use the new <code><a href="../../../reference/android/app/Fragment.html">Fragment</a></code> and <code><a href="../../../reference/android/app/FragmentManager.html">FragmentManager</a></code> APIs instead; these are also available on older platforms through the Android compatibility package. </em> </td> </tr> <tr class=" api apilevel-16" > <td class="jd-linkcol"><a href="../../../reference/android/app/MediaRouteActionProvider.html">MediaRouteActionProvider</a></td> <td class="jd-descrcol" width="100%"> The media route action provider displays a <code><a href="../../../reference/android/app/MediaRouteButton.html">media route button</a></code> in the application's <code><a href="../../../reference/android/app/ActionBar.html">ActionBar</a></code> to allow the user to select routes and to control the currently selected route. </td> </tr> <tr class="alt-color api apilevel-16" > <td class="jd-linkcol"><a href="../../../reference/android/app/MediaRouteButton.html">MediaRouteButton</a></td> <td class="jd-descrcol" width="100%"> </td> </tr> <tr class=" api apilevel-9" > <td class="jd-linkcol"><a href="../../../reference/android/app/NativeActivity.html">NativeActivity</a></td> <td class="jd-descrcol" width="100%"> Convenience for implementing an activity that will be implemented purely in native code. </td> </tr> <tr class="alt-color api apilevel-1" > <td class="jd-linkcol"><a href="../../../reference/android/app/Notification.html">Notification</a></td> <td class="jd-descrcol" width="100%"> A class that represents how a persistent notification is to be presented to the user using the <code><a href="../../../reference/android/app/NotificationManager.html">NotificationManager</a></code>. </td> </tr> <tr class=" api apilevel-19" > <td class="jd-linkcol"><a href="../../../reference/android/app/Notification.Action.html">Notification.Action</a></td> <td class="jd-descrcol" width="100%"> Structure to encapsulate a named action that can be shown as part of this notification. </td> </tr> <tr class="alt-color api apilevel-20" > <td class="jd-linkcol"><a href="../../../reference/android/app/Notification.Action.Builder.html">Notification.Action.Builder</a></td> <td class="jd-descrcol" width="100%"> Builder class for <code><a href="../../../reference/android/app/Notification.Action.html">Notification.Action</a></code> objects. </td> </tr> <tr class=" api apilevel-20" > <td class="jd-linkcol"><a href="../../../reference/android/app/Notification.Action.WearableExtender.html">Notification.Action.WearableExtender</a></td> <td class="jd-descrcol" width="100%"> Wearable extender for notification actions. </td> </tr> <tr class="alt-color api apilevel-16" > <td class="jd-linkcol"><a href="../../../reference/android/app/Notification.BigPictureStyle.html">Notification.BigPictureStyle</a></td> <td class="jd-descrcol" width="100%"> Helper class for generating large-format notifications that include a large image attachment. </td> </tr> <tr class=" api apilevel-16" > <td class="jd-linkcol"><a href="../../../reference/android/app/Notification.BigTextStyle.html">Notification.BigTextStyle</a></td> <td class="jd-descrcol" width="100%"> Helper class for generating large-format notifications that include a lot of text. </td> </tr> <tr class="alt-color api apilevel-11" > <td class="jd-linkcol"><a href="../../../reference/android/app/Notification.Builder.html">Notification.Builder</a></td> <td class="jd-descrcol" width="100%"> Builder class for <code><a href="../../../reference/android/app/Notification.html">Notification</a></code> objects. </td> </tr> <tr class=" api apilevel-23" > <td class="jd-linkcol"><a href="../../../reference/android/app/Notification.CarExtender.html">Notification.CarExtender</a></td> <td class="jd-descrcol" width="100%"> <p>Helper class to add Android Auto extensions to notifications. </td> </tr> <tr class="alt-color api apilevel-23" > <td class="jd-linkcol"><a href="../../../reference/android/app/Notification.CarExtender.Builder.html">Notification.CarExtender.Builder</a></td> <td class="jd-descrcol" width="100%"> Builder class for <code><a href="../../../reference/android/app/Notification.CarExtender.UnreadConversation.html">Notification.CarExtender.UnreadConversation</a></code> objects. </td> </tr> <tr class=" api apilevel-23" > <td class="jd-linkcol"><a href="../../../reference/android/app/Notification.CarExtender.UnreadConversation.html">Notification.CarExtender.UnreadConversation</a></td> <td class="jd-descrcol" width="100%"> A class which holds the unread messages from a conversation. </td> </tr> <tr class="alt-color api apilevel-24" > <td class="jd-linkcol"><a href="../../../reference/android/app/Notification.DecoratedCustomViewStyle.html">Notification.DecoratedCustomViewStyle</a></td> <td class="jd-descrcol" width="100%"> Notification style for custom views that are decorated by the system <p>Instead of providing a notification that is completely custom, a developer can set this style and still obtain system decorations like the notification header with the expand affordance and actions. </td> </tr> <tr class=" api apilevel-24" > <td class="jd-linkcol"><a href="../../../reference/android/app/Notification.DecoratedMediaCustomViewStyle.html">Notification.DecoratedMediaCustomViewStyle</a></td> <td class="jd-descrcol" width="100%"> Notification style for media custom views that are decorated by the system <p>Instead of providing a media notification that is completely custom, a developer can set this style and still obtain system decorations like the notification header with the expand affordance and actions. </td> </tr> <tr class="alt-color api apilevel-16" > <td class="jd-linkcol"><a href="../../../reference/android/app/Notification.InboxStyle.html">Notification.InboxStyle</a></td> <td class="jd-descrcol" width="100%"> Helper class for generating large-format notifications that include a list of (up to 5) strings. </td> </tr> <tr class=" api apilevel-21" > <td class="jd-linkcol"><a href="../../../reference/android/app/Notification.MediaStyle.html">Notification.MediaStyle</a></td> <td class="jd-descrcol" width="100%"> Notification style for media playback notifications. </td> </tr> <tr class="alt-color api apilevel-24" > <td class="jd-linkcol"><a href="../../../reference/android/app/Notification.MessagingStyle.html">Notification.MessagingStyle</a></td> <td class="jd-descrcol" width="100%"> Helper class for generating large-format notifications that include multiple back-and-forth messages of varying types between any number of people. </td> </tr> <tr class=" api apilevel-24" > <td class="jd-linkcol"><a href="../../../reference/android/app/Notification.MessagingStyle.Message.html">Notification.MessagingStyle.Message</a></td> <td class="jd-descrcol" width="100%"> </td> </tr> <tr class="alt-color api apilevel-16" > <td class="jd-linkcol"><a href="../../../reference/android/app/Notification.Style.html">Notification.Style</a></td> <td class="jd-descrcol" width="100%"> An object that can apply a rich notification style to a <code><a href="../../../reference/android/app/Notification.Builder.html">Notification.Builder</a></code> object. </td> </tr> <tr class=" api apilevel-20" > <td class="jd-linkcol"><a href="../../../reference/android/app/Notification.WearableExtender.html">Notification.WearableExtender</a></td> <td class="jd-descrcol" width="100%"> Helper class to add wearable extensions to notifications. </td> </tr> <tr class="alt-color api apilevel-1" > <td class="jd-linkcol"><a href="../../../reference/android/app/NotificationManager.html">NotificationManager</a></td> <td class="jd-descrcol" width="100%"> Class to notify the user of events that happen. This is how you tell the user that something has happened in the background. </td> </tr> <tr class=" api apilevel-23" > <td class="jd-linkcol"><a href="../../../reference/android/app/NotificationManager.Policy.html">NotificationManager.Policy</a></td> <td class="jd-descrcol" width="100%"> Notification policy configuration. </td> </tr> <tr class="alt-color api apilevel-1" > <td class="jd-linkcol"><a href="../../../reference/android/app/PendingIntent.html">PendingIntent</a></td> <td class="jd-descrcol" width="100%"> A description of an Intent and target action to perform with it. </td> </tr> <tr class=" api apilevel-17" > <td class="jd-linkcol"><a href="../../../reference/android/app/Presentation.html">Presentation</a></td> <td class="jd-descrcol" width="100%"> Base class for presentations. </td> </tr> <tr class="alt-color api apilevel-1" > <td class="jd-linkcol"><a href="../../../reference/android/app/ProgressDialog.html">ProgressDialog</a></td> <td class="jd-descrcol" width="100%"> <p>A dialog showing a progress indicator and an optional text message or view. </td> </tr> <tr class=" api apilevel-20" > <td class="jd-linkcol"><a href="../../../reference/android/app/RemoteInput.html">RemoteInput</a></td> <td class="jd-descrcol" width="100%"> A <code>RemoteInput</code> object specifies input to be collected from a user to be passed along with an intent inside a <code><a href="../../../reference/android/app/PendingIntent.html">PendingIntent</a></code> that is sent. </td> </tr> <tr class="alt-color api apilevel-20" > <td class="jd-linkcol"><a href="../../../reference/android/app/RemoteInput.Builder.html">RemoteInput.Builder</a></td> <td class="jd-descrcol" width="100%"> Builder class for <code><a href="../../../reference/android/app/RemoteInput.html">RemoteInput</a></code> objects. </td> </tr> <tr class=" api apilevel-8" > <td class="jd-linkcol"><a href="../../../reference/android/app/SearchableInfo.html">SearchableInfo</a></td> <td class="jd-descrcol" width="100%"> Searchability meta-data for an activity. </td> </tr> <tr class="alt-color api apilevel-1" > <td class="jd-linkcol"><a href="../../../reference/android/app/SearchManager.html">SearchManager</a></td> <td class="jd-descrcol" width="100%"> This class provides access to the system search services. </td> </tr> <tr class=" api apilevel-1" > <td class="jd-linkcol"><a href="../../../reference/android/app/Service.html">Service</a></td> <td class="jd-descrcol" width="100%"> A Service is an application component representing either an application's desire to perform a longer-running operation while not interacting with the user or to supply functionality for other applications to use. </td> </tr> <tr class="alt-color api apilevel-21" > <td class="jd-linkcol"><a href="../../../reference/android/app/SharedElementCallback.html">SharedElementCallback</a></td> <td class="jd-descrcol" width="100%"> Listener provided in <code><a href="../../../reference/android/app/Activity.html#setEnterSharedElementCallback(android.app.SharedElementCallback)">setEnterSharedElementCallback(SharedElementCallback)</a></code> and <code><a href="../../../reference/android/app/Activity.html#setExitSharedElementCallback(android.app.SharedElementCallback)">setExitSharedElementCallback(SharedElementCallback)</a></code> as well as <code><a href="../../../reference/android/app/Fragment.html#setEnterSharedElementCallback(android.app.SharedElementCallback)">setEnterSharedElementCallback(SharedElementCallback)</a></code> and <code><a href="../../../reference/android/app/Fragment.html#setExitSharedElementCallback(android.app.SharedElementCallback)">setExitSharedElementCallback(SharedElementCallback)</a></code> to monitor the Shared element transitions. </td> </tr> <tr class=" api apilevel-1" > <td class="jd-linkcol"><a href="../../../reference/android/app/TabActivity.html">TabActivity</a></td> <td class="jd-descrcol" width="100%"> <em> This class was deprecated in API level 13. New applications should use Fragments instead of this class; to continue to run on older devices, you can use the v4 support library which provides a version of the Fragment API that is compatible down to <code><a href="../../../reference/android/os/Build.VERSION_CODES.html#DONUT">DONUT</a></code>. </em> </td> </tr> <tr class="alt-color api apilevel-16" > <td class="jd-linkcol"><a href="../../../reference/android/app/TaskStackBuilder.html">TaskStackBuilder</a></td> <td class="jd-descrcol" width="100%"> Utility class for constructing synthetic back stacks for cross-task navigation on Android 3.0 and newer. </td> </tr> <tr class=" api apilevel-1" > <td class="jd-linkcol"><a href="../../../reference/android/app/TimePickerDialog.html">TimePickerDialog</a></td> <td class="jd-descrcol" width="100%"> A dialog that prompts the user for the time of day using a <code><a href="../../../reference/android/widget/TimePicker.html">TimePicker</a></code>. </td> </tr> <tr class="alt-color api apilevel-18" > <td class="jd-linkcol"><a href="../../../reference/android/app/UiAutomation.html">UiAutomation</a></td> <td class="jd-descrcol" width="100%"> Class for interacting with the device's UI by simulation user actions and introspection of the screen content. </td> </tr> <tr class=" api apilevel-8" > <td class="jd-linkcol"><a href="../../../reference/android/app/UiModeManager.html">UiModeManager</a></td> <td class="jd-descrcol" width="100%"> This class provides access to the system uimode services. </td> </tr> <tr class="alt-color api apilevel-23" > <td class="jd-linkcol"><a href="../../../reference/android/app/VoiceInteractor.html">VoiceInteractor</a></td> <td class="jd-descrcol" width="100%"> Interface for an <code><a href="../../../reference/android/app/Activity.html">Activity</a></code> to interact with the user through voice. </td> </tr> <tr class=" api apilevel-23" > <td class="jd-linkcol"><a href="../../../reference/android/app/VoiceInteractor.AbortVoiceRequest.html">VoiceInteractor.AbortVoiceRequest</a></td> <td class="jd-descrcol" width="100%"> Reports that the current interaction can not be complete with voice, so the application will need to switch to a traditional input UI. </td> </tr> <tr class="alt-color api apilevel-23" > <td class="jd-linkcol"><a href="../../../reference/android/app/VoiceInteractor.CommandRequest.html">VoiceInteractor.CommandRequest</a></td> <td class="jd-descrcol" width="100%"> Execute a vendor-specific command using the trusted system VoiceInteractionService. </td> </tr> <tr class=" api apilevel-23" > <td class="jd-linkcol"><a href="../../../reference/android/app/VoiceInteractor.CompleteVoiceRequest.html">VoiceInteractor.CompleteVoiceRequest</a></td> <td class="jd-descrcol" width="100%"> Reports that the current interaction was successfully completed with voice, so the application can report the final status to the user. </td> </tr> <tr class="alt-color api apilevel-23" > <td class="jd-linkcol"><a href="../../../reference/android/app/VoiceInteractor.ConfirmationRequest.html">VoiceInteractor.ConfirmationRequest</a></td> <td class="jd-descrcol" width="100%"> Confirms an operation with the user via the trusted system VoiceInteractionService. </td> </tr> <tr class=" api apilevel-23" > <td class="jd-linkcol"><a href="../../../reference/android/app/VoiceInteractor.PickOptionRequest.html">VoiceInteractor.PickOptionRequest</a></td> <td class="jd-descrcol" width="100%"> Select a single option from multiple potential options with the user via the trusted system VoiceInteractionService. </td> </tr> <tr class="alt-color api apilevel-23" > <td class="jd-linkcol"><a href="../../../reference/android/app/VoiceInteractor.PickOptionRequest.Option.html">VoiceInteractor.PickOptionRequest.Option</a></td> <td class="jd-descrcol" width="100%"> Represents a single option that the user may select using their voice. </td> </tr> <tr class=" api apilevel-23" > <td class="jd-linkcol"><a href="../../../reference/android/app/VoiceInteractor.Prompt.html">VoiceInteractor.Prompt</a></td> <td class="jd-descrcol" width="100%"> A set of voice prompts to use with the voice interaction system to confirm an action, select an option, or do similar operations. </td> </tr> <tr class="alt-color api apilevel-23" > <td class="jd-linkcol"><a href="../../../reference/android/app/VoiceInteractor.Request.html">VoiceInteractor.Request</a></td> <td class="jd-descrcol" width="100%"> Base class for voice interaction requests that can be submitted to the interactor. </td> </tr> <tr class=" api apilevel-7" > <td class="jd-linkcol"><a href="../../../reference/android/app/WallpaperInfo.html">WallpaperInfo</a></td> <td class="jd-descrcol" width="100%"> This class is used to specify meta information of a wallpaper service. </td> </tr> <tr class="alt-color api apilevel-5" > <td class="jd-linkcol"><a href="../../../reference/android/app/WallpaperManager.html">WallpaperManager</a></td> <td class="jd-descrcol" width="100%"> Provides access to the system wallpaper. </td> </tr> </table> <h2>Exceptions</h2> <table class="jd-sumtable-expando"> <tr class="alt-color api apilevel-11" > <td class="jd-linkcol"><a href="../../../reference/android/app/Fragment.InstantiationException.html">Fragment.InstantiationException</a></td> <td class="jd-descrcol" width="100%"> Thrown by <code><a href="../../../reference/android/app/Fragment.html#instantiate(android.content.Context, java.lang.String, android.os.Bundle)">instantiate(Context, String, Bundle)</a></code> when there is an instantiation failure. </td> </tr> <tr class=" api apilevel-1" > <td class="jd-linkcol"><a href="../../../reference/android/app/PendingIntent.CanceledException.html">PendingIntent.CanceledException</a></td> <td class="jd-descrcol" width="100%"> Exception thrown when trying to send through a PendingIntent that has been canceled or is otherwise no longer able to execute the request. </td> </tr> </table> </div><!-- end apilevel --> <div class="wrap"> <div class="dac-footer"> <div class="cols dac-footer-main"> <div class="col-1of2"> <a class="dac-footer-getnews" id="newsletter" data-modal-toggle="newsletter" href="javascript:;">Get news & tips <span class="dac-fab dac-primary"><i class="dac-sprite dac-mail"></i></span></a> </div> <div class="col-1of2 dac-footer-reachout"> <div class="dac-footer-contact"> <a class="dac-footer-contact-link" href="http://android-developers.blogspot.com/">Blog</a> <a class="dac-footer-contact-link" href="/support.html">Support</a> </div> <div class="dac-footer-social"> <a class="dac-button-social dac-youtube dac-footer-social-link" href="https://www.youtube.com/user/androiddevelopers"><i class="dac-sprite dac-youtube"></i></a> <a class="dac-button-social dac-gplus dac-footer-social-link" href="https://plus.google.com/+AndroidDevelopers"><i class="dac-sprite dac-gplus"></i></a> <a class="dac-button-social dac-twitter dac-footer-social-link" href="https://twitter.com/AndroidDev"><i class="dac-sprite dac-twitter"></i></a> </div> </div> </div> <hr class="dac-footer-separator"/> <p class="dac-footer-copyright"> Except as noted, this content is licensed under <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache 2.0</a>. For details and restrictions, see the <a href="../../../license.html"> Content License</a>. </p> <p class="dac-footer-build"> Android 6.0 r1 — <script src="../../../timestamp.js" type="text/javascript"></script> <script>document.write(BUILD_TIMESTAMP)</script> </p> <p class="dac-footer-links"> <a href="/about/android.html">About Android</a> <a href="/auto/index.html">Auto</a> <a href="/tv/index.html">TV</a> <a href="/wear/index.html">Wear</a> <a href="/legal.html">Legal</a> <span id="language" class="locales"> <select name="language" onchange="changeLangPref(this.value, true)"> <option value="en" selected="selected">English</option> <option value="es">Español</option> <option value="in">Bahasa Indonesia</option> <option value="ja">日本語</option> <option value="ko">한국어</option> <option value="pt-br">Português Brasileiro</option> <option value="ru">Русский</option> <option value="vi">tiếng Việt</option> <option value="zh-cn">中文(简体)</option> <option value="zh-tw">中文(繁體)</option> </select> </span> </p> </div> </div> <!-- end footer --> <div data-modal="newsletter" data-newsletter data-swap class="dac-modal newsletter"> <div class="dac-modal-container"> <div class="dac-modal-window"> <header class="dac-modal-header"> <div class="dac-modal-header-actions"> <button class="dac-modal-header-close" data-modal-toggle></button> </div> <div class="dac-swap" data-swap-container> <section class="dac-swap-section dac-active dac-down"> <h2 class="norule dac-modal-header-title" data-t="newsletter.title"></h2> <p class="dac-modal-header-subtitle" data-t="newsletter.requiredHint"></p> </section> <section class="dac-swap-section dac-up"> <h2 class="norule dac-modal-header-title" data-t="newsletter.successTitle">Hooray!</h2> </section> </div> </header> <div class="dac-swap" data-swap-container> <section class="dac-swap-section dac-active dac-left"> <form action="https://docs.google.com/forms/d/1QgnkzbEJIDu9lMEea0mxqWrXUJu0oBCLD7ar23V0Yys/formResponse" class="dac-form" method="post" target="dac-newsletter-iframe"> <input type="hidden" name="entry.935454734" data-newsletter-language> <section class="dac-modal-content"> <fieldset class="dac-form-fieldset"> <div class="cols"> <div class="col-1of2 newsletter-leftCol"> <div class="dac-form-input-group"> <label for="newsletter-full-name" class="dac-form-floatlabel" data-t="newsletter.name">Full name</label> <input type="text" class="dac-form-input" name="entry.1357890476" id="newsletter-full-name" required> <span class="dac-form-required">*</span> </div> <div class="dac-form-input-group"> <label for="newsletter-email" class="dac-form-floatlabel" data-t="newsletter.email">Email address</label> <input type="email" class="dac-form-input" name="entry.472100832" id="newsletter-email" required> <span class="dac-form-required">*</span> </div> </div> <div class="col-1of2 newsletter-rightCol"> <div class="dac-form-input-group"> <label for="newsletter-company" class="dac-form-floatlabel" data-t="newsletter.company">Company / developer name</label> <input type="text" class="dac-form-input" name="entry.1664780309" id="newsletter-company"> </div> <div class="dac-form-input-group"> <label for="newsletter-play-store" class="dac-form-floatlabel" data-t="newsletter.appUrl">One of your Play Store app URLs</label> <input type="url" class="dac-form-input" name="entry.47013838" id="newsletter-play-store" required> <span class="dac-form-required">*</span> </div> </div> </div> </fieldset> <fieldset class="dac-form-fieldset"> <div class="cols"> <div class="col-1of2 newsletter-leftCol"> <legend class="dac-form-legend"><span data-t="newsletter.business.label">Which best describes your business:</span><span class="dac-form-required">*</span> </legend> <div class="dac-form-radio-group"> <input type="radio" value="Apps" class="dac-form-radio" name="entry.1796324055" id="newsletter-business-type-app" required> <label for="newsletter-business-type-app" class="dac-form-radio-button"></label> <label for="newsletter-business-type-app" class="dac-form-label" data-t="newsletter.business.apps">Apps</label> </div> <div class="dac-form-radio-group"> <input type="radio" value="Games" class="dac-form-radio" name="entry.1796324055" id="newsletter-business-type-games" required> <label for="newsletter-business-type-games" class="dac-form-radio-button"></label> <label for="newsletter-business-type-games" class="dac-form-label" data-t="newsletter.business.games">Games</label> </div> <div class="dac-form-radio-group"> <input type="radio" value="Apps and Games" class="dac-form-radio" name="entry.1796324055" id="newsletter-business-type-appsgames" required> <label for="newsletter-business-type-appsgames" class="dac-form-radio-button"></label> <label for="newsletter-business-type-appsgames" class="dac-form-label" data-t="newsletter.business.both">Apps & Games</label> </div> </div> <div class="col-1of2 newsletter-rightCol newsletter-checkboxes"> <div class="dac-form-radio-group"> <div class="dac-media"> <div class="dac-media-figure"> <input type="checkbox" class="dac-form-checkbox" name="entry.732309842" id="newsletter-add" required value="Add me to the mailing list for the monthly newsletter and occasional emails about development and Google Play opportunities."> <label for="newsletter-add" class="dac-form-checkbox-button"></label> </div> <div class="dac-media-body"> <label for="newsletter-add" class="dac-form-label dac-form-aside"><span data-t="newsletter.confirmMailingList"></span><span class="dac-form-required">*</span></label> </div> </div> </div> <div class="dac-form-radio-group"> <div class="dac-media"> <div class="dac-media-figure"> <input type="checkbox" class="dac-form-checkbox" name="entry.2045036090" id="newsletter-terms" required value="I acknowledge that the information provided in this form will be subject to Google's privacy policy (https://www.google.com/policies/privacy/)."> <label for="newsletter-terms" class="dac-form-checkbox-button"></label> </div> <div class="dac-media-body"> <label for="newsletter-terms" class="dac-form-label dac-form-aside"><span data-t="newsletter.privacyPolicy" data-t-html></span><span class="dac-form-required">*</span></label> </div> </div> </div> </div> </div> </fieldset> </section> <footer class="dac-modal-footer"> <div class="cols"> <div class="col-2of5"> </div> </div> <button type="submit" value="Submit" class="dac-fab dac-primary dac-large dac-modal-action"><i class="dac-sprite dac-arrow-right"></i></button> </footer> </form> </section> <section class="dac-swap-section dac-right"> <div class="dac-modal-content"> <p class="newsletter-success-message" data-t="newsletter.successDetails"></p> </div> </section> </div> </div> </div> </div> <!-- end newsletter modal --> <!-- start reset language header modal --> <div data-modal="langform" class="dac-modal" id="langform"> <div class="dac-modal-container"> <div class="dac-modal-window"> <header class="dac-modal-header"> <div class="dac-modal-header-actions"> <button class="dac-modal-header-close" data-modal-toggle></button> </div> <section class="dac-swap-section dac-active dac-down"> <h2 class="norule dac-modal-header-title"></h2> </section> </header> <section class="dac-swap-section dac-active dac-left"> <section class="dac-modal-content"> <fieldset class="dac-form-fieldset"> <div class="cols"> <div class="col-2of2 langform-leftCol"> <p id="resetLangText"></p> <p id="resetLangCta"></p> </div> </div> </fieldset> </section> <footer class="dac-modal-footer" id="langfooter"> <div class="cols"> <div class="col-2of5"> </div> </div> <button class="button dac-primary dac-modal-action lang yes" data-t="newsletter.resetLangButtonYes" data-modal-toggle></button> <button class="button dac-primary dac-modal-action lang no" data-t="newsletter.resetLangButtonNo" data-modal-toggle></button> </a> </footer> </form> </section> </div> </div> </div> <!-- end langreset modal --> </div> <!-- end body-content --> <script src="https://developer.android.com/ytblogger_lists_unified.js" defer></script> <script src="/jd_lists_unified_en.js?v=17" defer></script> <script src="/reference/lists.js?v=17" defer></script> <script src="/reference/gcm_lists.js?v=17" defer></script> <script src="/reference/gms_lists.js?v=17" defer></script> <script> // Load localized metadata. (function(lang) { if (lang === 'en') { return; } // Write it to the document so it gets evaluated before DOMContentReady. document.write('<script src="/jd_lists_unified_' + lang + '.js?v=14" defer></' + 'script>'); })(getLangPref()) </script> </body> </html>