| <!DOCTYPE html> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <html> |
| <head> |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| |
| <link rel="shortcut icon" type="image/x-icon" href="../../../favicon.ico" /> |
| <title>Intent - Android SDK | Android Developers</title> |
| |
| <!-- STYLESHEETS --> |
| <link rel="stylesheet" |
| href="http://fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,mediumitalic,bold" title="roboto"> |
| <link href="../../../assets/css/default.css" rel="stylesheet" type="text/css"> |
| |
| |
| <!-- FULLSCREEN STYLESHEET --> |
| <link href="../../../assets/css/fullscreen.css" rel="stylesheet" class="fullscreen" |
| 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 devsite = false; |
| |
| </script> |
| <script src="../../../assets/js/docs.js" type="text/javascript"></script> |
| |
| <script src="../../../navtree_data.js" type="text/javascript"></script> |
| |
| |
| <script type="text/javascript"> |
| var _gaq = _gaq || []; |
| _gaq.push(['_setAccount', 'UA-5831155-1']); |
| _gaq.push(['_trackPageview']); |
| |
| (function() { |
| var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; |
| ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; |
| var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); |
| })(); |
| </script> |
| </head> |
| <body class="gc-documentation |
| develop" itemscope itemtype="http://schema.org/Article"> |
| <div id="doc-api-level" class="1" style="display:none"></div> |
| <a name="top"></a> |
| |
| <!-- Header --> |
| <div id="header"> |
| <div class="wrap" id="header-wrap"> |
| <div class="col-3 logo"> |
| <a href="../../../index.html"> |
| <img src="../../../assets/images/dac_logo.png" width="123" height="25" alt="Android Developers" /> |
| </a> |
| <div class="btn-quicknav" id="btn-quicknav"> |
| <a href="#" class="arrow-inactive">Quicknav</a> |
| <a href="#" class="arrow-active">Quicknav</a> |
| </div> |
| </div> |
| <ul class="nav-x col-9"> |
| <li class="design"> |
| <a 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="develop"><a href="../../../develop/index.html" |
| zh-TW-lang="開發" |
| zh-CN-lang="开发" |
| ru-lang="Разработка" |
| ko-lang="개발" |
| ja-lang="開発" |
| es-lang="Desarrollar" |
| >Develop</a></li> |
| <li class="distribute last"><a href="../../../distribute/index.html" |
| zh-TW-lang="發佈" |
| zh-CN-lang="分发" |
| ru-lang="Распространение" |
| ko-lang="배포" |
| ja-lang="配布" |
| es-lang="Distribuir" |
| >Distribute</a></li> |
| </ul> |
| |
| <!-- New Search --> |
| <div class="menu-container"> |
| <div class="moremenu"> |
| <div id="more-btn"></div> |
| </div> |
| <div class="morehover" id="moremenu"> |
| <div class="top"></div> |
| <div class="mid"> |
| <div class="header">Links</div> |
| <ul> |
| <li><a href="https://play.google.com/apps/publish/">Google Play Developer Console</a></li> |
| <li><a href="http://android-developers.blogspot.com/">Android Developers Blog</a></li> |
| <li><a href="../../../about/index.html">About Android</a></li> |
| </ul> |
| <div class="header">Android Sites</div> |
| <ul> |
| <li><a href="http://www.android.com">Android.com</a></li> |
| <li class="active"><a>Android Developers</a></li> |
| <li><a href="http://source.android.com">Android Open Source Project</a></li> |
| </ul> |
| |
| |
| |
| |
| |
| |
| |
| <br class="clearfix" /> |
| </div> |
| <div class="bottom"></div> |
| </div> |
| <div class="search" id="search-container"> |
| <div class="search-inner"> |
| <div id="search-btn"></div> |
| <div class="left"></div> |
| <form onsubmit="return submit_search()"> |
| <input id="search_autocomplete" type="text" value="" autocomplete="off" name="q" |
| onfocus="search_focus_changed(this, true)" onblur="search_focus_changed(this, false)" |
| onkeydown="return search_changed(event, true, '../../../')" |
| onkeyup="return search_changed(event, false, '../../../')" /> |
| </form> |
| <div class="right"></div> |
| <a class="close hide">close</a> |
| <div class="left"></div> |
| <div class="right"></div> |
| </div> |
| </div> |
| <div id="search_filtered_wrapper"> |
| <div id="search_filtered_div" class="no-display"> |
| <ul id="search_filtered"> |
| </ul> |
| </div> |
| </div> |
| |
| </div> |
| <!-- /New Search> |
| |
| |
| <!-- Expanded quicknav --> |
| <div id="quicknav" class="col-9"> |
| <ul> |
| <li class="design"> |
| <ul> |
| <li><a href="../../../design/index.html">Get Started</a></li> |
| <li><a href="../../../design/style/index.html">Style</a></li> |
| <li><a href="../../../design/patterns/index.html">Patterns</a></li> |
| <li><a href="../../../design/building-blocks/index.html">Building Blocks</a></li> |
| <li><a href="../../../design/downloads/index.html">Downloads</a></li> |
| <li><a href="../../../design/videos/index.html">Videos</a></li> |
| </ul> |
| </li> |
| <li class="develop"> |
| <ul> |
| <li><a href="../../../training/index.html" |
| zh-TW-lang="訓練課程" |
| zh-CN-lang="培训" |
| ru-lang="Курсы" |
| ko-lang="교육" |
| ja-lang="トレーニング" |
| es-lang="Capacitación" |
| >Training</a></li> |
| <li><a href="../../../guide/components/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><a href="../../../reference/packages.html" |
| zh-TW-lang="參考資源" |
| zh-CN-lang="参考" |
| ru-lang="Справочник" |
| ko-lang="참조문서" |
| ja-lang="リファレンス" |
| es-lang="Referencia" |
| >Reference</a></li> |
| <li><a href="../../../tools/index.html" |
| zh-TW-lang="相關工具" |
| zh-CN-lang="工具" |
| ru-lang="Инструменты" |
| ko-lang="도구" |
| ja-lang="ツール" |
| es-lang="Herramientas" |
| >Tools</a> |
| <ul><li><a href="../../../sdk/index.html">Get the SDK</a></li></ul> |
| </li> |
| <li><a href="../../../google/index.html">Google Services</a> |
| </li> |
| </ul> |
| </li> |
| <li class="distribute last"> |
| <ul> |
| <li><a href="../../../distribute/index.html">Google Play</a></li> |
| <li><a href="../../../distribute/googleplay/publish/index.html">Publishing</a></li> |
| <li><a href="../../../distribute/googleplay/promote/index.html">Promoting</a></li> |
| <li><a href="../../../distribute/googleplay/quality/index.html">App Quality</a></li> |
| <li><a href="../../../distribute/googleplay/spotlight/index.html">Spotlight</a></li> |
| <li><a href="../../../distribute/open.html">Open Distribution</a></li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <!-- /Expanded quicknav --> |
| </div> |
| </div> |
| <!-- /Header --> |
| |
| |
| <div id="searchResults" class="wrap" style="display:none;"> |
| <h2 id="searchTitle">Results</h2> |
| <div id="leftSearchControl" class="search-control">Loading...</div> |
| </div> |
| |
| |
| |
| |
| <!-- Secondary x-nav --> |
| <div id="nav-x"> |
| <div class="wrap"> |
| <ul class="nav-x col-9 develop" style="width:100%"> |
| <li class="training"><a 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="guide"><a href="../../../guide/components/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="reference"><a href="../../../reference/packages.html" |
| zh-TW-lang="參考資源" |
| zh-CN-lang="参考" |
| ru-lang="Справочник" |
| ko-lang="참조문서" |
| ja-lang="リファレンス" |
| es-lang="Referencia" |
| >Reference</a></li> |
| <li class="tools"><a href="../../../tools/index.html" |
| zh-TW-lang="相關工具" |
| zh-CN-lang="工具" |
| ru-lang="Инструменты" |
| ko-lang="도구" |
| ja-lang="ツール" |
| es-lang="Herramientas" |
| >Tools</a></li> |
| <li class="google"><a href="../../../google/index.html" |
| >Google Services</a> |
| </li> |
| </ul> |
| </div> |
| |
| </div> |
| <!-- /Sendondary x-nav --> |
| |
| |
| |
| |
| <div class="wrap clearfix" id="body-content"> |
| <div class="col-4" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement"> |
| <div id="devdoc-nav"> |
| |
| <a class="totop" href="#top" data-g-event="left-nav-top">to top</a> |
| <div id="api-nav-header"> |
| <div id="api-level-toggle"> |
| <label for="apiLevelCheckbox" class="disabled">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' ]; |
| buildApiLevelSelector(); |
| </script> |
| |
| <div id="swapper"> |
| <div id="nav-panels"> |
| <div id="resize-packages-nav"> |
| <div id="packages-nav" class="scroll-pane"> |
| |
| <ul> |
| |
| <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-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-8"> |
| <a href="../../../reference/android/app/backup/package-summary.html">android.app.backup</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="selected 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-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-1"> |
| <a href="../../../reference/android/hardware/package-summary.html">android.hardware</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-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-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-14"> |
| <a href="../../../reference/android/media/effect/package-summary.html">android.media.effect</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-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-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-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-17"> |
| <a href="../../../reference/android/service/dreams/package-summary.html">android.service.dreams</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-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/v13/app/package-summary.html">android.support.v13.app</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/database/package-summary.html">android.support.v4.database</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/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/widget/package-summary.html">android.support.v4.widget</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/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-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-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-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-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/package-summary.html">org.apache.http</a></li> |
| <li class="api apilevel-1"> |
| <a href="../../../reference/org/apache/http/auth/package-summary.html">org.apache.http.auth</a></li> |
| <li class="api apilevel-1"> |
| <a href="../../../reference/org/apache/http/auth/params/package-summary.html">org.apache.http.auth.params</a></li> |
| <li class="api apilevel-1"> |
| <a href="../../../reference/org/apache/http/client/package-summary.html">org.apache.http.client</a></li> |
| <li class="api apilevel-1"> |
| <a href="../../../reference/org/apache/http/client/entity/package-summary.html">org.apache.http.client.entity</a></li> |
| <li class="api apilevel-1"> |
| <a href="../../../reference/org/apache/http/client/methods/package-summary.html">org.apache.http.client.methods</a></li> |
| <li class="api apilevel-1"> |
| <a href="../../../reference/org/apache/http/client/params/package-summary.html">org.apache.http.client.params</a></li> |
| <li class="api apilevel-1"> |
| <a href="../../../reference/org/apache/http/client/protocol/package-summary.html">org.apache.http.client.protocol</a></li> |
| <li class="api apilevel-1"> |
| <a href="../../../reference/org/apache/http/client/utils/package-summary.html">org.apache.http.client.utils</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/params/package-summary.html">org.apache.http.conn.params</a></li> |
| <li class="api apilevel-1"> |
| <a href="../../../reference/org/apache/http/conn/routing/package-summary.html">org.apache.http.conn.routing</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/conn/util/package-summary.html">org.apache.http.conn.util</a></li> |
| <li class="api apilevel-1"> |
| <a href="../../../reference/org/apache/http/cookie/package-summary.html">org.apache.http.cookie</a></li> |
| <li class="api apilevel-1"> |
| <a href="../../../reference/org/apache/http/cookie/params/package-summary.html">org.apache.http.cookie.params</a></li> |
| <li class="api apilevel-1"> |
| <a href="../../../reference/org/apache/http/entity/package-summary.html">org.apache.http.entity</a></li> |
| <li class="api apilevel-1"> |
| <a href="../../../reference/org/apache/http/impl/package-summary.html">org.apache.http.impl</a></li> |
| <li class="api apilevel-1"> |
| <a href="../../../reference/org/apache/http/impl/auth/package-summary.html">org.apache.http.impl.auth</a></li> |
| <li class="api apilevel-1"> |
| <a href="../../../reference/org/apache/http/impl/client/package-summary.html">org.apache.http.impl.client</a></li> |
| <li class="api apilevel-1"> |
| <a href="../../../reference/org/apache/http/impl/conn/package-summary.html">org.apache.http.impl.conn</a></li> |
| <li class="api apilevel-1"> |
| <a href="../../../reference/org/apache/http/impl/conn/tsccm/package-summary.html">org.apache.http.impl.conn.tsccm</a></li> |
| <li class="api apilevel-1"> |
| <a href="../../../reference/org/apache/http/impl/cookie/package-summary.html">org.apache.http.impl.cookie</a></li> |
| <li class="api apilevel-1"> |
| <a href="../../../reference/org/apache/http/impl/entity/package-summary.html">org.apache.http.impl.entity</a></li> |
| <li class="api apilevel-1"> |
| <a href="../../../reference/org/apache/http/impl/io/package-summary.html">org.apache.http.impl.io</a></li> |
| <li class="api apilevel-1"> |
| <a href="../../../reference/org/apache/http/io/package-summary.html">org.apache.http.io</a></li> |
| <li class="api apilevel-1"> |
| <a href="../../../reference/org/apache/http/message/package-summary.html">org.apache.http.message</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/apache/http/protocol/package-summary.html">org.apache.http.protocol</a></li> |
| <li class="api apilevel-1"> |
| <a href="../../../reference/org/apache/http/util/package-summary.html">org.apache.http.util</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><br/> |
| |
| </div> <!-- end packages-nav --> |
| </div> <!-- end resize-packages --> |
| <div id="classes-nav" class="scroll-pane"> |
| |
| |
| |
| <ul> |
| |
| <li><h2>Interfaces</h2> |
| <ul> |
| <li class="api apilevel-11"><a href="../../../reference/android/content/ClipboardManager.OnPrimaryClipChangedListener.html">ClipboardManager.OnPrimaryClipChangedListener</a></li> |
| <li class="api apilevel-1"><a href="../../../reference/android/content/ComponentCallbacks.html">ComponentCallbacks</a></li> |
| <li class="api apilevel-14"><a href="../../../reference/android/content/ComponentCallbacks2.html">ComponentCallbacks2</a></li> |
| <li class="api apilevel-11"><a href="../../../reference/android/content/ContentProvider.PipeDataWriter.html">ContentProvider.PipeDataWriter</a></li> |
| <li class="api apilevel-1"><a href="../../../reference/android/content/DialogInterface.html">DialogInterface</a></li> |
| <li class="api apilevel-1"><a href="../../../reference/android/content/DialogInterface.OnCancelListener.html">DialogInterface.OnCancelListener</a></li> |
| <li class="api apilevel-1"><a href="../../../reference/android/content/DialogInterface.OnClickListener.html">DialogInterface.OnClickListener</a></li> |
| <li class="api apilevel-1"><a href="../../../reference/android/content/DialogInterface.OnDismissListener.html">DialogInterface.OnDismissListener</a></li> |
| <li class="api apilevel-1"><a href="../../../reference/android/content/DialogInterface.OnKeyListener.html">DialogInterface.OnKeyListener</a></li> |
| <li class="api apilevel-1"><a href="../../../reference/android/content/DialogInterface.OnMultiChoiceClickListener.html">DialogInterface.OnMultiChoiceClickListener</a></li> |
| <li class="api apilevel-8"><a href="../../../reference/android/content/DialogInterface.OnShowListener.html">DialogInterface.OnShowListener</a></li> |
| <li class="api apilevel-8"><a href="../../../reference/android/content/EntityIterator.html">EntityIterator</a></li> |
| <li class="api apilevel-4"><a href="../../../reference/android/content/IntentSender.OnFinished.html">IntentSender.OnFinished</a></li> |
| <li class="api apilevel-16"><a href="../../../reference/android/content/Loader.OnLoadCanceledListener.html">Loader.OnLoadCanceledListener</a></li> |
| <li class="api apilevel-11"><a href="../../../reference/android/content/Loader.OnLoadCompleteListener.html">Loader.OnLoadCompleteListener</a></li> |
| <li class="api apilevel-1"><a href="../../../reference/android/content/ServiceConnection.html">ServiceConnection</a></li> |
| <li class="api apilevel-1"><a href="../../../reference/android/content/SharedPreferences.html">SharedPreferences</a></li> |
| <li class="api apilevel-1"><a href="../../../reference/android/content/SharedPreferences.Editor.html">SharedPreferences.Editor</a></li> |
| <li class="api apilevel-1"><a href="../../../reference/android/content/SharedPreferences.OnSharedPreferenceChangeListener.html">SharedPreferences.OnSharedPreferenceChangeListener</a></li> |
| <li class="api apilevel-5"><a href="../../../reference/android/content/SyncStatusObserver.html">SyncStatusObserver</a></li> |
| </ul> |
| </li> |
| |
| <li><h2>Classes</h2> |
| <ul> |
| <li class="api apilevel-5"><a href="../../../reference/android/content/AbstractThreadedSyncAdapter.html">AbstractThreadedSyncAdapter</a></li> |
| <li class="api apilevel-1"><a href="../../../reference/android/content/AsyncQueryHandler.html">AsyncQueryHandler</a></li> |
| <li class="api apilevel-1"><a href="../../../reference/android/content/AsyncQueryHandler.WorkerArgs.html">AsyncQueryHandler.WorkerArgs</a></li> |
| <li class="api apilevel-1"><a href="../../../reference/android/content/AsyncQueryHandler.WorkerHandler.html">AsyncQueryHandler.WorkerHandler</a></li> |
| <li class="api apilevel-11"><a href="../../../reference/android/content/AsyncTaskLoader.html">AsyncTaskLoader</a></li> |
| <li class="api apilevel-1"><a href="../../../reference/android/content/BroadcastReceiver.html">BroadcastReceiver</a></li> |
| <li class="api apilevel-11"><a href="../../../reference/android/content/BroadcastReceiver.PendingResult.html">BroadcastReceiver.PendingResult</a></li> |
| <li class="api apilevel-11"><a href="../../../reference/android/content/ClipboardManager.html">ClipboardManager</a></li> |
| <li class="api apilevel-11"><a href="../../../reference/android/content/ClipData.html">ClipData</a></li> |
| <li class="api apilevel-11"><a href="../../../reference/android/content/ClipData.Item.html">ClipData.Item</a></li> |
| <li class="api apilevel-11"><a href="../../../reference/android/content/ClipDescription.html">ClipDescription</a></li> |
| <li class="api apilevel-1"><a href="../../../reference/android/content/ComponentName.html">ComponentName</a></li> |
| <li class="api apilevel-1"><a href="../../../reference/android/content/ContentProvider.html">ContentProvider</a></li> |
| <li class="api apilevel-5"><a href="../../../reference/android/content/ContentProviderClient.html">ContentProviderClient</a></li> |
| <li class="api apilevel-5"><a href="../../../reference/android/content/ContentProviderOperation.html">ContentProviderOperation</a></li> |
| <li class="api apilevel-5"><a href="../../../reference/android/content/ContentProviderOperation.Builder.html">ContentProviderOperation.Builder</a></li> |
| <li class="api apilevel-5"><a href="../../../reference/android/content/ContentProviderResult.html">ContentProviderResult</a></li> |
| <li class="api apilevel-1"><a href="../../../reference/android/content/ContentQueryMap.html">ContentQueryMap</a></li> |
| <li class="api apilevel-1"><a href="../../../reference/android/content/ContentResolver.html">ContentResolver</a></li> |
| <li class="api apilevel-1"><a href="../../../reference/android/content/ContentUris.html">ContentUris</a></li> |
| <li class="api apilevel-1"><a href="../../../reference/android/content/ContentValues.html">ContentValues</a></li> |
| <li class="api apilevel-1"><a href="../../../reference/android/content/Context.html">Context</a></li> |
| <li class="api apilevel-1"><a href="../../../reference/android/content/ContextWrapper.html">ContextWrapper</a></li> |
| <li class="api apilevel-11"><a href="../../../reference/android/content/CursorLoader.html">CursorLoader</a></li> |
| <li class="api apilevel-8"><a href="../../../reference/android/content/Entity.html">Entity</a></li> |
| <li class="api apilevel-8"><a href="../../../reference/android/content/Entity.NamedContentValues.html">Entity.NamedContentValues</a></li> |
| <li class="selected api apilevel-1"><a href="../../../reference/android/content/Intent.html">Intent</a></li> |
| <li class="api apilevel-1"><a href="../../../reference/android/content/Intent.FilterComparison.html">Intent.FilterComparison</a></li> |
| <li class="api apilevel-1"><a href="../../../reference/android/content/Intent.ShortcutIconResource.html">Intent.ShortcutIconResource</a></li> |
| <li class="api apilevel-1"><a href="../../../reference/android/content/IntentFilter.html">IntentFilter</a></li> |
| <li class="api apilevel-1"><a href="../../../reference/android/content/IntentFilter.AuthorityEntry.html">IntentFilter.AuthorityEntry</a></li> |
| <li class="api apilevel-4"><a href="../../../reference/android/content/IntentSender.html">IntentSender</a></li> |
| <li class="api apilevel-11"><a href="../../../reference/android/content/Loader.html">Loader</a></li> |
| <li class="api apilevel-11"><a href="../../../reference/android/content/Loader.ForceLoadContentObserver.html">Loader.ForceLoadContentObserver</a></li> |
| <li class="api apilevel-1"><a href="../../../reference/android/content/MutableContextWrapper.html">MutableContextWrapper</a></li> |
| <li class="api apilevel-8"><a href="../../../reference/android/content/PeriodicSync.html">PeriodicSync</a></li> |
| <li class="api apilevel-1"><a href="../../../reference/android/content/SearchRecentSuggestionsProvider.html">SearchRecentSuggestionsProvider</a></li> |
| <li class="api apilevel-5"><a href="../../../reference/android/content/SyncAdapterType.html">SyncAdapterType</a></li> |
| <li class="api apilevel-5"><a href="../../../reference/android/content/SyncContext.html">SyncContext</a></li> |
| <li class="api apilevel-8"><a href="../../../reference/android/content/SyncInfo.html">SyncInfo</a></li> |
| <li class="api apilevel-5"><a href="../../../reference/android/content/SyncResult.html">SyncResult</a></li> |
| <li class="api apilevel-5"><a href="../../../reference/android/content/SyncStats.html">SyncStats</a></li> |
| <li class="api apilevel-1"><a href="../../../reference/android/content/UriMatcher.html">UriMatcher</a></li> |
| </ul> |
| </li> |
| |
| |
| <li><h2>Exceptions</h2> |
| <ul> |
| <li class="api apilevel-1"><a href="../../../reference/android/content/ActivityNotFoundException.html">ActivityNotFoundException</a></li> |
| <li class="api apilevel-1"><a href="../../../reference/android/content/IntentFilter.MalformedMimeTypeException.html">IntentFilter.MalformedMimeTypeException</a></li> |
| <li class="api apilevel-4"><a href="../../../reference/android/content/IntentSender.SendIntentException.html">IntentSender.SendIntentException</a></li> |
| <li class="api apilevel-5"><a href="../../../reference/android/content/OperationApplicationException.html">OperationApplicationException</a></li> |
| <li class="api apilevel-1"><a href="../../../reference/android/content/ReceiverCallNotAllowedException.html">ReceiverCallNotAllowedException</a></li> |
| </ul> |
| </li> |
| |
| </ul><br/> |
| |
| |
| </div><!-- end classes --> |
| </div><!-- end nav-panels --> |
| <div id="nav-tree" style="display:none" class="scroll-pane"> |
| <div id="tree-list"></div> |
| </div><!-- end nav-tree --> |
| </div><!-- end swapper --> |
| <div id="nav-swap"> |
| <a class="fullscreen">fullscreen</a> |
| <a href='#' onclick='swapNav();return false;'><span id='tree-link'>Use Tree Navigation</span><span id='panel-link' style='display:none'>Use Panel Navigation</span></a> |
| </div> |
| </div> <!-- end devdoc-nav --> |
| </div> <!-- end side-nav --> |
| <script type="text/javascript"> |
| // init fullscreen based on user pref |
| var fullscreen = readCookie("fullscreen"); |
| if (fullscreen != 0) { |
| if (fullscreen == "false") { |
| toggleFullscreen(false); |
| } else { |
| toggleFullscreen(true); |
| } |
| } |
| // init nav version for mobile |
| if (isMobile) { |
| swapNav(); // tree view should be used on mobile |
| $('#nav-swap').hide(); |
| } else { |
| chooseDefaultNav(); |
| if ($("#nav-tree").is(':visible')) { |
| init_default_navtree("../../../"); |
| } |
| } |
| // scroll the selected page into view |
| $(document).ready(function() { |
| scrollIntoView("packages-nav"); |
| scrollIntoView("classes-nav"); |
| }); |
| </script> |
| |
| |
| |
| |
| |
| <div class="col-12" id="doc-col"> |
| |
| <div id="api-info-block"> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <div class="sum-details-links"> |
| |
| Summary: |
| |
| <a href="#nestedclasses">Nested Classes</a> |
| |
| |
| |
| |
| |
| |
| | <a href="#constants">Constants</a> |
| |
| |
| |
| | <a href="#inhconstants">Inherited Constants</a> |
| |
| |
| |
| | <a href="#lfields">Fields</a> |
| |
| |
| |
| |
| | <a href="#pubctors">Ctors</a> |
| |
| |
| |
| |
| | <a href="#pubmethods">Methods</a> |
| |
| |
| |
| |
| | <a href="#inhmethods">Inherited Methods</a> |
| |
| | <a href="#" onclick="return toggleAllClassInherited()" id="toggleAllClassInherited">[Expand All]</a> |
| |
| </div><!-- end sum-details-links --> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| </div><!-- end api-info-block --> |
| |
| |
| <!-- ======== START OF CLASS DATA ======== --> |
| |
| <div id="jd-header"> |
| public |
| |
| |
| |
| class |
| <h1 itemprop="name">Intent</h1> |
| |
| |
| |
| |
| extends <a href="../../../reference/java/lang/Object.html">Object</a><br/> |
| |
| |
| |
| |
| |
| |
| implements |
| |
| <a href="../../../reference/android/os/Parcelable.html">Parcelable</a> |
| |
| <a href="../../../reference/java/lang/Cloneable.html">Cloneable</a> |
| |
| |
| |
| |
| |
| </div><!-- end header --> |
| |
| <div id="naMessage"></div> |
| |
| <div id="jd-content" class="api apilevel-1"> |
| <table class="jd-inheritance-table"> |
| |
| |
| <tr> |
| |
| <td colspan="2" class="jd-inheritance-class-cell"><a href="../../../reference/java/lang/Object.html">java.lang.Object</a></td> |
| </tr> |
| |
| |
| <tr> |
| |
| <td class="jd-inheritance-space"> ↳</td> |
| |
| <td colspan="1" class="jd-inheritance-class-cell">android.content.Intent</td> |
| </tr> |
| |
| |
| </table> |
| |
| |
| |
| |
| <table class="jd-sumtable jd-sumtable-subclasses"><tr><td colspan="12" style="border:none;margin:0;padding:0;"> |
| |
| <a href="#" onclick="return toggleInherited(this, null)" id="subclasses-direct" class="jd-expando-trigger closed" |
| ><img id="subclasses-direct-trigger" |
| src="../../../assets/images/triangle-closed.png" |
| class="jd-expando-trigger-img" /></a>Known Direct Subclasses |
| |
| <div id="subclasses-direct"> |
| <div id="subclasses-direct-list" |
| class="jd-inheritedlinks" |
| |
| > |
| |
| |
| <a href="../../../reference/android/content/pm/LabeledIntent.html">LabeledIntent</a> |
| |
| |
| </div> |
| <div id="subclasses-direct-summary" |
| style="display: none;" |
| > |
| <table class="jd-sumtable-expando"> |
| <tr class="alt-color api apilevel-5" > |
| <td class="jd-linkcol"><a href="../../../reference/android/content/pm/LabeledIntent.html">LabeledIntent</a></td> |
| <td class="jd-descrcol" width="100%">A special subclass of Intent that can have a custom label/icon |
| associated with it. </td> |
| </tr> |
| </table> |
| </div> |
| </div> |
| </td></tr></table> |
| |
| |
| |
| |
| <div class="jd-descr"> |
| |
| |
| <h2>Class Overview</h2> |
| <p itemprop="articleBody">An intent is an abstract description of an operation to be performed. It |
| can be used with <code><a href="../../../reference/android/content/Context.html#startActivity(android.content.Intent)">startActivity</a></code> to |
| launch an <code><a href="../../../reference/android/app/Activity.html">Activity</a></code>, |
| <code><a href="../../../reference/android/content/Context.html#sendBroadcast(android.content.Intent)">broadcastIntent</a></code> to |
| send it to any interested <code><a href="../../../reference/android/content/BroadcastReceiver.html">BroadcastReceiver</a></code> components, |
| and <code><a href="../../../reference/android/content/Context.html#startService(android.content.Intent)">startService(Intent)</a></code> or |
| <code><a href="../../../reference/android/content/Context.html#bindService(android.content.Intent, android.content.ServiceConnection, int)">bindService(Intent, ServiceConnection, int)</a></code> to communicate with a |
| background <code><a href="../../../reference/android/app/Service.html">Service</a></code>. |
| |
| <p>An Intent provides a facility for performing late runtime binding between the code in |
| different applications. Its most significant use is in the launching of activities, where it |
| can be thought of as the glue between activities. It is basically a passive data structure |
| holding an abstract description of an action to be performed.</p> |
| |
| <div class="special reference"> |
| <h3>Developer Guides</h3> |
| <p>For information about how to create and resolve intents, read the |
| <a href="../../../guide/topics/intents/intents-filters.html">Intents and Intent Filters</a> |
| developer guide.</p> |
| </div> |
| |
| <a name="IntentStructure"></a> |
| <h3>Intent Structure</h3> |
| <p>The primary pieces of information in an intent are:</p> |
| |
| <ul> |
| <li> <p><b>action</b> -- The general action to be performed, such as |
| <code><a href="../../../reference/android/content/Intent.html#ACTION_VIEW">ACTION_VIEW</a></code>, <code><a href="../../../reference/android/content/Intent.html#ACTION_EDIT">ACTION_EDIT</a></code>, <code><a href="../../../reference/android/content/Intent.html#ACTION_MAIN">ACTION_MAIN</a></code>, |
| etc.</p> |
| </li> |
| <li> <p><b>data</b> -- The data to operate on, such as a person record |
| in the contacts database, expressed as a <code><a href="../../../reference/android/net/Uri.html">Uri</a></code>.</p> |
| </li> |
| </ul> |
| |
| |
| <p>Some examples of action/data pairs are:</p> |
| |
| <ul> |
| <li> <p><b><code><a href="../../../reference/android/content/Intent.html#ACTION_VIEW">ACTION_VIEW</a></code> <i>content://contacts/people/1</i></b> -- Display |
| information about the person whose identifier is "1".</p> |
| </li> |
| <li> <p><b><code><a href="../../../reference/android/content/Intent.html#ACTION_DIAL">ACTION_DIAL</a></code> <i>content://contacts/people/1</i></b> -- Display |
| the phone dialer with the person filled in.</p> |
| </li> |
| <li> <p><b><code><a href="../../../reference/android/content/Intent.html#ACTION_VIEW">ACTION_VIEW</a></code> <i>tel:123</i></b> -- Display |
| the phone dialer with the given number filled in. Note how the |
| VIEW action does what what is considered the most reasonable thing for |
| a particular URI.</p> |
| </li> |
| <li> <p><b><code><a href="../../../reference/android/content/Intent.html#ACTION_DIAL">ACTION_DIAL</a></code> <i>tel:123</i></b> -- Display |
| the phone dialer with the given number filled in.</p> |
| </li> |
| <li> <p><b><code><a href="../../../reference/android/content/Intent.html#ACTION_EDIT">ACTION_EDIT</a></code> <i>content://contacts/people/1</i></b> -- Edit |
| information about the person whose identifier is "1".</p> |
| </li> |
| <li> <p><b><code><a href="../../../reference/android/content/Intent.html#ACTION_VIEW">ACTION_VIEW</a></code> <i>content://contacts/people/</i></b> -- Display |
| a list of people, which the user can browse through. This example is a |
| typical top-level entry into the Contacts application, showing you the |
| list of people. Selecting a particular person to view would result in a |
| new intent { <b><code><a href="../../../reference/android/content/Intent.html#ACTION_VIEW">ACTION_VIEW</a></code> <i>content://contacts/N</i></b> } |
| being used to start an activity to display that person.</p> |
| </li> |
| </ul> |
| |
| <p>In addition to these primary attributes, there are a number of secondary |
| attributes that you can also include with an intent:</p> |
| |
| <ul> |
| <li> <p><b>category</b> -- Gives additional information about the action |
| to execute. For example, <code><a href="../../../reference/android/content/Intent.html#CATEGORY_LAUNCHER">CATEGORY_LAUNCHER</a></code> means it should |
| appear in the Launcher as a top-level application, while |
| <code><a href="../../../reference/android/content/Intent.html#CATEGORY_ALTERNATIVE">CATEGORY_ALTERNATIVE</a></code> means it should be included in a list |
| of alternative actions the user can perform on a piece of data.</p> |
| <li> <p><b>type</b> -- Specifies an explicit type (a MIME type) of the |
| intent data. Normally the type is inferred from the data itself. |
| By setting this attribute, you disable that evaluation and force |
| an explicit type.</p> |
| <li> <p><b>component</b> -- Specifies an explicit name of a component |
| class to use for the intent. Normally this is determined by looking |
| at the other information in the intent (the action, data/type, and |
| categories) and matching that with a component that can handle it. |
| If this attribute is set then none of the evaluation is performed, |
| and this component is used exactly as is. By specifying this attribute, |
| all of the other Intent attributes become optional.</p> |
| <li> <p><b>extras</b> -- This is a <code><a href="../../../reference/android/os/Bundle.html">Bundle</a></code> of any additional information. |
| This can be used to provide extended information to the component. |
| For example, if we have a action to send an e-mail message, we could |
| also include extra pieces of data here to supply a subject, body, |
| etc.</p> |
| </ul> |
| |
| <p>Here are some examples of other operations you can specify as intents |
| using these additional parameters:</p> |
| |
| <ul> |
| <li> <p><b><code><a href="../../../reference/android/content/Intent.html#ACTION_MAIN">ACTION_MAIN</a></code> with category <code><a href="../../../reference/android/content/Intent.html#CATEGORY_HOME">CATEGORY_HOME</a></code></b> -- |
| Launch the home screen.</p> |
| </li> |
| <li> <p><b><code><a href="../../../reference/android/content/Intent.html#ACTION_GET_CONTENT">ACTION_GET_CONTENT</a></code> with MIME type |
| <i><code><a href="../../../reference/android/provider/Contacts.Phones.html#CONTENT_URI">vnd.android.cursor.item/phone</a></code></i></b> |
| -- Display the list of people's phone numbers, allowing the user to |
| browse through them and pick one and return it to the parent activity.</p> |
| </li> |
| <li> <p><b><code><a href="../../../reference/android/content/Intent.html#ACTION_GET_CONTENT">ACTION_GET_CONTENT</a></code> with MIME type |
| <i>*/*</i> and category <code><a href="../../../reference/android/content/Intent.html#CATEGORY_OPENABLE">CATEGORY_OPENABLE</a></code></b> |
| -- Display all pickers for data that can be opened with |
| <code><a href="../../../reference/android/content/ContentResolver.html#openInputStream(android.net.Uri)">ContentResolver.openInputStream()</a></code>, |
| allowing the user to pick one of them and then some data inside of it |
| and returning the resulting URI to the caller. This can be used, |
| for example, in an e-mail application to allow the user to pick some |
| data to include as an attachment.</p> |
| </li> |
| </ul> |
| |
| <p>There are a variety of standard Intent action and category constants |
| defined in the Intent class, but applications can also define their own. |
| These strings use java style scoping, to ensure they are unique -- for |
| example, the standard <code><a href="../../../reference/android/content/Intent.html#ACTION_VIEW">ACTION_VIEW</a></code> is called |
| "android.intent.action.VIEW".</p> |
| |
| <p>Put together, the set of actions, data types, categories, and extra data |
| defines a language for the system allowing for the expression of phrases |
| such as "call john smith's cell". As applications are added to the system, |
| they can extend this language by adding new actions, types, and categories, or |
| they can modify the behavior of existing phrases by supplying their own |
| activities that handle them.</p> |
| |
| <a name="IntentResolution"></a> |
| <h3>Intent Resolution</h3> |
| |
| <p>There are two primary forms of intents you will use. |
| |
| <ul> |
| <li> <p><b>Explicit Intents</b> have specified a component (via |
| <code><a href="../../../reference/android/content/Intent.html#setComponent(android.content.ComponentName)">setComponent(ComponentName)</a></code> or <code><a href="../../../reference/android/content/Intent.html#setClass(android.content.Context, java.lang.Class<?>)">setClass(Context, Class<?>)</a></code>), which provides the exact |
| class to be run. Often these will not include any other information, |
| simply being a way for an application to launch various internal |
| activities it has as the user interacts with the application. |
| |
| <li> <p><b>Implicit Intents</b> have not specified a component; |
| instead, they must include enough information for the system to |
| determine which of the available components is best to run for that |
| intent. |
| </ul> |
| |
| <p>When using implicit intents, given such an arbitrary intent we need to |
| know what to do with it. This is handled by the process of <em>Intent |
| resolution</em>, which maps an Intent to an <code><a href="../../../reference/android/app/Activity.html">Activity</a></code>, |
| <code><a href="../../../reference/android/content/BroadcastReceiver.html">BroadcastReceiver</a></code>, or <code><a href="../../../reference/android/app/Service.html">Service</a></code> (or sometimes two or |
| more activities/receivers) that can handle it.</p> |
| |
| <p>The intent resolution mechanism basically revolves around matching an |
| Intent against all of the <intent-filter> descriptions in the |
| installed application packages. (Plus, in the case of broadcasts, any <code><a href="../../../reference/android/content/BroadcastReceiver.html">BroadcastReceiver</a></code> |
| objects explicitly registered with <code><a href="../../../reference/android/content/Context.html#registerReceiver(android.content.BroadcastReceiver, android.content.IntentFilter)">registerReceiver(BroadcastReceiver, IntentFilter)</a></code>.) More |
| details on this can be found in the documentation on the <code><a href="../../../reference/android/content/IntentFilter.html">IntentFilter</a></code> class.</p> |
| |
| <p>There are three pieces of information in the Intent that are used for |
| resolution: the action, type, and category. Using this information, a query |
| is done on the <code><a href="../../../reference/android/content/pm/PackageManager.html">PackageManager</a></code> for a component that can handle the |
| intent. The appropriate component is determined based on the intent |
| information supplied in the <code>AndroidManifest.xml</code> file as |
| follows:</p> |
| |
| <ul> |
| <li> <p>The <b>action</b>, if given, must be listed by the component as |
| one it handles.</p> |
| <li> <p>The <b>type</b> is retrieved from the Intent's data, if not |
| already supplied in the Intent. Like the action, if a type is |
| included in the intent (either explicitly or implicitly in its |
| data), then this must be listed by the component as one it handles.</p> |
| <li> For data that is not a <code>content:</code> URI and where no explicit |
| type is included in the Intent, instead the <b>scheme</b> of the |
| intent data (such as <code>http:</code> or <code>mailto:</code>) is |
| considered. Again like the action, if we are matching a scheme it |
| must be listed by the component as one it can handle. |
| <li> <p>The <b>categories</b>, if supplied, must <em>all</em> be listed |
| by the activity as categories it handles. That is, if you include |
| the categories <code><a href="../../../reference/android/content/Intent.html#CATEGORY_LAUNCHER">CATEGORY_LAUNCHER</a></code> and |
| <code><a href="../../../reference/android/content/Intent.html#CATEGORY_ALTERNATIVE">CATEGORY_ALTERNATIVE</a></code>, then you will only resolve to components |
| with an intent that lists <em>both</em> of those categories. |
| Activities will very often need to support the |
| <code><a href="../../../reference/android/content/Intent.html#CATEGORY_DEFAULT">CATEGORY_DEFAULT</a></code> so that they can be found by |
| <code><a href="../../../reference/android/content/Context.html#startActivity(android.content.Intent)">Context.startActivity()</a></code>.</p> |
| </ul> |
| |
| <p>For example, consider the Note Pad sample application that |
| allows user to browse through a list of notes data and view details about |
| individual items. Text in italics indicate places were you would replace a |
| name with one specific to your own package.</p> |
| |
| <pre> <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| package="<i>com.android.notepad</i>"> |
| <application android:icon="@drawable/app_notes" |
| android:label="@string/app_name"> |
| |
| <provider class=".NotePadProvider" |
| android:authorities="<i>com.google.provider.NotePad</i>" /> |
| |
| <activity class=".NotesList" android:label="@string/title_notes_list"> |
| <intent-filter> |
| <action android:name="android.intent.action.MAIN" /> |
| <category android:name="android.intent.category.LAUNCHER" /> |
| </intent-filter> |
| <intent-filter> |
| <action android:name="android.intent.action.VIEW" /> |
| <action android:name="android.intent.action.EDIT" /> |
| <action android:name="android.intent.action.PICK" /> |
| <category android:name="android.intent.category.DEFAULT" /> |
| <data android:mimeType="vnd.android.cursor.dir/<i>vnd.google.note</i>" /> |
| </intent-filter> |
| <intent-filter> |
| <action android:name="android.intent.action.GET_CONTENT" /> |
| <category android:name="android.intent.category.DEFAULT" /> |
| <data android:mimeType="vnd.android.cursor.item/<i>vnd.google.note</i>" /> |
| </intent-filter> |
| </activity> |
| |
| <activity class=".NoteEditor" android:label="@string/title_note"> |
| <intent-filter android:label="@string/resolve_edit"> |
| <action android:name="android.intent.action.VIEW" /> |
| <action android:name="android.intent.action.EDIT" /> |
| <category android:name="android.intent.category.DEFAULT" /> |
| <data android:mimeType="vnd.android.cursor.item/<i>vnd.google.note</i>" /> |
| </intent-filter> |
| |
| <intent-filter> |
| <action android:name="android.intent.action.INSERT" /> |
| <category android:name="android.intent.category.DEFAULT" /> |
| <data android:mimeType="vnd.android.cursor.dir/<i>vnd.google.note</i>" /> |
| </intent-filter> |
| |
| </activity> |
| |
| <activity class=".TitleEditor" android:label="@string/title_edit_title" |
| android:theme="@android:style/Theme.Dialog"> |
| <intent-filter android:label="@string/resolve_title"> |
| <action android:name="<i>com.android.notepad.action.EDIT_TITLE</i>" /> |
| <category android:name="android.intent.category.DEFAULT" /> |
| <category android:name="android.intent.category.ALTERNATIVE" /> |
| <category android:name="android.intent.category.SELECTED_ALTERNATIVE" /> |
| <data android:mimeType="vnd.android.cursor.item/<i>vnd.google.note</i>" /> |
| </intent-filter> |
| </activity> |
| |
| </application> |
| </manifest></pre> |
| |
| <p>The first activity, |
| <code>com.android.notepad.NotesList</code>, serves as our main |
| entry into the app. It can do three things as described by its three intent |
| templates: |
| <ol> |
| <li><pre> |
| <intent-filter> |
| <action android:name="<code><a href="../../../reference/android/content/Intent.html#ACTION_MAIN">android.intent.action.MAIN</a></code>" /> |
| <category android:name="<code><a href="../../../reference/android/content/Intent.html#CATEGORY_LAUNCHER">android.intent.category.LAUNCHER</a></code>" /> |
| </intent-filter></pre> |
| <p>This provides a top-level entry into the NotePad application: the standard |
| MAIN action is a main entry point (not requiring any other information in |
| the Intent), and the LAUNCHER category says that this entry point should be |
| listed in the application launcher.</p> |
| <li><pre> |
| <intent-filter> |
| <action android:name="<code><a href="../../../reference/android/content/Intent.html#ACTION_VIEW">android.intent.action.VIEW</a></code>" /> |
| <action android:name="<code><a href="../../../reference/android/content/Intent.html#ACTION_EDIT">android.intent.action.EDIT</a></code>" /> |
| <action android:name="<code><a href="../../../reference/android/content/Intent.html#ACTION_PICK">android.intent.action.PICK</a></code>" /> |
| <category android:name="<code><a href="../../../reference/android/content/Intent.html#CATEGORY_DEFAULT">android.intent.category.DEFAULT</a></code>" /> |
| <data mimeType:name="vnd.android.cursor.dir/<i>vnd.google.note</i>" /> |
| </intent-filter></pre> |
| <p>This declares the things that the activity can do on a directory of |
| notes. The type being supported is given with the <type> tag, where |
| <code>vnd.android.cursor.dir/vnd.google.note</code> is a URI from which |
| a Cursor of zero or more items (<code>vnd.android.cursor.dir</code>) can |
| be retrieved which holds our note pad data (<code>vnd.google.note</code>). |
| The activity allows the user to view or edit the directory of data (via |
| the VIEW and EDIT actions), or to pick a particular note and return it |
| to the caller (via the PICK action). Note also the DEFAULT category |
| supplied here: this is <em>required</em> for the |
| <code><a href="../../../reference/android/content/Context.html#startActivity(android.content.Intent)">Context.startActivity</a></code> method to resolve your |
| activity when its component name is not explicitly specified.</p> |
| <li><pre> |
| <intent-filter> |
| <action android:name="<code><a href="../../../reference/android/content/Intent.html#ACTION_GET_CONTENT">android.intent.action.GET_CONTENT</a></code>" /> |
| <category android:name="<code><a href="../../../reference/android/content/Intent.html#CATEGORY_DEFAULT">android.intent.category.DEFAULT</a></code>" /> |
| <data android:mimeType="vnd.android.cursor.item/<i>vnd.google.note</i>" /> |
| </intent-filter></pre> |
| <p>This filter describes the ability return to the caller a note selected by |
| the user without needing to know where it came from. The data type |
| <code>vnd.android.cursor.item/vnd.google.note</code> is a URI from which |
| a Cursor of exactly one (<code>vnd.android.cursor.item</code>) item can |
| be retrieved which contains our note pad data (<code>vnd.google.note</code>). |
| The GET_CONTENT action is similar to the PICK action, where the activity |
| will return to its caller a piece of data selected by the user. Here, |
| however, the caller specifies the type of data they desire instead of |
| the type of data the user will be picking from.</p> |
| </ol> |
| |
| <p>Given these capabilities, the following intents will resolve to the |
| NotesList activity:</p> |
| |
| <ul> |
| <li> <p><b>{ action=android.app.action.MAIN }</b> matches all of the |
| activities that can be used as top-level entry points into an |
| application.</p> |
| <li> <p><b>{ action=android.app.action.MAIN, |
| category=android.app.category.LAUNCHER }</b> is the actual intent |
| used by the Launcher to populate its top-level list.</p> |
| <li> <p><b>{ action=android.intent.action.VIEW |
| data=content://com.google.provider.NotePad/notes }</b> |
| displays a list of all the notes under |
| "content://com.google.provider.NotePad/notes", which |
| the user can browse through and see the details on.</p> |
| <li> <p><b>{ action=android.app.action.PICK |
| data=content://com.google.provider.NotePad/notes }</b> |
| provides a list of the notes under |
| "content://com.google.provider.NotePad/notes", from which |
| the user can pick a note whose data URL is returned back to the caller.</p> |
| <li> <p><b>{ action=android.app.action.GET_CONTENT |
| type=vnd.android.cursor.item/vnd.google.note }</b> |
| is similar to the pick action, but allows the caller to specify the |
| kind of data they want back so that the system can find the appropriate |
| activity to pick something of that data type.</p> |
| </ul> |
| |
| <p>The second activity, |
| <code>com.android.notepad.NoteEditor</code>, shows the user a single |
| note entry and allows them to edit it. It can do two things as described |
| by its two intent templates: |
| <ol> |
| <li><pre> |
| <intent-filter android:label="@string/resolve_edit"> |
| <action android:name="<code><a href="../../../reference/android/content/Intent.html#ACTION_VIEW">android.intent.action.VIEW</a></code>" /> |
| <action android:name="<code><a href="../../../reference/android/content/Intent.html#ACTION_EDIT">android.intent.action.EDIT</a></code>" /> |
| <category android:name="<code><a href="../../../reference/android/content/Intent.html#CATEGORY_DEFAULT">android.intent.category.DEFAULT</a></code>" /> |
| <data android:mimeType="vnd.android.cursor.item/<i>vnd.google.note</i>" /> |
| </intent-filter></pre> |
| <p>The first, primary, purpose of this activity is to let the user interact |
| with a single note, as decribed by the MIME type |
| <code>vnd.android.cursor.item/vnd.google.note</code>. The activity can |
| either VIEW a note or allow the user to EDIT it. Again we support the |
| DEFAULT category to allow the activity to be launched without explicitly |
| specifying its component.</p> |
| <li><pre> |
| <intent-filter> |
| <action android:name="<code><a href="../../../reference/android/content/Intent.html#ACTION_INSERT">android.intent.action.INSERT</a></code>" /> |
| <category android:name="<code><a href="../../../reference/android/content/Intent.html#CATEGORY_DEFAULT">android.intent.category.DEFAULT</a></code>" /> |
| <data android:mimeType="vnd.android.cursor.dir/<i>vnd.google.note</i>" /> |
| </intent-filter></pre> |
| <p>The secondary use of this activity is to insert a new note entry into |
| an existing directory of notes. This is used when the user creates a new |
| note: the INSERT action is executed on the directory of notes, causing |
| this activity to run and have the user create the new note data which |
| it then adds to the content provider.</p> |
| </ol> |
| |
| <p>Given these capabilities, the following intents will resolve to the |
| NoteEditor activity:</p> |
| |
| <ul> |
| <li> <p><b>{ action=android.intent.action.VIEW |
| data=content://com.google.provider.NotePad/notes/<var>{ID}</var> }</b> |
| shows the user the content of note <var>{ID}</var>.</p> |
| <li> <p><b>{ action=android.app.action.EDIT |
| data=content://com.google.provider.NotePad/notes/<var>{ID}</var> }</b> |
| allows the user to edit the content of note <var>{ID}</var>.</p> |
| <li> <p><b>{ action=android.app.action.INSERT |
| data=content://com.google.provider.NotePad/notes }</b> |
| creates a new, empty note in the notes list at |
| "content://com.google.provider.NotePad/notes" |
| and allows the user to edit it. If they keep their changes, the URI |
| of the newly created note is returned to the caller.</p> |
| </ul> |
| |
| <p>The last activity, |
| <code>com.android.notepad.TitleEditor</code>, allows the user to |
| edit the title of a note. This could be implemented as a class that the |
| application directly invokes (by explicitly setting its component in |
| the Intent), but here we show a way you can publish alternative |
| operations on existing data:</p> |
| |
| <pre> |
| <intent-filter android:label="@string/resolve_title"> |
| <action android:name="<i>com.android.notepad.action.EDIT_TITLE</i>" /> |
| <category android:name="<code><a href="../../../reference/android/content/Intent.html#CATEGORY_DEFAULT">android.intent.category.DEFAULT</a></code>" /> |
| <category android:name="<code><a href="../../../reference/android/content/Intent.html#CATEGORY_ALTERNATIVE">android.intent.category.ALTERNATIVE</a></code>" /> |
| <category android:name="<code><a href="../../../reference/android/content/Intent.html#CATEGORY_SELECTED_ALTERNATIVE">android.intent.category.SELECTED_ALTERNATIVE</a></code>" /> |
| <data android:mimeType="vnd.android.cursor.item/<i>vnd.google.note</i>" /> |
| </intent-filter></pre> |
| |
| <p>In the single intent template here, we |
| have created our own private action called |
| <code>com.android.notepad.action.EDIT_TITLE</code> which means to |
| edit the title of a note. It must be invoked on a specific note |
| (data type <code>vnd.android.cursor.item/vnd.google.note</code>) like the previous |
| view and edit actions, but here displays and edits the title contained |
| in the note data. |
| |
| <p>In addition to supporting the default category as usual, our title editor |
| also supports two other standard categories: ALTERNATIVE and |
| SELECTED_ALTERNATIVE. Implementing |
| these categories allows others to find the special action it provides |
| without directly knowing about it, through the |
| <code><a href="../../../reference/android/content/pm/PackageManager.html#queryIntentActivityOptions(android.content.ComponentName, android.content.Intent[], android.content.Intent, int)">queryIntentActivityOptions(ComponentName, Intent[], Intent, int)</a></code> method, or |
| more often to build dynamic menu items with |
| <code><a href="../../../reference/android/view/Menu.html#addIntentOptions(int, int, int, android.content.ComponentName, android.content.Intent[], android.content.Intent, int, android.view.MenuItem[])">addIntentOptions(int, int, int, ComponentName, Intent[], Intent, int, MenuItem[])</a></code>. Note that in the intent |
| template here was also supply an explicit name for the template |
| (via <code>android:label="@string/resolve_title"</code>) to better control |
| what the user sees when presented with this activity as an alternative |
| action to the data they are viewing. |
| |
| <p>Given these capabilities, the following intent will resolve to the |
| TitleEditor activity:</p> |
| |
| <ul> |
| <li> <p><b>{ action=com.android.notepad.action.EDIT_TITLE |
| data=content://com.google.provider.NotePad/notes/<var>{ID}</var> }</b> |
| displays and allows the user to edit the title associated |
| with note <var>{ID}</var>.</p> |
| </ul> |
| |
| <h3>Standard Activity Actions</h3> |
| |
| <p>These are the current standard actions that Intent defines for launching |
| activities (usually through <code><a href="../../../reference/android/content/Context.html#startActivity(android.content.Intent)">startActivity(Intent)</a></code>. The most |
| important, and by far most frequently used, are <code><a href="../../../reference/android/content/Intent.html#ACTION_MAIN">ACTION_MAIN</a></code> and |
| <code><a href="../../../reference/android/content/Intent.html#ACTION_EDIT">ACTION_EDIT</a></code>. |
| |
| <ul> |
| <li> <code><a href="../../../reference/android/content/Intent.html#ACTION_MAIN">ACTION_MAIN</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#ACTION_VIEW">ACTION_VIEW</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#ACTION_ATTACH_DATA">ACTION_ATTACH_DATA</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#ACTION_EDIT">ACTION_EDIT</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#ACTION_PICK">ACTION_PICK</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#ACTION_CHOOSER">ACTION_CHOOSER</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#ACTION_GET_CONTENT">ACTION_GET_CONTENT</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#ACTION_DIAL">ACTION_DIAL</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#ACTION_CALL">ACTION_CALL</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#ACTION_SEND">ACTION_SEND</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#ACTION_SENDTO">ACTION_SENDTO</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#ACTION_ANSWER">ACTION_ANSWER</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#ACTION_INSERT">ACTION_INSERT</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#ACTION_DELETE">ACTION_DELETE</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#ACTION_RUN">ACTION_RUN</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#ACTION_SYNC">ACTION_SYNC</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#ACTION_PICK_ACTIVITY">ACTION_PICK_ACTIVITY</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#ACTION_SEARCH">ACTION_SEARCH</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#ACTION_WEB_SEARCH">ACTION_WEB_SEARCH</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#ACTION_FACTORY_TEST">ACTION_FACTORY_TEST</a></code> |
| </ul> |
| |
| <h3>Standard Broadcast Actions</h3> |
| |
| <p>These are the current standard actions that Intent defines for receiving |
| broadcasts (usually through <code><a href="../../../reference/android/content/Context.html#registerReceiver(android.content.BroadcastReceiver, android.content.IntentFilter)">registerReceiver(BroadcastReceiver, IntentFilter)</a></code> or a |
| <receiver> tag in a manifest). |
| |
| <ul> |
| <li> <code><a href="../../../reference/android/content/Intent.html#ACTION_TIME_TICK">ACTION_TIME_TICK</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#ACTION_TIME_CHANGED">ACTION_TIME_CHANGED</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#ACTION_TIMEZONE_CHANGED">ACTION_TIMEZONE_CHANGED</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#ACTION_BOOT_COMPLETED">ACTION_BOOT_COMPLETED</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#ACTION_PACKAGE_ADDED">ACTION_PACKAGE_ADDED</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#ACTION_PACKAGE_CHANGED">ACTION_PACKAGE_CHANGED</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#ACTION_PACKAGE_REMOVED">ACTION_PACKAGE_REMOVED</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#ACTION_PACKAGE_RESTARTED">ACTION_PACKAGE_RESTARTED</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#ACTION_PACKAGE_DATA_CLEARED">ACTION_PACKAGE_DATA_CLEARED</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#ACTION_UID_REMOVED">ACTION_UID_REMOVED</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#ACTION_BATTERY_CHANGED">ACTION_BATTERY_CHANGED</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#ACTION_POWER_CONNECTED">ACTION_POWER_CONNECTED</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#ACTION_POWER_DISCONNECTED">ACTION_POWER_DISCONNECTED</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#ACTION_SHUTDOWN">ACTION_SHUTDOWN</a></code> |
| </ul> |
| |
| <h3>Standard Categories</h3> |
| |
| <p>These are the current standard categories that can be used to further |
| clarify an Intent via <code><a href="../../../reference/android/content/Intent.html#addCategory(java.lang.String)">addCategory(String)</a></code>. |
| |
| <ul> |
| <li> <code><a href="../../../reference/android/content/Intent.html#CATEGORY_DEFAULT">CATEGORY_DEFAULT</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#CATEGORY_BROWSABLE">CATEGORY_BROWSABLE</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#CATEGORY_TAB">CATEGORY_TAB</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#CATEGORY_ALTERNATIVE">CATEGORY_ALTERNATIVE</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#CATEGORY_SELECTED_ALTERNATIVE">CATEGORY_SELECTED_ALTERNATIVE</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#CATEGORY_LAUNCHER">CATEGORY_LAUNCHER</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#CATEGORY_INFO">CATEGORY_INFO</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#CATEGORY_HOME">CATEGORY_HOME</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#CATEGORY_PREFERENCE">CATEGORY_PREFERENCE</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#CATEGORY_TEST">CATEGORY_TEST</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#CATEGORY_CAR_DOCK">CATEGORY_CAR_DOCK</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#CATEGORY_DESK_DOCK">CATEGORY_DESK_DOCK</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#CATEGORY_LE_DESK_DOCK">CATEGORY_LE_DESK_DOCK</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#CATEGORY_HE_DESK_DOCK">CATEGORY_HE_DESK_DOCK</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#CATEGORY_CAR_MODE">CATEGORY_CAR_MODE</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#CATEGORY_APP_MARKET">CATEGORY_APP_MARKET</a></code> |
| </ul> |
| |
| <h3>Standard Extra Data</h3> |
| |
| <p>These are the current standard fields that can be used as extra data via |
| <code><a href="../../../reference/android/content/Intent.html#putExtra(java.lang.String, android.os.Bundle)">putExtra(String, Bundle)</a></code>. |
| |
| <ul> |
| <li> <code><a href="../../../reference/android/content/Intent.html#EXTRA_ALARM_COUNT">EXTRA_ALARM_COUNT</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#EXTRA_BCC">EXTRA_BCC</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#EXTRA_CC">EXTRA_CC</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#EXTRA_CHANGED_COMPONENT_NAME">EXTRA_CHANGED_COMPONENT_NAME</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#EXTRA_DATA_REMOVED">EXTRA_DATA_REMOVED</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#EXTRA_DOCK_STATE">EXTRA_DOCK_STATE</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#EXTRA_DOCK_STATE_HE_DESK">EXTRA_DOCK_STATE_HE_DESK</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#EXTRA_DOCK_STATE_LE_DESK">EXTRA_DOCK_STATE_LE_DESK</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#EXTRA_DOCK_STATE_CAR">EXTRA_DOCK_STATE_CAR</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#EXTRA_DOCK_STATE_DESK">EXTRA_DOCK_STATE_DESK</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#EXTRA_DOCK_STATE_UNDOCKED">EXTRA_DOCK_STATE_UNDOCKED</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#EXTRA_DONT_KILL_APP">EXTRA_DONT_KILL_APP</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#EXTRA_EMAIL">EXTRA_EMAIL</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#EXTRA_INITIAL_INTENTS">EXTRA_INITIAL_INTENTS</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#EXTRA_INTENT">EXTRA_INTENT</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#EXTRA_KEY_EVENT">EXTRA_KEY_EVENT</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#EXTRA_ORIGINATING_URI">EXTRA_ORIGINATING_URI</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#EXTRA_PHONE_NUMBER">EXTRA_PHONE_NUMBER</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#EXTRA_REFERRER">EXTRA_REFERRER</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#EXTRA_REMOTE_INTENT_TOKEN">EXTRA_REMOTE_INTENT_TOKEN</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#EXTRA_REPLACING">EXTRA_REPLACING</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#EXTRA_SHORTCUT_ICON">EXTRA_SHORTCUT_ICON</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#EXTRA_SHORTCUT_ICON_RESOURCE">EXTRA_SHORTCUT_ICON_RESOURCE</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#EXTRA_SHORTCUT_INTENT">EXTRA_SHORTCUT_INTENT</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#EXTRA_STREAM">EXTRA_STREAM</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#EXTRA_SHORTCUT_NAME">EXTRA_SHORTCUT_NAME</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#EXTRA_SUBJECT">EXTRA_SUBJECT</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#EXTRA_TEMPLATE">EXTRA_TEMPLATE</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#EXTRA_TEXT">EXTRA_TEXT</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#EXTRA_TITLE">EXTRA_TITLE</a></code> |
| <li> <code><a href="../../../reference/android/content/Intent.html#EXTRA_UID">EXTRA_UID</a></code> |
| </ul> |
| |
| <h3>Flags</h3> |
| |
| <p>These are the possible flags that can be used in the Intent via |
| <code><a href="../../../reference/android/content/Intent.html#setFlags(int)">setFlags(int)</a></code> and <code><a href="../../../reference/android/content/Intent.html#addFlags(int)">addFlags(int)</a></code>. See <code><a href="../../../reference/android/content/Intent.html#setFlags(int)">setFlags(int)</a></code> for a list |
| of all possible flags. |
| </p> |
| |
| |
| |
| |
| |
| </div><!-- jd-descr --> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <div class="jd-descr"> |
| |
| |
| <h2>Summary</h2> |
| |
| |
| |
| <!-- ======== NESTED CLASS SUMMARY ======== --> |
| <table id="nestedclasses" class="jd-sumtable"><tr><th colspan="12">Nested Classes</th></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| class</nobr></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.FilterComparison.html">Intent.FilterComparison</a></td> |
| <td class="jd-descrcol" width="100%">Wrapper class holding an Intent and implementing comparisons on it for |
| the purpose of filtering. </td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| class</nobr></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.ShortcutIconResource.html">Intent.ShortcutIconResource</a></td> |
| <td class="jd-descrcol" width="100%">Represents a shortcut/live folder icon resource. </td> |
| </tr> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <!-- =========== ENUM CONSTANT SUMMARY =========== --> |
| <table id="constants" class="jd-sumtable"><tr><th colspan="12">Constants</th></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_AIRPLANE_MODE_CHANGED">ACTION_AIRPLANE_MODE_CHANGED</a></td> |
| <td class="jd-descrcol" width="100%"><p>Broadcast Action: The user has switched the phone into or out of Airplane Mode.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_ALL_APPS">ACTION_ALL_APPS</a></td> |
| <td class="jd-descrcol" width="100%">Activity Action: List all available applications |
| <p>Input: Nothing.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_ANSWER">ACTION_ANSWER</a></td> |
| <td class="jd-descrcol" width="100%">Activity Action: Handle an incoming phone call.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-14" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_APP_ERROR">ACTION_APP_ERROR</a></td> |
| <td class="jd-descrcol" width="100%">Activity Action: The user pressed the "Report" button in the crash/ANR dialog.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-16" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_ASSIST">ACTION_ASSIST</a></td> |
| <td class="jd-descrcol" width="100%">Activity Action: Perform assist action.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_ATTACH_DATA">ACTION_ATTACH_DATA</a></td> |
| <td class="jd-descrcol" width="100%">Used to indicate that some piece of data should be attached to some other |
| place.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_BATTERY_CHANGED">ACTION_BATTERY_CHANGED</a></td> |
| <td class="jd-descrcol" width="100%">Broadcast Action: This is a <em>sticky broadcast</em> containing the |
| charging state, level, and other information about the battery.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_BATTERY_LOW">ACTION_BATTERY_LOW</a></td> |
| <td class="jd-descrcol" width="100%">Broadcast Action: Indicates low battery condition on the device.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-4" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_BATTERY_OKAY">ACTION_BATTERY_OKAY</a></td> |
| <td class="jd-descrcol" width="100%">Broadcast Action: Indicates the battery is now okay after being low.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_BOOT_COMPLETED">ACTION_BOOT_COMPLETED</a></td> |
| <td class="jd-descrcol" width="100%">Broadcast Action: This is broadcast once, after the system has finished |
| booting.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_BUG_REPORT">ACTION_BUG_REPORT</a></td> |
| <td class="jd-descrcol" width="100%">Activity Action: Show activity for reporting a bug.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_CALL">ACTION_CALL</a></td> |
| <td class="jd-descrcol" width="100%">Activity Action: Perform a call to someone specified by the data.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_CALL_BUTTON">ACTION_CALL_BUTTON</a></td> |
| <td class="jd-descrcol" width="100%">Activity Action: The user pressed the "call" button to go to the dialer |
| or other appropriate UI for placing a call.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_CAMERA_BUTTON">ACTION_CAMERA_BUTTON</a></td> |
| <td class="jd-descrcol" width="100%">Broadcast Action: The "Camera Button" was pressed.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_CHOOSER">ACTION_CHOOSER</a></td> |
| <td class="jd-descrcol" width="100%">Activity Action: Display an activity chooser, allowing the user to pick |
| what they want to before proceeding.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_CLOSE_SYSTEM_DIALOGS">ACTION_CLOSE_SYSTEM_DIALOGS</a></td> |
| <td class="jd-descrcol" width="100%">Broadcast Action: This is broadcast when a user action should request a |
| temporary system dialog to dismiss.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_CONFIGURATION_CHANGED">ACTION_CONFIGURATION_CHANGED</a></td> |
| <td class="jd-descrcol" width="100%">Broadcast Action: The current device <code><a href="../../../reference/android/content/res/Configuration.html">Configuration</a></code> |
| (orientation, locale, etc) has changed.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_CREATE_SHORTCUT">ACTION_CREATE_SHORTCUT</a></td> |
| <td class="jd-descrcol" width="100%">Activity Action: Creates a shortcut.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_DATE_CHANGED">ACTION_DATE_CHANGED</a></td> |
| <td class="jd-descrcol" width="100%">Broadcast Action: The date has changed.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_DEFAULT">ACTION_DEFAULT</a></td> |
| <td class="jd-descrcol" width="100%">A synonym for <code><a href="../../../reference/android/content/Intent.html#ACTION_VIEW">ACTION_VIEW</a></code>, the "standard" action that is |
| performed on a piece of data.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_DELETE">ACTION_DELETE</a></td> |
| <td class="jd-descrcol" width="100%">Activity Action: Delete the given data from its container.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_DEVICE_STORAGE_LOW">ACTION_DEVICE_STORAGE_LOW</a></td> |
| <td class="jd-descrcol" width="100%">Broadcast Action: A sticky broadcast that indicates low memory |
| condition on the device |
| |
| <p class="note">This is a protected intent that can only be sent |
| by the system.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_DEVICE_STORAGE_OK">ACTION_DEVICE_STORAGE_OK</a></td> |
| <td class="jd-descrcol" width="100%">Broadcast Action: Indicates low memory condition on the device no longer exists |
| |
| <p class="note">This is a protected intent that can only be sent |
| by the system.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_DIAL">ACTION_DIAL</a></td> |
| <td class="jd-descrcol" width="100%">Activity Action: Dial a number as specified by the data.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-5" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_DOCK_EVENT">ACTION_DOCK_EVENT</a></td> |
| <td class="jd-descrcol" width="100%">Broadcast Action: A sticky broadcast for changes in the physical |
| docking state of the device.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-17" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_DREAMING_STARTED">ACTION_DREAMING_STARTED</a></td> |
| <td class="jd-descrcol" width="100%">Broadcast Action: Sent after the system starts dreaming.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-17" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_DREAMING_STOPPED">ACTION_DREAMING_STOPPED</a></td> |
| <td class="jd-descrcol" width="100%">Broadcast Action: Sent after the system stops dreaming.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_EDIT">ACTION_EDIT</a></td> |
| <td class="jd-descrcol" width="100%">Activity Action: Provide explicit editable access to the given data.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-8" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_EXTERNAL_APPLICATIONS_AVAILABLE">ACTION_EXTERNAL_APPLICATIONS_AVAILABLE</a></td> |
| <td class="jd-descrcol" width="100%">Broadcast Action: Resources for a set of packages (which were |
| previously unavailable) are currently |
| available since the media on which they exist is available.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-8" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE">ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE</a></td> |
| <td class="jd-descrcol" width="100%">Broadcast Action: Resources for a set of packages are currently |
| unavailable since the media on which they exist is unavailable.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_FACTORY_TEST">ACTION_FACTORY_TEST</a></td> |
| <td class="jd-descrcol" width="100%">Activity Action: Main entry point for factory tests.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_GET_CONTENT">ACTION_GET_CONTENT</a></td> |
| <td class="jd-descrcol" width="100%">Activity Action: Allow the user to select a particular kind of data and |
| return it.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_GTALK_SERVICE_CONNECTED">ACTION_GTALK_SERVICE_CONNECTED</a></td> |
| <td class="jd-descrcol" width="100%">Broadcast Action: A GTalk connection has been established.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_GTALK_SERVICE_DISCONNECTED">ACTION_GTALK_SERVICE_DISCONNECTED</a></td> |
| <td class="jd-descrcol" width="100%">Broadcast Action: A GTalk connection has been disconnected.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_HEADSET_PLUG">ACTION_HEADSET_PLUG</a></td> |
| <td class="jd-descrcol" width="100%">Broadcast Action: Wired Headset plugged in or unplugged.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-3" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_INPUT_METHOD_CHANGED">ACTION_INPUT_METHOD_CHANGED</a></td> |
| <td class="jd-descrcol" width="100%">Broadcast Action: An input method has been changed.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_INSERT">ACTION_INSERT</a></td> |
| <td class="jd-descrcol" width="100%">Activity Action: Insert an empty item into the given container.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_INSERT_OR_EDIT">ACTION_INSERT_OR_EDIT</a></td> |
| <td class="jd-descrcol" width="100%">Activity Action: Pick an existing item, or insert a new item, and then edit it.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-14" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_INSTALL_PACKAGE">ACTION_INSTALL_PACKAGE</a></td> |
| <td class="jd-descrcol" width="100%">Activity Action: Launch application installer.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-7" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_LOCALE_CHANGED">ACTION_LOCALE_CHANGED</a></td> |
| <td class="jd-descrcol" width="100%">Broadcast Action: The current device's locale has changed.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_MAIN">ACTION_MAIN</a></td> |
| <td class="jd-descrcol" width="100%">Activity Action: Start as a main entry point, does not expect to |
| receive data.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-14" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_MANAGE_NETWORK_USAGE">ACTION_MANAGE_NETWORK_USAGE</a></td> |
| <td class="jd-descrcol" width="100%">Activity Action: Show settings for managing network data usage of a |
| specific application.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_MANAGE_PACKAGE_STORAGE">ACTION_MANAGE_PACKAGE_STORAGE</a></td> |
| <td class="jd-descrcol" width="100%">Broadcast Action: Indicates low memory condition notification acknowledged by user |
| and package management should be started.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_MEDIA_BAD_REMOVAL">ACTION_MEDIA_BAD_REMOVAL</a></td> |
| <td class="jd-descrcol" width="100%">Broadcast Action: External media was removed from SD card slot, but mount point was not unmounted.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_MEDIA_BUTTON">ACTION_MEDIA_BUTTON</a></td> |
| <td class="jd-descrcol" width="100%">Broadcast Action: The "Media Button" was pressed.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-3" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_MEDIA_CHECKING">ACTION_MEDIA_CHECKING</a></td> |
| <td class="jd-descrcol" width="100%">Broadcast Action: External media is present, and being disk-checked |
| The path to the mount point for the checking media is contained in the Intent.mData field.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_MEDIA_EJECT">ACTION_MEDIA_EJECT</a></td> |
| <td class="jd-descrcol" width="100%">Broadcast Action: User has expressed the desire to remove the external storage media.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_MEDIA_MOUNTED">ACTION_MEDIA_MOUNTED</a></td> |
| <td class="jd-descrcol" width="100%">Broadcast Action: External media is present and mounted at its mount point.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-3" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_MEDIA_NOFS">ACTION_MEDIA_NOFS</a></td> |
| <td class="jd-descrcol" width="100%">Broadcast Action: External media is present, but is using an incompatible fs (or is blank) |
| The path to the mount point for the checking media is contained in the Intent.mData field.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_MEDIA_REMOVED">ACTION_MEDIA_REMOVED</a></td> |
| <td class="jd-descrcol" width="100%">Broadcast Action: External media has been removed.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_MEDIA_SCANNER_FINISHED">ACTION_MEDIA_SCANNER_FINISHED</a></td> |
| <td class="jd-descrcol" width="100%">Broadcast Action: The media scanner has finished scanning a directory.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_MEDIA_SCANNER_SCAN_FILE">ACTION_MEDIA_SCANNER_SCAN_FILE</a></td> |
| <td class="jd-descrcol" width="100%">Broadcast Action: Request the media scanner to scan a file and add it to the media database.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_MEDIA_SCANNER_STARTED">ACTION_MEDIA_SCANNER_STARTED</a></td> |
| <td class="jd-descrcol" width="100%">Broadcast Action: The media scanner has started scanning a directory.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_MEDIA_SHARED">ACTION_MEDIA_SHARED</a></td> |
| <td class="jd-descrcol" width="100%">Broadcast Action: External media is unmounted because it is being shared via USB mass storage.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_MEDIA_UNMOUNTABLE">ACTION_MEDIA_UNMOUNTABLE</a></td> |
| <td class="jd-descrcol" width="100%">Broadcast Action: External media is present but cannot be mounted.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_MEDIA_UNMOUNTED">ACTION_MEDIA_UNMOUNTED</a></td> |
| <td class="jd-descrcol" width="100%">Broadcast Action: External media is present, but not mounted at its mount point.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-12" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_MY_PACKAGE_REPLACED">ACTION_MY_PACKAGE_REPLACED</a></td> |
| <td class="jd-descrcol" width="100%">Broadcast Action: A new version of your application has been installed |
| over an existing one.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_NEW_OUTGOING_CALL">ACTION_NEW_OUTGOING_CALL</a></td> |
| <td class="jd-descrcol" width="100%">Broadcast Action: An outgoing call is about to be placed.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_PACKAGE_ADDED">ACTION_PACKAGE_ADDED</a></td> |
| <td class="jd-descrcol" width="100%">Broadcast Action: A new application package has been installed on the |
| device.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_PACKAGE_CHANGED">ACTION_PACKAGE_CHANGED</a></td> |
| <td class="jd-descrcol" width="100%">Broadcast Action: An existing application package has been changed (e.g.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-3" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_PACKAGE_DATA_CLEARED">ACTION_PACKAGE_DATA_CLEARED</a></td> |
| <td class="jd-descrcol" width="100%">Broadcast Action: The user has cleared the data of a package.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-12" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_PACKAGE_FIRST_LAUNCH">ACTION_PACKAGE_FIRST_LAUNCH</a></td> |
| <td class="jd-descrcol" width="100%">Broadcast Action: Sent to the installer package of an application |
| when that application is first launched (that is the first time it |
| is moved out of the stopped state).</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-14" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_PACKAGE_FULLY_REMOVED">ACTION_PACKAGE_FULLY_REMOVED</a></td> |
| <td class="jd-descrcol" width="100%">Broadcast Action: An existing application package has been completely |
| removed from the device.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_PACKAGE_INSTALL">ACTION_PACKAGE_INSTALL</a></td> |
| <td class="jd-descrcol" width="100%"> |
| <em>This constant was deprecated |
| in API level 14. |
| This constant has never been used. |
| </em></td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-14" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_PACKAGE_NEEDS_VERIFICATION">ACTION_PACKAGE_NEEDS_VERIFICATION</a></td> |
| <td class="jd-descrcol" width="100%">Broadcast Action: Sent to the system package verifier when a package |
| needs to be verified.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_PACKAGE_REMOVED">ACTION_PACKAGE_REMOVED</a></td> |
| <td class="jd-descrcol" width="100%">Broadcast Action: An existing application package has been removed from |
| the device.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-3" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_PACKAGE_REPLACED">ACTION_PACKAGE_REPLACED</a></td> |
| <td class="jd-descrcol" width="100%">Broadcast Action: A new version of an application package has been |
| installed, replacing an existing version that was previously installed.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_PACKAGE_RESTARTED">ACTION_PACKAGE_RESTARTED</a></td> |
| <td class="jd-descrcol" width="100%">Broadcast Action: The user has restarted a package, and all of its |
| processes have been killed.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-17" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_PACKAGE_VERIFIED">ACTION_PACKAGE_VERIFIED</a></td> |
| <td class="jd-descrcol" width="100%">Broadcast Action: Sent to the system package verifier when a package is |
| verified.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-11" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_PASTE">ACTION_PASTE</a></td> |
| <td class="jd-descrcol" width="100%">Activity Action: Create a new item in the given container, initializing it |
| from the current contents of the clipboard.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_PICK">ACTION_PICK</a></td> |
| <td class="jd-descrcol" width="100%">Activity Action: Pick an item from the data, returning what was selected.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_PICK_ACTIVITY">ACTION_PICK_ACTIVITY</a></td> |
| <td class="jd-descrcol" width="100%">Activity Action: Pick an activity given an intent, returning the class |
| selected.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-4" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_POWER_CONNECTED">ACTION_POWER_CONNECTED</a></td> |
| <td class="jd-descrcol" width="100%">Broadcast Action: External power has been connected to the device.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-4" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_POWER_DISCONNECTED">ACTION_POWER_DISCONNECTED</a></td> |
| <td class="jd-descrcol" width="100%">Broadcast Action: External power has been removed from the device.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-4" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_POWER_USAGE_SUMMARY">ACTION_POWER_USAGE_SUMMARY</a></td> |
| <td class="jd-descrcol" width="100%">Activity Action: Show power usage information to the user.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_PROVIDER_CHANGED">ACTION_PROVIDER_CHANGED</a></td> |
| <td class="jd-descrcol" width="100%">Broadcast Action: Some content providers have parts of their namespace |
| where they publish new events or items that the user may be especially |
| interested in.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-17" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_QUICK_CLOCK">ACTION_QUICK_CLOCK</a></td> |
| <td class="jd-descrcol" width="100%">Sent when the user taps on the clock widget in the system's "quick settings" area.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_REBOOT">ACTION_REBOOT</a></td> |
| <td class="jd-descrcol" width="100%">Broadcast Action: Have the device reboot.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_RUN">ACTION_RUN</a></td> |
| <td class="jd-descrcol" width="100%">Activity Action: Run the data, whatever that means.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_SCREEN_OFF">ACTION_SCREEN_OFF</a></td> |
| <td class="jd-descrcol" width="100%">Broadcast Action: Sent after the screen turns off.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_SCREEN_ON">ACTION_SCREEN_ON</a></td> |
| <td class="jd-descrcol" width="100%">Broadcast Action: Sent after the screen turns on.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_SEARCH">ACTION_SEARCH</a></td> |
| <td class="jd-descrcol" width="100%">Activity Action: Perform a search.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-3" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_SEARCH_LONG_PRESS">ACTION_SEARCH_LONG_PRESS</a></td> |
| <td class="jd-descrcol" width="100%">Activity Action: Start action associated with long pressing on the |
| search key.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_SEND">ACTION_SEND</a></td> |
| <td class="jd-descrcol" width="100%">Activity Action: Deliver some data to someone else.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_SENDTO">ACTION_SENDTO</a></td> |
| <td class="jd-descrcol" width="100%">Activity Action: Send a message to someone specified by the data.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-4" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_SEND_MULTIPLE">ACTION_SEND_MULTIPLE</a></td> |
| <td class="jd-descrcol" width="100%">Activity Action: Deliver multiple data to someone else.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_SET_WALLPAPER">ACTION_SET_WALLPAPER</a></td> |
| <td class="jd-descrcol" width="100%">Activity Action: Show settings for choosing wallpaper |
| <p>Input: Nothing.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-4" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_SHUTDOWN">ACTION_SHUTDOWN</a></td> |
| <td class="jd-descrcol" width="100%">Broadcast Action: Device is shutting down.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_SYNC">ACTION_SYNC</a></td> |
| <td class="jd-descrcol" width="100%">Activity Action: Perform a data synchronization.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-3" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_SYSTEM_TUTORIAL">ACTION_SYSTEM_TUTORIAL</a></td> |
| <td class="jd-descrcol" width="100%">Activity Action: Start the platform-defined tutorial |
| <p>Input: <code><a href="../../../reference/android/app/SearchManager.html#QUERY">getStringExtra(SearchManager.QUERY)</a></code> |
| is the text to search for.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_TIMEZONE_CHANGED">ACTION_TIMEZONE_CHANGED</a></td> |
| <td class="jd-descrcol" width="100%">Broadcast Action: The timezone has changed.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_TIME_CHANGED">ACTION_TIME_CHANGED</a></td> |
| <td class="jd-descrcol" width="100%">Broadcast Action: The time was set.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_TIME_TICK">ACTION_TIME_TICK</a></td> |
| <td class="jd-descrcol" width="100%">Broadcast Action: The current time has changed.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_UID_REMOVED">ACTION_UID_REMOVED</a></td> |
| <td class="jd-descrcol" width="100%">Broadcast Action: A user ID has been removed from the system.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_UMS_CONNECTED">ACTION_UMS_CONNECTED</a></td> |
| <td class="jd-descrcol" width="100%"> |
| <em>This constant was deprecated |
| in API level 14. |
| replaced by android.os.storage.StorageEventListener |
| </em></td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_UMS_DISCONNECTED">ACTION_UMS_DISCONNECTED</a></td> |
| <td class="jd-descrcol" width="100%"> |
| <em>This constant was deprecated |
| in API level 14. |
| replaced by android.os.storage.StorageEventListener |
| </em></td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-14" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_UNINSTALL_PACKAGE">ACTION_UNINSTALL_PACKAGE</a></td> |
| <td class="jd-descrcol" width="100%">Activity Action: Launch application uninstaller.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-17" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_USER_BACKGROUND">ACTION_USER_BACKGROUND</a></td> |
| <td class="jd-descrcol" width="100%">Sent when a user switch is happening, causing the process's user to be |
| sent to the background.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-17" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_USER_FOREGROUND">ACTION_USER_FOREGROUND</a></td> |
| <td class="jd-descrcol" width="100%">Sent when a user switch is happening, causing the process's user to be |
| brought to the foreground.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-17" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_USER_INITIALIZE">ACTION_USER_INITIALIZE</a></td> |
| <td class="jd-descrcol" width="100%">Sent the first time a user is starting, to allow system apps to |
| perform one time initialization.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-3" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_USER_PRESENT">ACTION_USER_PRESENT</a></td> |
| <td class="jd-descrcol" width="100%">Broadcast Action: Sent when the user is present after device wakes up (e.g when the |
| keyguard is gone).</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_VIEW">ACTION_VIEW</a></td> |
| <td class="jd-descrcol" width="100%">Activity Action: Display the data to the user.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_VOICE_COMMAND">ACTION_VOICE_COMMAND</a></td> |
| <td class="jd-descrcol" width="100%">Activity Action: Start Voice Command.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_WALLPAPER_CHANGED">ACTION_WALLPAPER_CHANGED</a></td> |
| <td class="jd-descrcol" width="100%"> |
| <em>This constant was deprecated |
| in API level 16. |
| Modern applications should use |
| <code><a href="../../../reference/android/view/WindowManager.LayoutParams.html#FLAG_SHOW_WALLPAPER">WindowManager.LayoutParams.FLAG_SHOW_WALLPAPER</a></code> to have the wallpaper |
| shown behind their UI, rather than watching for this broadcast and |
| rendering the wallpaper on their own. |
| </em></td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#ACTION_WEB_SEARCH">ACTION_WEB_SEARCH</a></td> |
| <td class="jd-descrcol" width="100%">Activity Action: Perform a web search.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#CATEGORY_ALTERNATIVE">CATEGORY_ALTERNATIVE</a></td> |
| <td class="jd-descrcol" width="100%">Set if the activity should be considered as an alternative action to |
| the data the user is currently viewing.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-15" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#CATEGORY_APP_BROWSER">CATEGORY_APP_BROWSER</a></td> |
| <td class="jd-descrcol" width="100%">Used with <code><a href="../../../reference/android/content/Intent.html#ACTION_MAIN">ACTION_MAIN</a></code> to launch the browser application.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-15" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#CATEGORY_APP_CALCULATOR">CATEGORY_APP_CALCULATOR</a></td> |
| <td class="jd-descrcol" width="100%">Used with <code><a href="../../../reference/android/content/Intent.html#ACTION_MAIN">ACTION_MAIN</a></code> to launch the calculator application.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-15" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#CATEGORY_APP_CALENDAR">CATEGORY_APP_CALENDAR</a></td> |
| <td class="jd-descrcol" width="100%">Used with <code><a href="../../../reference/android/content/Intent.html#ACTION_MAIN">ACTION_MAIN</a></code> to launch the calendar application.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-15" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#CATEGORY_APP_CONTACTS">CATEGORY_APP_CONTACTS</a></td> |
| <td class="jd-descrcol" width="100%">Used with <code><a href="../../../reference/android/content/Intent.html#ACTION_MAIN">ACTION_MAIN</a></code> to launch the contacts application.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-15" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#CATEGORY_APP_EMAIL">CATEGORY_APP_EMAIL</a></td> |
| <td class="jd-descrcol" width="100%">Used with <code><a href="../../../reference/android/content/Intent.html#ACTION_MAIN">ACTION_MAIN</a></code> to launch the email application.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-15" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#CATEGORY_APP_GALLERY">CATEGORY_APP_GALLERY</a></td> |
| <td class="jd-descrcol" width="100%">Used with <code><a href="../../../reference/android/content/Intent.html#ACTION_MAIN">ACTION_MAIN</a></code> to launch the gallery application.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-15" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#CATEGORY_APP_MAPS">CATEGORY_APP_MAPS</a></td> |
| <td class="jd-descrcol" width="100%">Used with <code><a href="../../../reference/android/content/Intent.html#ACTION_MAIN">ACTION_MAIN</a></code> to launch the maps application.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-11" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#CATEGORY_APP_MARKET">CATEGORY_APP_MARKET</a></td> |
| <td class="jd-descrcol" width="100%">This activity allows the user to browse and download new applications.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-15" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#CATEGORY_APP_MESSAGING">CATEGORY_APP_MESSAGING</a></td> |
| <td class="jd-descrcol" width="100%">Used with <code><a href="../../../reference/android/content/Intent.html#ACTION_MAIN">ACTION_MAIN</a></code> to launch the messaging application.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-15" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#CATEGORY_APP_MUSIC">CATEGORY_APP_MUSIC</a></td> |
| <td class="jd-descrcol" width="100%">Used with <code><a href="../../../reference/android/content/Intent.html#ACTION_MAIN">ACTION_MAIN</a></code> to launch the music application.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#CATEGORY_BROWSABLE">CATEGORY_BROWSABLE</a></td> |
| <td class="jd-descrcol" width="100%">Activities that can be safely invoked from a browser must support this |
| category.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-5" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#CATEGORY_CAR_DOCK">CATEGORY_CAR_DOCK</a></td> |
| <td class="jd-descrcol" width="100%">An activity to run when device is inserted into a car dock.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-8" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#CATEGORY_CAR_MODE">CATEGORY_CAR_MODE</a></td> |
| <td class="jd-descrcol" width="100%">Used to indicate that the activity can be used in a car environment.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#CATEGORY_DEFAULT">CATEGORY_DEFAULT</a></td> |
| <td class="jd-descrcol" width="100%">Set if the activity should be an option for the default action |
| (center press) to perform on a piece of data.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-5" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#CATEGORY_DESK_DOCK">CATEGORY_DESK_DOCK</a></td> |
| <td class="jd-descrcol" width="100%">An activity to run when device is inserted into a car dock.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#CATEGORY_DEVELOPMENT_PREFERENCE">CATEGORY_DEVELOPMENT_PREFERENCE</a></td> |
| <td class="jd-descrcol" width="100%">This activity is a development preference panel.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#CATEGORY_EMBED">CATEGORY_EMBED</a></td> |
| <td class="jd-descrcol" width="100%">Capable of running inside a parent activity container.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#CATEGORY_FRAMEWORK_INSTRUMENTATION_TEST">CATEGORY_FRAMEWORK_INSTRUMENTATION_TEST</a></td> |
| <td class="jd-descrcol" width="100%">To be used as code under test for framework instrumentation tests.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-11" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#CATEGORY_HE_DESK_DOCK">CATEGORY_HE_DESK_DOCK</a></td> |
| <td class="jd-descrcol" width="100%">An activity to run when device is inserted into a digital (high end) dock.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#CATEGORY_HOME">CATEGORY_HOME</a></td> |
| <td class="jd-descrcol" width="100%">This is the home activity, that is the first activity that is displayed |
| when the device boots.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-3" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#CATEGORY_INFO">CATEGORY_INFO</a></td> |
| <td class="jd-descrcol" width="100%">Provides information about the package it is in; typically used if |
| a package does not contain a <code><a href="../../../reference/android/content/Intent.html#CATEGORY_LAUNCHER">CATEGORY_LAUNCHER</a></code> to provide |
| a front-door to the user without having to be shown in the all apps list.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#CATEGORY_LAUNCHER">CATEGORY_LAUNCHER</a></td> |
| <td class="jd-descrcol" width="100%">Should be displayed in the top-level launcher.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-11" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#CATEGORY_LE_DESK_DOCK">CATEGORY_LE_DESK_DOCK</a></td> |
| <td class="jd-descrcol" width="100%">An activity to run when device is inserted into a analog (low end) dock.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#CATEGORY_MONKEY">CATEGORY_MONKEY</a></td> |
| <td class="jd-descrcol" width="100%">This activity may be exercised by the monkey or other automated test tools.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#CATEGORY_OPENABLE">CATEGORY_OPENABLE</a></td> |
| <td class="jd-descrcol" width="100%">Used to indicate that a GET_CONTENT intent only wants URIs that can be opened with |
| ContentResolver.openInputStream.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#CATEGORY_PREFERENCE">CATEGORY_PREFERENCE</a></td> |
| <td class="jd-descrcol" width="100%">This activity is a preference panel.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#CATEGORY_SAMPLE_CODE">CATEGORY_SAMPLE_CODE</a></td> |
| <td class="jd-descrcol" width="100%">To be used as a sample code example (not part of the normal user |
| experience).</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#CATEGORY_SELECTED_ALTERNATIVE">CATEGORY_SELECTED_ALTERNATIVE</a></td> |
| <td class="jd-descrcol" width="100%">Set if the activity should be considered as an alternative selection |
| action to the data the user has currently selected.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#CATEGORY_TAB">CATEGORY_TAB</a></td> |
| <td class="jd-descrcol" width="100%">Intended to be used as a tab inside of a containing TabActivity.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#CATEGORY_TEST">CATEGORY_TEST</a></td> |
| <td class="jd-descrcol" width="100%">To be used as a test (not part of the normal user experience).</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#CATEGORY_UNIT_TEST">CATEGORY_UNIT_TEST</a></td> |
| <td class="jd-descrcol" width="100%">To be used as a unit test (run through the Test Harness).</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#EXTRA_ALARM_COUNT">EXTRA_ALARM_COUNT</a></td> |
| <td class="jd-descrcol" width="100%">Used as an int extra field in <code><a href="../../../reference/android/app/AlarmManager.html">AlarmManager</a></code> intents |
| to tell the application being invoked how many pending alarms are being |
| delievered with the intent.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-14" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#EXTRA_ALLOW_REPLACE">EXTRA_ALLOW_REPLACE</a></td> |
| <td class="jd-descrcol" width="100%"> |
| <em>This constant was deprecated |
| in API level 16. |
| As of <code><a href="../../../reference/android/os/Build.VERSION_CODES.html#JELLY_BEAN">JELLY_BEAN</a></code>, Android |
| will no longer show an interstitial message about updating existing |
| applications so this is no longer needed. |
| </em></td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#EXTRA_BCC">EXTRA_BCC</a></td> |
| <td class="jd-descrcol" width="100%">A String[] holding e-mail addresses that should be blind carbon copied.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-14" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#EXTRA_BUG_REPORT">EXTRA_BUG_REPORT</a></td> |
| <td class="jd-descrcol" width="100%">Used as a parcelable extra field in <code><a href="../../../reference/android/content/Intent.html#ACTION_APP_ERROR">ACTION_APP_ERROR</a></code>, containing |
| the bug report.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#EXTRA_CC">EXTRA_CC</a></td> |
| <td class="jd-descrcol" width="100%">A String[] holding e-mail addresses that should be carbon copied.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-5" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#EXTRA_CHANGED_COMPONENT_NAME">EXTRA_CHANGED_COMPONENT_NAME</a></td> |
| <td class="jd-descrcol" width="100%"> |
| <em>This constant was deprecated |
| in API level 7. |
| See <code><a href="../../../reference/android/content/Intent.html#EXTRA_CHANGED_COMPONENT_NAME_LIST">EXTRA_CHANGED_COMPONENT_NAME_LIST</a></code>; this field |
| will contain only the first name in the list. |
| </em></td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-7" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#EXTRA_CHANGED_COMPONENT_NAME_LIST">EXTRA_CHANGED_COMPONENT_NAME_LIST</a></td> |
| <td class="jd-descrcol" width="100%">This field is part of <code><a href="../../../reference/android/content/Intent.html#ACTION_PACKAGE_CHANGED">ACTION_PACKAGE_CHANGED</a></code>, |
| and contains a string array of all of the components that have changed.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-8" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#EXTRA_CHANGED_PACKAGE_LIST">EXTRA_CHANGED_PACKAGE_LIST</a></td> |
| <td class="jd-descrcol" width="100%">This field is part of |
| <code><a href="../../../reference/android/content/Intent.html#ACTION_EXTERNAL_APPLICATIONS_AVAILABLE">ACTION_EXTERNAL_APPLICATIONS_AVAILABLE</a></code>, |
| <code><a href="../../../reference/android/content/Intent.html#ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE">ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE</a></code> |
| and contains a string array of all of the components that have changed.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-8" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#EXTRA_CHANGED_UID_LIST">EXTRA_CHANGED_UID_LIST</a></td> |
| <td class="jd-descrcol" width="100%">This field is part of |
| <code><a href="../../../reference/android/content/Intent.html#ACTION_EXTERNAL_APPLICATIONS_AVAILABLE">ACTION_EXTERNAL_APPLICATIONS_AVAILABLE</a></code>, |
| <code><a href="../../../reference/android/content/Intent.html#ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE">ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE</a></code> |
| and contains an integer array of uids of all of the components |
| that have changed.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-3" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#EXTRA_DATA_REMOVED">EXTRA_DATA_REMOVED</a></td> |
| <td class="jd-descrcol" width="100%">Used as a boolean extra field in <code><a href="../../../reference/android/content/Intent.html#ACTION_PACKAGE_REMOVED">ACTION_PACKAGE_REMOVED</a></code> |
| intents to indicate whether this represents a full uninstall (removing |
| both the code and its data) or a partial uninstall (leaving its data, |
| implying that this is an update).</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-5" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#EXTRA_DOCK_STATE">EXTRA_DOCK_STATE</a></td> |
| <td class="jd-descrcol" width="100%">Used as an int extra field in <code><a href="../../../reference/android/content/Intent.html#ACTION_DOCK_EVENT">ACTION_DOCK_EVENT</a></code> |
| intents to request the dock state.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-5" > |
| <td class="jd-typecol">int</td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#EXTRA_DOCK_STATE_CAR">EXTRA_DOCK_STATE_CAR</a></td> |
| <td class="jd-descrcol" width="100%">Used as an int value for <code><a href="../../../reference/android/content/Intent.html#EXTRA_DOCK_STATE">EXTRA_DOCK_STATE</a></code> |
| to represent that the phone is in a car dock.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-5" > |
| <td class="jd-typecol">int</td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#EXTRA_DOCK_STATE_DESK">EXTRA_DOCK_STATE_DESK</a></td> |
| <td class="jd-descrcol" width="100%">Used as an int value for <code><a href="../../../reference/android/content/Intent.html#EXTRA_DOCK_STATE">EXTRA_DOCK_STATE</a></code> |
| to represent that the phone is in a desk dock.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-11" > |
| <td class="jd-typecol">int</td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#EXTRA_DOCK_STATE_HE_DESK">EXTRA_DOCK_STATE_HE_DESK</a></td> |
| <td class="jd-descrcol" width="100%">Used as an int value for <code><a href="../../../reference/android/content/Intent.html#EXTRA_DOCK_STATE">EXTRA_DOCK_STATE</a></code> |
| to represent that the phone is in a digital (high end) dock.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-11" > |
| <td class="jd-typecol">int</td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#EXTRA_DOCK_STATE_LE_DESK">EXTRA_DOCK_STATE_LE_DESK</a></td> |
| <td class="jd-descrcol" width="100%">Used as an int value for <code><a href="../../../reference/android/content/Intent.html#EXTRA_DOCK_STATE">EXTRA_DOCK_STATE</a></code> |
| to represent that the phone is in a analog (low end) dock.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-5" > |
| <td class="jd-typecol">int</td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#EXTRA_DOCK_STATE_UNDOCKED">EXTRA_DOCK_STATE_UNDOCKED</a></td> |
| <td class="jd-descrcol" width="100%">Used as an int value for <code><a href="../../../reference/android/content/Intent.html#EXTRA_DOCK_STATE">EXTRA_DOCK_STATE</a></code> |
| to represent that the phone is not in any dock.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#EXTRA_DONT_KILL_APP">EXTRA_DONT_KILL_APP</a></td> |
| <td class="jd-descrcol" width="100%">Used as a boolean extra field in <code><a href="../../../reference/android/content/Intent.html#ACTION_PACKAGE_REMOVED">ACTION_PACKAGE_REMOVED</a></code> or |
| <code><a href="../../../reference/android/content/Intent.html#ACTION_PACKAGE_CHANGED">ACTION_PACKAGE_CHANGED</a></code> intents to override the default action |
| of restarting the application.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#EXTRA_EMAIL">EXTRA_EMAIL</a></td> |
| <td class="jd-descrcol" width="100%">A String[] holding e-mail addresses that should be delivered to.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-16" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#EXTRA_HTML_TEXT">EXTRA_HTML_TEXT</a></td> |
| <td class="jd-descrcol" width="100%">A constant String that is associated with the Intent, used with |
| <code><a href="../../../reference/android/content/Intent.html#ACTION_SEND">ACTION_SEND</a></code> to supply an alternative to <code><a href="../../../reference/android/content/Intent.html#EXTRA_TEXT">EXTRA_TEXT</a></code> |
| as HTML formatted text.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-5" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#EXTRA_INITIAL_INTENTS">EXTRA_INITIAL_INTENTS</a></td> |
| <td class="jd-descrcol" width="100%">A Parcelable[] of <code><a href="../../../reference/android/content/Intent.html">Intent</a></code> or |
| <code><a href="../../../reference/android/content/pm/LabeledIntent.html">LabeledIntent</a></code> objects as set with |
| <code><a href="../../../reference/android/content/Intent.html#putExtra(java.lang.String, android.os.Parcelable[])">putExtra(String, Parcelable[])</a></code> of additional activities to place |
| a the front of the list of choices, when shown to the user with a |
| <code><a href="../../../reference/android/content/Intent.html#ACTION_CHOOSER">ACTION_CHOOSER</a></code>.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-14" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#EXTRA_INSTALLER_PACKAGE_NAME">EXTRA_INSTALLER_PACKAGE_NAME</a></td> |
| <td class="jd-descrcol" width="100%">Used as a string extra field with <code><a href="../../../reference/android/content/Intent.html#ACTION_INSTALL_PACKAGE">ACTION_INSTALL_PACKAGE</a></code> to install a |
| package.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#EXTRA_INTENT">EXTRA_INTENT</a></td> |
| <td class="jd-descrcol" width="100%">An Intent describing the choices you would like shown with |
| <code><a href="../../../reference/android/content/Intent.html#ACTION_PICK_ACTIVITY">ACTION_PICK_ACTIVITY</a></code>.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#EXTRA_KEY_EVENT">EXTRA_KEY_EVENT</a></td> |
| <td class="jd-descrcol" width="100%">A <code><a href="../../../reference/android/view/KeyEvent.html">KeyEvent</a></code> object containing the event that |
| triggered the creation of the Intent it is in.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-11" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#EXTRA_LOCAL_ONLY">EXTRA_LOCAL_ONLY</a></td> |
| <td class="jd-descrcol" width="100%">Used to indicate that a <code><a href="../../../reference/android/content/Intent.html#ACTION_GET_CONTENT">ACTION_GET_CONTENT</a></code> intent should only return |
| data that is on the local device.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-14" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#EXTRA_NOT_UNKNOWN_SOURCE">EXTRA_NOT_UNKNOWN_SOURCE</a></td> |
| <td class="jd-descrcol" width="100%">Used as a boolean extra field with <code><a href="../../../reference/android/content/Intent.html#ACTION_INSTALL_PACKAGE">ACTION_INSTALL_PACKAGE</a></code> to install a |
| package.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-17" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#EXTRA_ORIGINATING_URI">EXTRA_ORIGINATING_URI</a></td> |
| <td class="jd-descrcol" width="100%">Used as a URI extra field with <code><a href="../../../reference/android/content/Intent.html#ACTION_INSTALL_PACKAGE">ACTION_INSTALL_PACKAGE</a></code> and |
| <code><a href="../../../reference/android/content/Intent.html#ACTION_VIEW">ACTION_VIEW</a></code> to indicate the URI from which the local APK in the Intent |
| data field originated from.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#EXTRA_PHONE_NUMBER">EXTRA_PHONE_NUMBER</a></td> |
| <td class="jd-descrcol" width="100%">A String holding the phone number originally entered in |
| <code><a href="../../../reference/android/content/Intent.html#ACTION_NEW_OUTGOING_CALL">ACTION_NEW_OUTGOING_CALL</a></code>, or the actual |
| number to call in a <code><a href="../../../reference/android/content/Intent.html#ACTION_CALL">ACTION_CALL</a></code>.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-17" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#EXTRA_REFERRER">EXTRA_REFERRER</a></td> |
| <td class="jd-descrcol" width="100%">Used as a URI extra field with <code><a href="../../../reference/android/content/Intent.html#ACTION_INSTALL_PACKAGE">ACTION_INSTALL_PACKAGE</a></code> and |
| <code><a href="../../../reference/android/content/Intent.html#ACTION_VIEW">ACTION_VIEW</a></code> to indicate the HTTP referrer URI associated with the Intent |
| data field or <code><a href="../../../reference/android/content/Intent.html#EXTRA_ORIGINATING_URI">EXTRA_ORIGINATING_URI</a></code>.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-5" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#EXTRA_REMOTE_INTENT_TOKEN">EXTRA_REMOTE_INTENT_TOKEN</a></td> |
| <td class="jd-descrcol" width="100%">Used in the extra field in the remote intent.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-3" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#EXTRA_REPLACING">EXTRA_REPLACING</a></td> |
| <td class="jd-descrcol" width="100%">Used as a boolean extra field in <code><a href="../../../reference/android/content/Intent.html#ACTION_PACKAGE_REMOVED">ACTION_PACKAGE_REMOVED</a></code> |
| intents to indicate that this is a replacement of the package, so this |
| broadcast will immediately be followed by an add broadcast for a |
| different version of the same package.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-14" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#EXTRA_RETURN_RESULT">EXTRA_RETURN_RESULT</a></td> |
| <td class="jd-descrcol" width="100%">Used as a boolean extra field with <code><a href="../../../reference/android/content/Intent.html#ACTION_INSTALL_PACKAGE">ACTION_INSTALL_PACKAGE</a></code> or |
| <code><a href="../../../reference/android/content/Intent.html#ACTION_UNINSTALL_PACKAGE">ACTION_UNINSTALL_PACKAGE</a></code>.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#EXTRA_SHORTCUT_ICON">EXTRA_SHORTCUT_ICON</a></td> |
| <td class="jd-descrcol" width="100%">The name of the extra used to define the icon, as a Bitmap, of a shortcut.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#EXTRA_SHORTCUT_ICON_RESOURCE">EXTRA_SHORTCUT_ICON_RESOURCE</a></td> |
| <td class="jd-descrcol" width="100%">The name of the extra used to define the icon, as a ShortcutIconResource, of a shortcut.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#EXTRA_SHORTCUT_INTENT">EXTRA_SHORTCUT_INTENT</a></td> |
| <td class="jd-descrcol" width="100%">The name of the extra used to define the Intent of a shortcut.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#EXTRA_SHORTCUT_NAME">EXTRA_SHORTCUT_NAME</a></td> |
| <td class="jd-descrcol" width="100%">The name of the extra used to define the name of a shortcut.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#EXTRA_STREAM">EXTRA_STREAM</a></td> |
| <td class="jd-descrcol" width="100%">A content: URI holding a stream of data associated with the Intent, |
| used with <code><a href="../../../reference/android/content/Intent.html#ACTION_SEND">ACTION_SEND</a></code> to supply the data being sent.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#EXTRA_SUBJECT">EXTRA_SUBJECT</a></td> |
| <td class="jd-descrcol" width="100%">A constant string holding the desired subject line of a message.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#EXTRA_TEMPLATE">EXTRA_TEMPLATE</a></td> |
| <td class="jd-descrcol" width="100%">The initial data to place in a newly created record.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#EXTRA_TEXT">EXTRA_TEXT</a></td> |
| <td class="jd-descrcol" width="100%">A constant CharSequence that is associated with the Intent, used with |
| <code><a href="../../../reference/android/content/Intent.html#ACTION_SEND">ACTION_SEND</a></code> to supply the literal data to be sent.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#EXTRA_TITLE">EXTRA_TITLE</a></td> |
| <td class="jd-descrcol" width="100%">A CharSequence dialog title to provide to the user when used with a |
| <code><a href="../../../reference/android/content/Intent.html#ACTION_CHOOSER">ACTION_CHOOSER</a></code>.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#EXTRA_UID">EXTRA_UID</a></td> |
| <td class="jd-descrcol" width="100%">Used as an int extra field in <code><a href="../../../reference/android/content/Intent.html#ACTION_UID_REMOVED">ACTION_UID_REMOVED</a></code> |
| intents to supply the uid the package had been assigned.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol">int</td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#FILL_IN_ACTION">FILL_IN_ACTION</a></td> |
| <td class="jd-descrcol" width="100%">Use with <code><a href="../../../reference/android/content/Intent.html#fillIn(android.content.Intent, int)">fillIn(Intent, int)</a></code> to allow the current action value to be |
| overwritten, even if it is already set.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol">int</td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#FILL_IN_CATEGORIES">FILL_IN_CATEGORIES</a></td> |
| <td class="jd-descrcol" width="100%">Use with <code><a href="../../../reference/android/content/Intent.html#fillIn(android.content.Intent, int)">fillIn(Intent, int)</a></code> to allow the current categories to be |
| overwritten, even if they are already set.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-16" > |
| <td class="jd-typecol">int</td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#FILL_IN_CLIP_DATA">FILL_IN_CLIP_DATA</a></td> |
| <td class="jd-descrcol" width="100%">Use with <code><a href="../../../reference/android/content/Intent.html#fillIn(android.content.Intent, int)">fillIn(Intent, int)</a></code> to allow the current ClipData to be |
| overwritten, even if it is already set.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol">int</td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#FILL_IN_COMPONENT">FILL_IN_COMPONENT</a></td> |
| <td class="jd-descrcol" width="100%">Use with <code><a href="../../../reference/android/content/Intent.html#fillIn(android.content.Intent, int)">fillIn(Intent, int)</a></code> to allow the current component value to be |
| overwritten, even if it is already set.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol">int</td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#FILL_IN_DATA">FILL_IN_DATA</a></td> |
| <td class="jd-descrcol" width="100%">Use with <code><a href="../../../reference/android/content/Intent.html#fillIn(android.content.Intent, int)">fillIn(Intent, int)</a></code> to allow the current data or type value |
| overwritten, even if it is already set.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-4" > |
| <td class="jd-typecol">int</td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#FILL_IN_PACKAGE">FILL_IN_PACKAGE</a></td> |
| <td class="jd-descrcol" width="100%">Use with <code><a href="../../../reference/android/content/Intent.html#fillIn(android.content.Intent, int)">fillIn(Intent, int)</a></code> to allow the current package value to be |
| overwritten, even if it is already set.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-15" > |
| <td class="jd-typecol">int</td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#FILL_IN_SELECTOR">FILL_IN_SELECTOR</a></td> |
| <td class="jd-descrcol" width="100%">Use with <code><a href="../../../reference/android/content/Intent.html#fillIn(android.content.Intent, int)">fillIn(Intent, int)</a></code> to allow the current selector to be |
| overwritten, even if it is already set.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-7" > |
| <td class="jd-typecol">int</td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#FILL_IN_SOURCE_BOUNDS">FILL_IN_SOURCE_BOUNDS</a></td> |
| <td class="jd-descrcol" width="100%">Use with <code><a href="../../../reference/android/content/Intent.html#fillIn(android.content.Intent, int)">fillIn(Intent, int)</a></code> to allow the current bounds rectangle to be |
| overwritten, even if it is already set.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol">int</td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#FLAG_ACTIVITY_BROUGHT_TO_FRONT">FLAG_ACTIVITY_BROUGHT_TO_FRONT</a></td> |
| <td class="jd-descrcol" width="100%">This flag is not normally set by application code, but set for you by |
| the system as described in the |
| <code><a href="../../../reference/android/R.styleable.html#AndroidManifestActivity_launchMode">launchMode</a></code> documentation for the singleTask mode.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-11" > |
| <td class="jd-typecol">int</td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#FLAG_ACTIVITY_CLEAR_TASK">FLAG_ACTIVITY_CLEAR_TASK</a></td> |
| <td class="jd-descrcol" width="100%">If set in an Intent passed to <code><a href="../../../reference/android/content/Context.html#startActivity(android.content.Intent)">Context.startActivity()</a></code>, |
| this flag will cause any existing task that would be associated with the |
| activity to be cleared before the activity is started.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol">int</td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#FLAG_ACTIVITY_CLEAR_TOP">FLAG_ACTIVITY_CLEAR_TOP</a></td> |
| <td class="jd-descrcol" width="100%">If set, and the activity being launched is already running in the |
| current task, then instead of launching a new instance of that activity, |
| all of the other activities on top of it will be closed and this Intent |
| will be delivered to the (now on top) old activity as a new Intent.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-3" > |
| <td class="jd-typecol">int</td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET">FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET</a></td> |
| <td class="jd-descrcol" width="100%">If set, this marks a point in the task's activity stack that should |
| be cleared when the task is reset.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol">int</td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS">FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS</a></td> |
| <td class="jd-descrcol" width="100%">If set, the new activity is not kept in the list of recently launched |
| activities.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol">int</td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#FLAG_ACTIVITY_FORWARD_RESULT">FLAG_ACTIVITY_FORWARD_RESULT</a></td> |
| <td class="jd-descrcol" width="100%">If set and this intent is being used to launch a new activity from an |
| existing one, then the reply target of the existing activity will be |
| transfered to the new activity.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol">int</td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#FLAG_ACTIVITY_LAUNCHED_FROM_HISTORY">FLAG_ACTIVITY_LAUNCHED_FROM_HISTORY</a></td> |
| <td class="jd-descrcol" width="100%">This flag is not normally set by application code, but set for you by |
| the system if this activity is being launched from history |
| (longpress home key).</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol">int</td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#FLAG_ACTIVITY_MULTIPLE_TASK">FLAG_ACTIVITY_MULTIPLE_TASK</a></td> |
| <td class="jd-descrcol" width="100%"><strong>Do not use this flag unless you are implementing your own |
| top-level application launcher.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol">int</td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#FLAG_ACTIVITY_NEW_TASK">FLAG_ACTIVITY_NEW_TASK</a></td> |
| <td class="jd-descrcol" width="100%">If set, this activity will become the start of a new task on this |
| history stack.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-5" > |
| <td class="jd-typecol">int</td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#FLAG_ACTIVITY_NO_ANIMATION">FLAG_ACTIVITY_NO_ANIMATION</a></td> |
| <td class="jd-descrcol" width="100%">If set in an Intent passed to <code><a href="../../../reference/android/content/Context.html#startActivity(android.content.Intent)">Context.startActivity()</a></code>, |
| this flag will prevent the system from applying an activity transition |
| animation to go to the next activity state.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol">int</td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#FLAG_ACTIVITY_NO_HISTORY">FLAG_ACTIVITY_NO_HISTORY</a></td> |
| <td class="jd-descrcol" width="100%">If set, the new activity is not kept in the history stack.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-3" > |
| <td class="jd-typecol">int</td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#FLAG_ACTIVITY_NO_USER_ACTION">FLAG_ACTIVITY_NO_USER_ACTION</a></td> |
| <td class="jd-descrcol" width="100%">If set, this flag will prevent the normal <code><a href="../../../reference/android/app/Activity.html#onUserLeaveHint()">onUserLeaveHint()</a></code> |
| callback from occurring on the current frontmost activity before it is |
| paused as the newly-started activity is brought to the front.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol">int</td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#FLAG_ACTIVITY_PREVIOUS_IS_TOP">FLAG_ACTIVITY_PREVIOUS_IS_TOP</a></td> |
| <td class="jd-descrcol" width="100%">If set and this intent is being used to launch a new activity from an |
| existing one, the current activity will not be counted as the top |
| activity for deciding whether the new intent should be delivered to |
| the top instead of starting a new one.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-3" > |
| <td class="jd-typecol">int</td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#FLAG_ACTIVITY_REORDER_TO_FRONT">FLAG_ACTIVITY_REORDER_TO_FRONT</a></td> |
| <td class="jd-descrcol" width="100%">If set in an Intent passed to <code><a href="../../../reference/android/content/Context.html#startActivity(android.content.Intent)">Context.startActivity()</a></code>, |
| this flag will cause the launched activity to be brought to the front of its |
| task's history stack if it is already running.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol">int</td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#FLAG_ACTIVITY_RESET_TASK_IF_NEEDED">FLAG_ACTIVITY_RESET_TASK_IF_NEEDED</a></td> |
| <td class="jd-descrcol" width="100%">If set, and this activity is either being started in a new task or |
| bringing to the top an existing task, then it will be launched as |
| the front door of the task.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol">int</td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#FLAG_ACTIVITY_SINGLE_TOP">FLAG_ACTIVITY_SINGLE_TOP</a></td> |
| <td class="jd-descrcol" width="100%">If set, the activity will not be launched if it is already running |
| at the top of the history stack.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-11" > |
| <td class="jd-typecol">int</td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#FLAG_ACTIVITY_TASK_ON_HOME">FLAG_ACTIVITY_TASK_ON_HOME</a></td> |
| <td class="jd-descrcol" width="100%">If set in an Intent passed to <code><a href="../../../reference/android/content/Context.html#startActivity(android.content.Intent)">Context.startActivity()</a></code>, |
| this flag will cause a newly launching task to be placed on top of the current |
| home activity task (if there is one).</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol">int</td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#FLAG_DEBUG_LOG_RESOLUTION">FLAG_DEBUG_LOG_RESOLUTION</a></td> |
| <td class="jd-descrcol" width="100%">A flag you can enable for debugging: when set, log messages will be |
| printed during the resolution of this intent to show you what has |
| been found to create the final resolved list.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-12" > |
| <td class="jd-typecol">int</td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#FLAG_EXCLUDE_STOPPED_PACKAGES">FLAG_EXCLUDE_STOPPED_PACKAGES</a></td> |
| <td class="jd-descrcol" width="100%">If set, this intent will not match any components in packages that |
| are currently stopped.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol">int</td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#FLAG_FROM_BACKGROUND">FLAG_FROM_BACKGROUND</a></td> |
| <td class="jd-descrcol" width="100%">Can be set by the caller to indicate that this Intent is coming from |
| a background operation, not from direct user interaction.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol">int</td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#FLAG_GRANT_READ_URI_PERMISSION">FLAG_GRANT_READ_URI_PERMISSION</a></td> |
| <td class="jd-descrcol" width="100%">If set, the recipient of this Intent will be granted permission to |
| perform read operations on the Uri in the Intent's data and any URIs |
| specified in its ClipData.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol">int</td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#FLAG_GRANT_WRITE_URI_PERMISSION">FLAG_GRANT_WRITE_URI_PERMISSION</a></td> |
| <td class="jd-descrcol" width="100%">If set, the recipient of this Intent will be granted permission to |
| perform write operations on the Uri in the Intent's data and any URIs |
| specified in its ClipData.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-12" > |
| <td class="jd-typecol">int</td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#FLAG_INCLUDE_STOPPED_PACKAGES">FLAG_INCLUDE_STOPPED_PACKAGES</a></td> |
| <td class="jd-descrcol" width="100%">If set, this intent will always match any components in packages that |
| are currently stopped.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-16" > |
| <td class="jd-typecol">int</td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#FLAG_RECEIVER_FOREGROUND">FLAG_RECEIVER_FOREGROUND</a></td> |
| <td class="jd-descrcol" width="100%">If set, when sending a broadcast the recipient is allowed to run at |
| foreground priority, with a shorter timeout interval.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol">int</td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#FLAG_RECEIVER_REGISTERED_ONLY">FLAG_RECEIVER_REGISTERED_ONLY</a></td> |
| <td class="jd-descrcol" width="100%">If set, when sending a broadcast only registered receivers will be |
| called -- no BroadcastReceiver components will be launched.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-8" > |
| <td class="jd-typecol">int</td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#FLAG_RECEIVER_REPLACE_PENDING">FLAG_RECEIVER_REPLACE_PENDING</a></td> |
| <td class="jd-descrcol" width="100%">If set, when sending a broadcast the new broadcast will replace |
| any existing pending broadcast that matches it.</td> |
| </tr> |
| |
| |
| <tr class="alt-color api apilevel-5" > |
| <td class="jd-typecol"><a href="../../../reference/java/lang/String.html">String</a></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#METADATA_DOCK_HOME">METADATA_DOCK_HOME</a></td> |
| <td class="jd-descrcol" width="100%">Boolean that can be supplied as meta-data with a dock activity, to |
| indicate that the dock should take over the home key when it is active.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-4" > |
| <td class="jd-typecol">int</td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#URI_INTENT_SCHEME">URI_INTENT_SCHEME</a></td> |
| <td class="jd-descrcol" width="100%">Flag for use with <code><a href="../../../reference/android/content/Intent.html#toUri(int)">toUri(int)</a></code> and <code><a href="../../../reference/android/content/Intent.html#parseUri(java.lang.String, int)">parseUri(String, int)</a></code>: the URI string |
| always has the "intent:" scheme.</td> |
| </tr> |
| |
| |
| |
| </table> |
| |
| |
| |
| |
| |
| <!-- =========== ENUM CONSTANT SUMMARY =========== --> |
| <table id="inhconstants" class="jd-sumtable"><tr><th> |
| <a href="#" class="toggle-all" onclick="return toggleAllInherited(this, null)">[Expand]</a> |
| <div style="clear:left;">Inherited Constants</div></th></tr> |
| |
| |
| |
| |
| <tr class="api apilevel-" > |
| <td colspan="12"> |
| |
| <a href="#" onclick="return toggleInherited(this, null)" id="inherited-constants-android.os.Parcelable" class="jd-expando-trigger closed" |
| ><img id="inherited-constants-android.os.Parcelable-trigger" |
| src="../../../assets/images/triangle-closed.png" |
| class="jd-expando-trigger-img" /></a>From interface |
| <a href="../../../reference/android/os/Parcelable.html">android.os.Parcelable</a> |
| <div id="inherited-constants-android.os.Parcelable"> |
| <div id="inherited-constants-android.os.Parcelable-list" |
| class="jd-inheritedlinks"> |
| </div> |
| <div id="inherited-constants-android.os.Parcelable-summary" style="display: none;"> |
| <table class="jd-sumtable-expando"> |
| |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol">int</td> |
| <td class="jd-linkcol"><a href="../../../reference/android/os/Parcelable.html#CONTENTS_FILE_DESCRIPTOR">CONTENTS_FILE_DESCRIPTOR</a></td> |
| <td class="jd-descrcol" width="100%">Bit masks for use with <code><a href="../../../reference/android/os/Parcelable.html#describeContents()">describeContents()</a></code>: each bit represents a |
| kind of object considered to have potential special significance when |
| marshalled.</td> |
| </tr> |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol">int</td> |
| <td class="jd-linkcol"><a href="../../../reference/android/os/Parcelable.html#PARCELABLE_WRITE_RETURN_VALUE">PARCELABLE_WRITE_RETURN_VALUE</a></td> |
| <td class="jd-descrcol" width="100%">Flag for use with <code><a href="../../../reference/android/os/Parcelable.html#writeToParcel(android.os.Parcel, int)">writeToParcel(Parcel, int)</a></code>: the object being written |
| is a return value, that is the result of a function such as |
| "<code>Parcelable someFunction()</code>", |
| "<code>void someFunction(out Parcelable)</code>", or |
| "<code>void someFunction(inout Parcelable)</code>".</td> |
| </tr> |
| |
| |
| </table> |
| </div> |
| </div> |
| </td></tr> |
| |
| |
| |
| |
| </table> |
| |
| |
| |
| |
| <!-- =========== FIELD SUMMARY =========== --> |
| <table id="lfields" class="jd-sumtable"><tr><th colspan="12">Fields</th></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| public |
| static |
| final |
| <a href="../../../reference/android/os/Parcelable.Creator.html">Creator</a><<a href="../../../reference/android/content/Intent.html">Intent</a>></nobr></td> |
| <td class="jd-linkcol"><a href="../../../reference/android/content/Intent.html#CREATOR">CREATOR</a></td> |
| <td class="jd-descrcol" width="100%"></td> |
| </tr> |
| |
| |
| |
| </table> |
| |
| |
| |
| |
| |
| |
| |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <table id="pubctors" class="jd-sumtable"><tr><th colspan="12">Public Constructors</th></tr> |
| |
| |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| </nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#Intent()">Intent</a></span>()</nobr> |
| |
| <div class="jd-descrdiv">Create an empty intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| </nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#Intent(android.content.Intent)">Intent</a></span>(<a href="../../../reference/android/content/Intent.html">Intent</a> o)</nobr> |
| |
| <div class="jd-descrdiv">Copy constructor.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| </nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#Intent(java.lang.String)">Intent</a></span>(<a href="../../../reference/java/lang/String.html">String</a> action)</nobr> |
| |
| <div class="jd-descrdiv">Create an intent with a given action.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| </nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#Intent(java.lang.String, android.net.Uri)">Intent</a></span>(<a href="../../../reference/java/lang/String.html">String</a> action, <a href="../../../reference/android/net/Uri.html">Uri</a> uri)</nobr> |
| |
| <div class="jd-descrdiv">Create an intent with a given action and for a given data url.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| </nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#Intent(android.content.Context, java.lang.Class<?>)">Intent</a></span>(<a href="../../../reference/android/content/Context.html">Context</a> packageContext, <a href="../../../reference/java/lang/Class.html">Class</a><?> cls)</nobr> |
| |
| <div class="jd-descrdiv">Create an intent for a specific component.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| </nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#Intent(java.lang.String, android.net.Uri, android.content.Context, java.lang.Class<?>)">Intent</a></span>(<a href="../../../reference/java/lang/String.html">String</a> action, <a href="../../../reference/android/net/Uri.html">Uri</a> uri, <a href="../../../reference/android/content/Context.html">Context</a> packageContext, <a href="../../../reference/java/lang/Class.html">Class</a><?> cls)</nobr> |
| |
| <div class="jd-descrdiv">Create an intent for a specific component with a specified action and data.</div> |
| |
| </td></tr> |
| |
| |
| |
| </table> |
| |
| |
| |
| |
| |
| |
| <!-- ========== METHOD SUMMARY =========== --> |
| <table id="pubmethods" class="jd-sumtable"><tr><th colspan="12">Public Methods</th></tr> |
| |
| |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#addCategory(java.lang.String)">addCategory</a></span>(<a href="../../../reference/java/lang/String.html">String</a> category)</nobr> |
| |
| <div class="jd-descrdiv">Add a new category to the intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#addFlags(int)">addFlags</a></span>(int flags)</nobr> |
| |
| <div class="jd-descrdiv">Add additional flags to the intent (or with existing flags |
| value).</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/java/lang/Object.html">Object</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#clone()">clone</a></span>()</nobr> |
| |
| <div class="jd-descrdiv">Creates and returns a copy of this <code>Object</code>.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#cloneFilter()">cloneFilter</a></span>()</nobr> |
| |
| <div class="jd-descrdiv">Make a clone of only the parts of the Intent that are relevant for |
| filter matching: the action, data, type, component, and categories.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| static |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#createChooser(android.content.Intent, java.lang.CharSequence)">createChooser</a></span>(<a href="../../../reference/android/content/Intent.html">Intent</a> target, <a href="../../../reference/java/lang/CharSequence.html">CharSequence</a> title)</nobr> |
| |
| <div class="jd-descrdiv">Convenience function for creating a <code><a href="../../../reference/android/content/Intent.html#ACTION_CHOOSER">ACTION_CHOOSER</a></code> Intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| int</nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#describeContents()">describeContents</a></span>()</nobr> |
| |
| <div class="jd-descrdiv">Describe the kinds of special objects contained in this Parcelable's |
| marshalled representation.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| int</nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#fillIn(android.content.Intent, int)">fillIn</a></span>(<a href="../../../reference/android/content/Intent.html">Intent</a> other, int flags)</nobr> |
| |
| <div class="jd-descrdiv">Copy the contents of <var>other</var> in to this object, but only |
| where fields are not defined by this object.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| boolean</nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#filterEquals(android.content.Intent)">filterEquals</a></span>(<a href="../../../reference/android/content/Intent.html">Intent</a> other)</nobr> |
| |
| <div class="jd-descrdiv">Determine if two intents are the same for the purposes of intent |
| resolution (filtering).</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| int</nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#filterHashCode()">filterHashCode</a></span>()</nobr> |
| |
| <div class="jd-descrdiv">Generate hash code that matches semantics of filterEquals().</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/java/lang/String.html">String</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#getAction()">getAction</a></span>()</nobr> |
| |
| <div class="jd-descrdiv">Retrieve the general action to be performed, such as |
| <code><a href="../../../reference/android/content/Intent.html#ACTION_VIEW">ACTION_VIEW</a></code>.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| boolean[]</nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#getBooleanArrayExtra(java.lang.String)">getBooleanArrayExtra</a></span>(<a href="../../../reference/java/lang/String.html">String</a> name)</nobr> |
| |
| <div class="jd-descrdiv">Retrieve extended data from the intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| boolean</nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#getBooleanExtra(java.lang.String, boolean)">getBooleanExtra</a></span>(<a href="../../../reference/java/lang/String.html">String</a> name, boolean defaultValue)</nobr> |
| |
| <div class="jd-descrdiv">Retrieve extended data from the intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/android/os/Bundle.html">Bundle</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#getBundleExtra(java.lang.String)">getBundleExtra</a></span>(<a href="../../../reference/java/lang/String.html">String</a> name)</nobr> |
| |
| <div class="jd-descrdiv">Retrieve extended data from the intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| byte[]</nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#getByteArrayExtra(java.lang.String)">getByteArrayExtra</a></span>(<a href="../../../reference/java/lang/String.html">String</a> name)</nobr> |
| |
| <div class="jd-descrdiv">Retrieve extended data from the intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| byte</nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#getByteExtra(java.lang.String, byte)">getByteExtra</a></span>(<a href="../../../reference/java/lang/String.html">String</a> name, byte defaultValue)</nobr> |
| |
| <div class="jd-descrdiv">Retrieve extended data from the intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/java/util/Set.html">Set</a><<a href="../../../reference/java/lang/String.html">String</a>></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#getCategories()">getCategories</a></span>()</nobr> |
| |
| <div class="jd-descrdiv">Return the set of all categories in the intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| char[]</nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#getCharArrayExtra(java.lang.String)">getCharArrayExtra</a></span>(<a href="../../../reference/java/lang/String.html">String</a> name)</nobr> |
| |
| <div class="jd-descrdiv">Retrieve extended data from the intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| char</nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#getCharExtra(java.lang.String, char)">getCharExtra</a></span>(<a href="../../../reference/java/lang/String.html">String</a> name, char defaultValue)</nobr> |
| |
| <div class="jd-descrdiv">Retrieve extended data from the intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-8" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/java/lang/CharSequence.html">CharSequence[]</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#getCharSequenceArrayExtra(java.lang.String)">getCharSequenceArrayExtra</a></span>(<a href="../../../reference/java/lang/String.html">String</a> name)</nobr> |
| |
| <div class="jd-descrdiv">Retrieve extended data from the intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-8" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/java/util/ArrayList.html">ArrayList</a><<a href="../../../reference/java/lang/CharSequence.html">CharSequence</a>></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#getCharSequenceArrayListExtra(java.lang.String)">getCharSequenceArrayListExtra</a></span>(<a href="../../../reference/java/lang/String.html">String</a> name)</nobr> |
| |
| <div class="jd-descrdiv">Retrieve extended data from the intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/java/lang/CharSequence.html">CharSequence</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#getCharSequenceExtra(java.lang.String)">getCharSequenceExtra</a></span>(<a href="../../../reference/java/lang/String.html">String</a> name)</nobr> |
| |
| <div class="jd-descrdiv">Retrieve extended data from the intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-16" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/android/content/ClipData.html">ClipData</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#getClipData()">getClipData</a></span>()</nobr> |
| |
| <div class="jd-descrdiv">Return the <code><a href="../../../reference/android/content/ClipData.html">ClipData</a></code> associated with this Intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/android/content/ComponentName.html">ComponentName</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#getComponent()">getComponent</a></span>()</nobr> |
| |
| <div class="jd-descrdiv">Retrieve the concrete component associated with the intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/android/net/Uri.html">Uri</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#getData()">getData</a></span>()</nobr> |
| |
| <div class="jd-descrdiv">Retrieve data this intent is operating on.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/java/lang/String.html">String</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#getDataString()">getDataString</a></span>()</nobr> |
| |
| <div class="jd-descrdiv">The same as <code><a href="../../../reference/android/content/Intent.html#getData()">getData()</a></code>, but returns the URI as an encoded |
| String.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| double[]</nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#getDoubleArrayExtra(java.lang.String)">getDoubleArrayExtra</a></span>(<a href="../../../reference/java/lang/String.html">String</a> name)</nobr> |
| |
| <div class="jd-descrdiv">Retrieve extended data from the intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| double</nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#getDoubleExtra(java.lang.String, double)">getDoubleExtra</a></span>(<a href="../../../reference/java/lang/String.html">String</a> name, double defaultValue)</nobr> |
| |
| <div class="jd-descrdiv">Retrieve extended data from the intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/android/os/Bundle.html">Bundle</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#getExtras()">getExtras</a></span>()</nobr> |
| |
| <div class="jd-descrdiv">Retrieves a map of extended data from the intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| int</nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#getFlags()">getFlags</a></span>()</nobr> |
| |
| <div class="jd-descrdiv">Retrieve any special flags associated with this intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| float[]</nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#getFloatArrayExtra(java.lang.String)">getFloatArrayExtra</a></span>(<a href="../../../reference/java/lang/String.html">String</a> name)</nobr> |
| |
| <div class="jd-descrdiv">Retrieve extended data from the intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| float</nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#getFloatExtra(java.lang.String, float)">getFloatExtra</a></span>(<a href="../../../reference/java/lang/String.html">String</a> name, float defaultValue)</nobr> |
| |
| <div class="jd-descrdiv">Retrieve extended data from the intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| int[]</nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#getIntArrayExtra(java.lang.String)">getIntArrayExtra</a></span>(<a href="../../../reference/java/lang/String.html">String</a> name)</nobr> |
| |
| <div class="jd-descrdiv">Retrieve extended data from the intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| int</nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#getIntExtra(java.lang.String, int)">getIntExtra</a></span>(<a href="../../../reference/java/lang/String.html">String</a> name, int defaultValue)</nobr> |
| |
| <div class="jd-descrdiv">Retrieve extended data from the intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/java/util/ArrayList.html">ArrayList</a><<a href="../../../reference/java/lang/Integer.html">Integer</a>></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#getIntegerArrayListExtra(java.lang.String)">getIntegerArrayListExtra</a></span>(<a href="../../../reference/java/lang/String.html">String</a> name)</nobr> |
| |
| <div class="jd-descrdiv">Retrieve extended data from the intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| static |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#getIntent(java.lang.String)">getIntent</a></span>(<a href="../../../reference/java/lang/String.html">String</a> uri)</nobr> |
| |
| <div class="jd-descrdiv"> |
| <em>This method was deprecated |
| in API level 4. |
| Use <code><a href="../../../reference/android/content/Intent.html#parseUri(java.lang.String, int)">parseUri(String, int)</a></code> instead. |
| </em></div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| static |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#getIntentOld(java.lang.String)">getIntentOld</a></span>(<a href="../../../reference/java/lang/String.html">String</a> uri)</nobr> |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| long[]</nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#getLongArrayExtra(java.lang.String)">getLongArrayExtra</a></span>(<a href="../../../reference/java/lang/String.html">String</a> name)</nobr> |
| |
| <div class="jd-descrdiv">Retrieve extended data from the intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| long</nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#getLongExtra(java.lang.String, long)">getLongExtra</a></span>(<a href="../../../reference/java/lang/String.html">String</a> name, long defaultValue)</nobr> |
| |
| <div class="jd-descrdiv">Retrieve extended data from the intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-4" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/java/lang/String.html">String</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#getPackage()">getPackage</a></span>()</nobr> |
| |
| <div class="jd-descrdiv">Retrieve the application package name this Intent is limited to.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/android/os/Parcelable.html">Parcelable[]</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#getParcelableArrayExtra(java.lang.String)">getParcelableArrayExtra</a></span>(<a href="../../../reference/java/lang/String.html">String</a> name)</nobr> |
| |
| <div class="jd-descrdiv">Retrieve extended data from the intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| <T extends <a href="../../../reference/android/os/Parcelable.html">Parcelable</a>> |
| <a href="../../../reference/java/util/ArrayList.html">ArrayList</a><T></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#getParcelableArrayListExtra(java.lang.String)">getParcelableArrayListExtra</a></span>(<a href="../../../reference/java/lang/String.html">String</a> name)</nobr> |
| |
| <div class="jd-descrdiv">Retrieve extended data from the intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| <T extends <a href="../../../reference/android/os/Parcelable.html">Parcelable</a>> |
| T</nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#getParcelableExtra(java.lang.String)">getParcelableExtra</a></span>(<a href="../../../reference/java/lang/String.html">String</a> name)</nobr> |
| |
| <div class="jd-descrdiv">Retrieve extended data from the intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/java/lang/String.html">String</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#getScheme()">getScheme</a></span>()</nobr> |
| |
| <div class="jd-descrdiv">Return the scheme portion of the intent's data.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-15" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#getSelector()">getSelector</a></span>()</nobr> |
| |
| <div class="jd-descrdiv">Return the specific selector associated with this Intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/java/io/Serializable.html">Serializable</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#getSerializableExtra(java.lang.String)">getSerializableExtra</a></span>(<a href="../../../reference/java/lang/String.html">String</a> name)</nobr> |
| |
| <div class="jd-descrdiv">Retrieve extended data from the intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| short[]</nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#getShortArrayExtra(java.lang.String)">getShortArrayExtra</a></span>(<a href="../../../reference/java/lang/String.html">String</a> name)</nobr> |
| |
| <div class="jd-descrdiv">Retrieve extended data from the intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| short</nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#getShortExtra(java.lang.String, short)">getShortExtra</a></span>(<a href="../../../reference/java/lang/String.html">String</a> name, short defaultValue)</nobr> |
| |
| <div class="jd-descrdiv">Retrieve extended data from the intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-7" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/android/graphics/Rect.html">Rect</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#getSourceBounds()">getSourceBounds</a></span>()</nobr> |
| |
| <div class="jd-descrdiv">Get the bounds of the sender of this intent, in screen coordinates.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/java/lang/String.html">String[]</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#getStringArrayExtra(java.lang.String)">getStringArrayExtra</a></span>(<a href="../../../reference/java/lang/String.html">String</a> name)</nobr> |
| |
| <div class="jd-descrdiv">Retrieve extended data from the intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/java/util/ArrayList.html">ArrayList</a><<a href="../../../reference/java/lang/String.html">String</a>></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#getStringArrayListExtra(java.lang.String)">getStringArrayListExtra</a></span>(<a href="../../../reference/java/lang/String.html">String</a> name)</nobr> |
| |
| <div class="jd-descrdiv">Retrieve extended data from the intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/java/lang/String.html">String</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#getStringExtra(java.lang.String)">getStringExtra</a></span>(<a href="../../../reference/java/lang/String.html">String</a> name)</nobr> |
| |
| <div class="jd-descrdiv">Retrieve extended data from the intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/java/lang/String.html">String</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#getType()">getType</a></span>()</nobr> |
| |
| <div class="jd-descrdiv">Retrieve any explicit MIME type included in the intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| boolean</nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#hasCategory(java.lang.String)">hasCategory</a></span>(<a href="../../../reference/java/lang/String.html">String</a> category)</nobr> |
| |
| <div class="jd-descrdiv">Check if a category exists in the intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| boolean</nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#hasExtra(java.lang.String)">hasExtra</a></span>(<a href="../../../reference/java/lang/String.html">String</a> name)</nobr> |
| |
| <div class="jd-descrdiv">Returns true if an extra value is associated with the given name.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| boolean</nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#hasFileDescriptors()">hasFileDescriptors</a></span>()</nobr> |
| |
| <div class="jd-descrdiv">Returns true if the Intent's extras contain a parcelled file descriptor.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-11" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| static |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#makeMainActivity(android.content.ComponentName)">makeMainActivity</a></span>(<a href="../../../reference/android/content/ComponentName.html">ComponentName</a> mainActivity)</nobr> |
| |
| <div class="jd-descrdiv">Create an intent to launch the main (root) activity of a task.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-15" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| static |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#makeMainSelectorActivity(java.lang.String, java.lang.String)">makeMainSelectorActivity</a></span>(<a href="../../../reference/java/lang/String.html">String</a> selectorAction, <a href="../../../reference/java/lang/String.html">String</a> selectorCategory)</nobr> |
| |
| <div class="jd-descrdiv">Make an Intent for the main activity of an application, without |
| specifying a specific activity to run but giving a selector to find |
| the activity.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-11" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| static |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#makeRestartActivityTask(android.content.ComponentName)">makeRestartActivityTask</a></span>(<a href="../../../reference/android/content/ComponentName.html">ComponentName</a> mainActivity)</nobr> |
| |
| <div class="jd-descrdiv">Make an Intent that can be used to re-launch an application's task |
| in its base state.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-16" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| static |
| |
| <a href="../../../reference/java/lang/String.html">String</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#normalizeMimeType(java.lang.String)">normalizeMimeType</a></span>(<a href="../../../reference/java/lang/String.html">String</a> type)</nobr> |
| |
| <div class="jd-descrdiv">Normalize a MIME data type.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| static |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#parseIntent(android.content.res.Resources, org.xmlpull.v1.XmlPullParser, android.util.AttributeSet)">parseIntent</a></span>(<a href="../../../reference/android/content/res/Resources.html">Resources</a> resources, <a href="../../../reference/org/xmlpull/v1/XmlPullParser.html">XmlPullParser</a> parser, <a href="../../../reference/android/util/AttributeSet.html">AttributeSet</a> attrs)</nobr> |
| |
| <div class="jd-descrdiv">Parses the "intent" element (and its children) from XML and instantiates |
| an Intent object.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-4" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| static |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#parseUri(java.lang.String, int)">parseUri</a></span>(<a href="../../../reference/java/lang/String.html">String</a> uri, int flags)</nobr> |
| |
| <div class="jd-descrdiv">Create an intent from a URI.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-8" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#putCharSequenceArrayListExtra(java.lang.String, java.util.ArrayList<java.lang.CharSequence>)">putCharSequenceArrayListExtra</a></span>(<a href="../../../reference/java/lang/String.html">String</a> name, <a href="../../../reference/java/util/ArrayList.html">ArrayList</a><<a href="../../../reference/java/lang/CharSequence.html">CharSequence</a>> value)</nobr> |
| |
| <div class="jd-descrdiv">Add extended data to the intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#putExtra(java.lang.String, double[])">putExtra</a></span>(<a href="../../../reference/java/lang/String.html">String</a> name, double[] value)</nobr> |
| |
| <div class="jd-descrdiv">Add extended data to the intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#putExtra(java.lang.String, int)">putExtra</a></span>(<a href="../../../reference/java/lang/String.html">String</a> name, int value)</nobr> |
| |
| <div class="jd-descrdiv">Add extended data to the intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#putExtra(java.lang.String, java.lang.CharSequence)">putExtra</a></span>(<a href="../../../reference/java/lang/String.html">String</a> name, <a href="../../../reference/java/lang/CharSequence.html">CharSequence</a> value)</nobr> |
| |
| <div class="jd-descrdiv">Add extended data to the intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#putExtra(java.lang.String, char)">putExtra</a></span>(<a href="../../../reference/java/lang/String.html">String</a> name, char value)</nobr> |
| |
| <div class="jd-descrdiv">Add extended data to the intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#putExtra(java.lang.String, android.os.Bundle)">putExtra</a></span>(<a href="../../../reference/java/lang/String.html">String</a> name, <a href="../../../reference/android/os/Bundle.html">Bundle</a> value)</nobr> |
| |
| <div class="jd-descrdiv">Add extended data to the intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#putExtra(java.lang.String, android.os.Parcelable[])">putExtra</a></span>(<a href="../../../reference/java/lang/String.html">String</a> name, <a href="../../../reference/android/os/Parcelable.html">Parcelable[]</a> value)</nobr> |
| |
| <div class="jd-descrdiv">Add extended data to the intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#putExtra(java.lang.String, java.io.Serializable)">putExtra</a></span>(<a href="../../../reference/java/lang/String.html">String</a> name, <a href="../../../reference/java/io/Serializable.html">Serializable</a> value)</nobr> |
| |
| <div class="jd-descrdiv">Add extended data to the intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#putExtra(java.lang.String, int[])">putExtra</a></span>(<a href="../../../reference/java/lang/String.html">String</a> name, int[] value)</nobr> |
| |
| <div class="jd-descrdiv">Add extended data to the intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#putExtra(java.lang.String, float)">putExtra</a></span>(<a href="../../../reference/java/lang/String.html">String</a> name, float value)</nobr> |
| |
| <div class="jd-descrdiv">Add extended data to the intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#putExtra(java.lang.String, byte[])">putExtra</a></span>(<a href="../../../reference/java/lang/String.html">String</a> name, byte[] value)</nobr> |
| |
| <div class="jd-descrdiv">Add extended data to the intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#putExtra(java.lang.String, long[])">putExtra</a></span>(<a href="../../../reference/java/lang/String.html">String</a> name, long[] value)</nobr> |
| |
| <div class="jd-descrdiv">Add extended data to the intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#putExtra(java.lang.String, android.os.Parcelable)">putExtra</a></span>(<a href="../../../reference/java/lang/String.html">String</a> name, <a href="../../../reference/android/os/Parcelable.html">Parcelable</a> value)</nobr> |
| |
| <div class="jd-descrdiv">Add extended data to the intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#putExtra(java.lang.String, float[])">putExtra</a></span>(<a href="../../../reference/java/lang/String.html">String</a> name, float[] value)</nobr> |
| |
| <div class="jd-descrdiv">Add extended data to the intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#putExtra(java.lang.String, long)">putExtra</a></span>(<a href="../../../reference/java/lang/String.html">String</a> name, long value)</nobr> |
| |
| <div class="jd-descrdiv">Add extended data to the intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#putExtra(java.lang.String, java.lang.String[])">putExtra</a></span>(<a href="../../../reference/java/lang/String.html">String</a> name, <a href="../../../reference/java/lang/String.html">String[]</a> value)</nobr> |
| |
| <div class="jd-descrdiv">Add extended data to the intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#putExtra(java.lang.String, boolean)">putExtra</a></span>(<a href="../../../reference/java/lang/String.html">String</a> name, boolean value)</nobr> |
| |
| <div class="jd-descrdiv">Add extended data to the intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#putExtra(java.lang.String, boolean[])">putExtra</a></span>(<a href="../../../reference/java/lang/String.html">String</a> name, boolean[] value)</nobr> |
| |
| <div class="jd-descrdiv">Add extended data to the intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#putExtra(java.lang.String, short)">putExtra</a></span>(<a href="../../../reference/java/lang/String.html">String</a> name, short value)</nobr> |
| |
| <div class="jd-descrdiv">Add extended data to the intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#putExtra(java.lang.String, double)">putExtra</a></span>(<a href="../../../reference/java/lang/String.html">String</a> name, double value)</nobr> |
| |
| <div class="jd-descrdiv">Add extended data to the intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#putExtra(java.lang.String, short[])">putExtra</a></span>(<a href="../../../reference/java/lang/String.html">String</a> name, short[] value)</nobr> |
| |
| <div class="jd-descrdiv">Add extended data to the intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#putExtra(java.lang.String, java.lang.String)">putExtra</a></span>(<a href="../../../reference/java/lang/String.html">String</a> name, <a href="../../../reference/java/lang/String.html">String</a> value)</nobr> |
| |
| <div class="jd-descrdiv">Add extended data to the intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#putExtra(java.lang.String, byte)">putExtra</a></span>(<a href="../../../reference/java/lang/String.html">String</a> name, byte value)</nobr> |
| |
| <div class="jd-descrdiv">Add extended data to the intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#putExtra(java.lang.String, char[])">putExtra</a></span>(<a href="../../../reference/java/lang/String.html">String</a> name, char[] value)</nobr> |
| |
| <div class="jd-descrdiv">Add extended data to the intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-8" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#putExtra(java.lang.String, java.lang.CharSequence[])">putExtra</a></span>(<a href="../../../reference/java/lang/String.html">String</a> name, <a href="../../../reference/java/lang/CharSequence.html">CharSequence[]</a> value)</nobr> |
| |
| <div class="jd-descrdiv">Add extended data to the intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#putExtras(android.content.Intent)">putExtras</a></span>(<a href="../../../reference/android/content/Intent.html">Intent</a> src)</nobr> |
| |
| <div class="jd-descrdiv">Copy all extras in 'src' in to this intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#putExtras(android.os.Bundle)">putExtras</a></span>(<a href="../../../reference/android/os/Bundle.html">Bundle</a> extras)</nobr> |
| |
| <div class="jd-descrdiv">Add a set of extended data to the intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#putIntegerArrayListExtra(java.lang.String, java.util.ArrayList<java.lang.Integer>)">putIntegerArrayListExtra</a></span>(<a href="../../../reference/java/lang/String.html">String</a> name, <a href="../../../reference/java/util/ArrayList.html">ArrayList</a><<a href="../../../reference/java/lang/Integer.html">Integer</a>> value)</nobr> |
| |
| <div class="jd-descrdiv">Add extended data to the intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#putParcelableArrayListExtra(java.lang.String, java.util.ArrayList<? extends android.os.Parcelable>)">putParcelableArrayListExtra</a></span>(<a href="../../../reference/java/lang/String.html">String</a> name, <a href="../../../reference/java/util/ArrayList.html">ArrayList</a><? extends <a href="../../../reference/android/os/Parcelable.html">Parcelable</a>> value)</nobr> |
| |
| <div class="jd-descrdiv">Add extended data to the intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#putStringArrayListExtra(java.lang.String, java.util.ArrayList<java.lang.String>)">putStringArrayListExtra</a></span>(<a href="../../../reference/java/lang/String.html">String</a> name, <a href="../../../reference/java/util/ArrayList.html">ArrayList</a><<a href="../../../reference/java/lang/String.html">String</a>> value)</nobr> |
| |
| <div class="jd-descrdiv">Add extended data to the intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| void</nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#readFromParcel(android.os.Parcel)">readFromParcel</a></span>(<a href="../../../reference/android/os/Parcel.html">Parcel</a> in)</nobr> |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| void</nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#removeCategory(java.lang.String)">removeCategory</a></span>(<a href="../../../reference/java/lang/String.html">String</a> category)</nobr> |
| |
| <div class="jd-descrdiv">Remove a category from an intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| void</nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#removeExtra(java.lang.String)">removeExtra</a></span>(<a href="../../../reference/java/lang/String.html">String</a> name)</nobr> |
| |
| <div class="jd-descrdiv">Remove extended data from the intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-3" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#replaceExtras(android.os.Bundle)">replaceExtras</a></span>(<a href="../../../reference/android/os/Bundle.html">Bundle</a> extras)</nobr> |
| |
| <div class="jd-descrdiv">Completely replace the extras in the Intent with the given Bundle of |
| extras.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-3" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#replaceExtras(android.content.Intent)">replaceExtras</a></span>(<a href="../../../reference/android/content/Intent.html">Intent</a> src)</nobr> |
| |
| <div class="jd-descrdiv">Completely replace the extras in the Intent with the extras in the |
| given Intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/android/content/ComponentName.html">ComponentName</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#resolveActivity(android.content.pm.PackageManager)">resolveActivity</a></span>(<a href="../../../reference/android/content/pm/PackageManager.html">PackageManager</a> pm)</nobr> |
| |
| <div class="jd-descrdiv">Return the Activity component that should be used to handle this intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/android/content/pm/ActivityInfo.html">ActivityInfo</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#resolveActivityInfo(android.content.pm.PackageManager, int)">resolveActivityInfo</a></span>(<a href="../../../reference/android/content/pm/PackageManager.html">PackageManager</a> pm, int flags)</nobr> |
| |
| <div class="jd-descrdiv">Resolve the Intent into an <code><a href="../../../reference/android/content/pm/ActivityInfo.html">ActivityInfo</a></code> |
| describing the activity that should execute the intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/java/lang/String.html">String</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#resolveType(android.content.ContentResolver)">resolveType</a></span>(<a href="../../../reference/android/content/ContentResolver.html">ContentResolver</a> resolver)</nobr> |
| |
| <div class="jd-descrdiv">Return the MIME data type of this intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/java/lang/String.html">String</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#resolveType(android.content.Context)">resolveType</a></span>(<a href="../../../reference/android/content/Context.html">Context</a> context)</nobr> |
| |
| <div class="jd-descrdiv">Return the MIME data type of this intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/java/lang/String.html">String</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#resolveTypeIfNeeded(android.content.ContentResolver)">resolveTypeIfNeeded</a></span>(<a href="../../../reference/android/content/ContentResolver.html">ContentResolver</a> resolver)</nobr> |
| |
| <div class="jd-descrdiv">Return the MIME data type of this intent, only if it will be needed for |
| intent resolution.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#setAction(java.lang.String)">setAction</a></span>(<a href="../../../reference/java/lang/String.html">String</a> action)</nobr> |
| |
| <div class="jd-descrdiv">Set the general action to be performed.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#setClass(android.content.Context, java.lang.Class<?>)">setClass</a></span>(<a href="../../../reference/android/content/Context.html">Context</a> packageContext, <a href="../../../reference/java/lang/Class.html">Class</a><?> cls)</nobr> |
| |
| <div class="jd-descrdiv">Convenience for calling <code><a href="../../../reference/android/content/Intent.html#setComponent(android.content.ComponentName)">setComponent(ComponentName)</a></code> with the |
| name returned by a <code><a href="../../../reference/java/lang/Class.html">Class</a></code> object.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#setClassName(android.content.Context, java.lang.String)">setClassName</a></span>(<a href="../../../reference/android/content/Context.html">Context</a> packageContext, <a href="../../../reference/java/lang/String.html">String</a> className)</nobr> |
| |
| <div class="jd-descrdiv">Convenience for calling <code><a href="../../../reference/android/content/Intent.html#setComponent(android.content.ComponentName)">setComponent(ComponentName)</a></code> with an |
| explicit class name.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#setClassName(java.lang.String, java.lang.String)">setClassName</a></span>(<a href="../../../reference/java/lang/String.html">String</a> packageName, <a href="../../../reference/java/lang/String.html">String</a> className)</nobr> |
| |
| <div class="jd-descrdiv">Convenience for calling <code><a href="../../../reference/android/content/Intent.html#setComponent(android.content.ComponentName)">setComponent(ComponentName)</a></code> with an |
| explicit application package name and class name.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-16" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| void</nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#setClipData(android.content.ClipData)">setClipData</a></span>(<a href="../../../reference/android/content/ClipData.html">ClipData</a> clip)</nobr> |
| |
| <div class="jd-descrdiv">Set a <code><a href="../../../reference/android/content/ClipData.html">ClipData</a></code> associated with this Intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#setComponent(android.content.ComponentName)">setComponent</a></span>(<a href="../../../reference/android/content/ComponentName.html">ComponentName</a> component)</nobr> |
| |
| <div class="jd-descrdiv">(Usually optional) Explicitly set the component to handle the intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#setData(android.net.Uri)">setData</a></span>(<a href="../../../reference/android/net/Uri.html">Uri</a> data)</nobr> |
| |
| <div class="jd-descrdiv">Set the data this intent is operating on.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-16" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#setDataAndNormalize(android.net.Uri)">setDataAndNormalize</a></span>(<a href="../../../reference/android/net/Uri.html">Uri</a> data)</nobr> |
| |
| <div class="jd-descrdiv">Normalize and set the data this intent is operating on.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#setDataAndType(android.net.Uri, java.lang.String)">setDataAndType</a></span>(<a href="../../../reference/android/net/Uri.html">Uri</a> data, <a href="../../../reference/java/lang/String.html">String</a> type)</nobr> |
| |
| <div class="jd-descrdiv">(Usually optional) Set the data for the intent along with an explicit |
| MIME data type.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-16" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#setDataAndTypeAndNormalize(android.net.Uri, java.lang.String)">setDataAndTypeAndNormalize</a></span>(<a href="../../../reference/android/net/Uri.html">Uri</a> data, <a href="../../../reference/java/lang/String.html">String</a> type)</nobr> |
| |
| <div class="jd-descrdiv">(Usually optional) Normalize and set both the data Uri and an explicit |
| MIME data type.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| void</nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#setExtrasClassLoader(java.lang.ClassLoader)">setExtrasClassLoader</a></span>(<a href="../../../reference/java/lang/ClassLoader.html">ClassLoader</a> loader)</nobr> |
| |
| <div class="jd-descrdiv">Sets the ClassLoader that will be used when unmarshalling |
| any Parcelable values from the extras of this Intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#setFlags(int)">setFlags</a></span>(int flags)</nobr> |
| |
| <div class="jd-descrdiv">Set special flags controlling how this intent is handled.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-4" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#setPackage(java.lang.String)">setPackage</a></span>(<a href="../../../reference/java/lang/String.html">String</a> packageName)</nobr> |
| |
| <div class="jd-descrdiv">(Usually optional) Set an explicit application package name that limits |
| the components this Intent will resolve to.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-15" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| void</nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#setSelector(android.content.Intent)">setSelector</a></span>(<a href="../../../reference/android/content/Intent.html">Intent</a> selector)</nobr> |
| |
| <div class="jd-descrdiv">Set a selector for this Intent.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-7" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| void</nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#setSourceBounds(android.graphics.Rect)">setSourceBounds</a></span>(<a href="../../../reference/android/graphics/Rect.html">Rect</a> r)</nobr> |
| |
| <div class="jd-descrdiv">Set the bounds of the sender of this intent, in screen coordinates.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#setType(java.lang.String)">setType</a></span>(<a href="../../../reference/java/lang/String.html">String</a> type)</nobr> |
| |
| <div class="jd-descrdiv">Set an explicit MIME data type.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-16" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#setTypeAndNormalize(java.lang.String)">setTypeAndNormalize</a></span>(<a href="../../../reference/java/lang/String.html">String</a> type)</nobr> |
| |
| <div class="jd-descrdiv">Normalize and set an explicit MIME data type.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/java/lang/String.html">String</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#toString()">toString</a></span>()</nobr> |
| |
| <div class="jd-descrdiv">Returns a string containing a concise, human-readable description of this |
| object.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/java/lang/String.html">String</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#toURI()">toURI</a></span>()</nobr> |
| |
| <div class="jd-descrdiv"> |
| <em>This method was deprecated |
| in API level 4. |
| Use <code><a href="../../../reference/android/content/Intent.html#toUri(int)">toUri(int)</a></code> instead. |
| </em></div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-4" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/java/lang/String.html">String</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#toUri(int)">toUri</a></span>(int flags)</nobr> |
| |
| <div class="jd-descrdiv">Convert this Intent into a String holding a URI representation of it.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| void</nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/content/Intent.html#writeToParcel(android.os.Parcel, int)">writeToParcel</a></span>(<a href="../../../reference/android/os/Parcel.html">Parcel</a> out, int flags)</nobr> |
| |
| <div class="jd-descrdiv">Flatten this object in to a Parcel.</div> |
| |
| </td></tr> |
| |
| |
| |
| </table> |
| |
| |
| |
| |
| |
| |
| |
| <!-- ========== METHOD SUMMARY =========== --> |
| <table id="inhmethods" class="jd-sumtable"><tr><th> |
| <a href="#" class="toggle-all" onclick="return toggleAllInherited(this, null)">[Expand]</a> |
| <div style="clear:left;">Inherited Methods</div></th></tr> |
| |
| |
| <tr class="api apilevel-" > |
| <td colspan="12"> |
| <a href="#" onclick="return toggleInherited(this, null)" id="inherited-methods-java.lang.Object" class="jd-expando-trigger closed" |
| ><img id="inherited-methods-java.lang.Object-trigger" |
| src="../../../assets/images/triangle-closed.png" |
| class="jd-expando-trigger-img" /></a> |
| From class |
| |
| <a href="../../../reference/java/lang/Object.html">java.lang.Object</a> |
| |
| <div id="inherited-methods-java.lang.Object"> |
| <div id="inherited-methods-java.lang.Object-list" |
| class="jd-inheritedlinks"> |
| </div> |
| <div id="inherited-methods-java.lang.Object-summary" style="display: none;"> |
| <table class="jd-sumtable-expando"> |
| |
| |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/java/lang/Object.html">Object</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/java/lang/Object.html#clone()">clone</a></span>()</nobr> |
| |
| <div class="jd-descrdiv">Creates and returns a copy of this <code>Object</code>.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| boolean</nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/java/lang/Object.html#equals(java.lang.Object)">equals</a></span>(<a href="../../../reference/java/lang/Object.html">Object</a> o)</nobr> |
| |
| <div class="jd-descrdiv">Compares this instance with the specified object and indicates if they |
| are equal.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| void</nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/java/lang/Object.html#finalize()">finalize</a></span>()</nobr> |
| |
| <div class="jd-descrdiv">Invoked when the garbage collector has detected that this instance is no longer reachable.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| final |
| |
| |
| <a href="../../../reference/java/lang/Class.html">Class</a><?></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/java/lang/Object.html#getClass()">getClass</a></span>()</nobr> |
| |
| <div class="jd-descrdiv">Returns the unique instance of <code><a href="../../../reference/java/lang/Class.html">Class</a></code> that represents this |
| object's class.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| int</nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/java/lang/Object.html#hashCode()">hashCode</a></span>()</nobr> |
| |
| <div class="jd-descrdiv">Returns an integer hash code for this object.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| final |
| |
| |
| void</nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/java/lang/Object.html#notify()">notify</a></span>()</nobr> |
| |
| <div class="jd-descrdiv">Causes a thread which is waiting on this object's monitor (by means of |
| calling one of the <code>wait()</code> methods) to be woken up.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| final |
| |
| |
| void</nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/java/lang/Object.html#notifyAll()">notifyAll</a></span>()</nobr> |
| |
| <div class="jd-descrdiv">Causes all threads which are waiting on this object's monitor (by means |
| of calling one of the <code>wait()</code> methods) to be woken up.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| |
| |
| |
| <a href="../../../reference/java/lang/String.html">String</a></nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/java/lang/Object.html#toString()">toString</a></span>()</nobr> |
| |
| <div class="jd-descrdiv">Returns a string containing a concise, human-readable description of this |
| object.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| final |
| |
| |
| void</nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/java/lang/Object.html#wait()">wait</a></span>()</nobr> |
| |
| <div class="jd-descrdiv">Causes the calling thread to wait until another thread calls the <code>notify()</code> or <code>notifyAll()</code> method of this object.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| final |
| |
| |
| void</nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/java/lang/Object.html#wait(long, int)">wait</a></span>(long millis, int nanos)</nobr> |
| |
| <div class="jd-descrdiv">Causes the calling thread to wait until another thread calls the <code>notify()</code> or <code>notifyAll()</code> method of this object or until the |
| specified timeout expires.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| |
| |
| final |
| |
| |
| void</nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/java/lang/Object.html#wait(long)">wait</a></span>(long millis)</nobr> |
| |
| <div class="jd-descrdiv">Causes the calling thread to wait until another thread calls the <code>notify()</code> or <code>notifyAll()</code> method of this object or until the |
| specified timeout expires.</div> |
| |
| </td></tr> |
| |
| |
| </table> |
| </div> |
| </div> |
| </td></tr> |
| |
| |
| |
| <tr class="api apilevel-" > |
| <td colspan="12"> |
| <a href="#" onclick="return toggleInherited(this, null)" id="inherited-methods-android.os.Parcelable" class="jd-expando-trigger closed" |
| ><img id="inherited-methods-android.os.Parcelable-trigger" |
| src="../../../assets/images/triangle-closed.png" |
| class="jd-expando-trigger-img" /></a> |
| From interface |
| |
| <a href="../../../reference/android/os/Parcelable.html">android.os.Parcelable</a> |
| |
| <div id="inherited-methods-android.os.Parcelable"> |
| <div id="inherited-methods-android.os.Parcelable-list" |
| class="jd-inheritedlinks"> |
| </div> |
| <div id="inherited-methods-android.os.Parcelable-summary" style="display: none;"> |
| <table class="jd-sumtable-expando"> |
| |
| |
| |
| |
| <tr class="alt-color api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| abstract |
| |
| |
| |
| |
| int</nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/os/Parcelable.html#describeContents()">describeContents</a></span>()</nobr> |
| |
| <div class="jd-descrdiv">Describe the kinds of special objects contained in this Parcelable's |
| marshalled representation.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-1" > |
| <td class="jd-typecol"><nobr> |
| abstract |
| |
| |
| |
| |
| void</nobr> |
| </td> |
| <td class="jd-linkcol" width="100%"><nobr> |
| <span class="sympad"><a href="../../../reference/android/os/Parcelable.html#writeToParcel(android.os.Parcel, int)">writeToParcel</a></span>(<a href="../../../reference/android/os/Parcel.html">Parcel</a> dest, int flags)</nobr> |
| |
| <div class="jd-descrdiv">Flatten this object in to a Parcel.</div> |
| |
| </td></tr> |
| |
| |
| </table> |
| </div> |
| </div> |
| </td></tr> |
| |
| |
| |
| |
| </table> |
| |
| |
| </div><!-- jd-descr (summary) --> |
| |
| <!-- Details --> |
| |
| |
| |
| |
| |
| |
| |
| |
| <!-- XML Attributes --> |
| |
| |
| <!-- Enum Values --> |
| |
| |
| <!-- Constants --> |
| |
| |
| <!-- ========= ENUM CONSTANTS DETAIL ======== --> |
| <h2>Constants</h2> |
| |
| |
| |
| |
| <A NAME="ACTION_AIRPLANE_MODE_CHANGED"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_AIRPLANE_MODE_CHANGED |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p><p>Broadcast Action: The user has switched the phone into or out of Airplane Mode. One or |
| more radios have been turned off or on. The intent will have the following extra value:</p> |
| <ul> |
| <li><em>state</em> - A boolean value indicating whether Airplane Mode is on. If true, |
| then cell radio and possibly other radios such as bluetooth or WiFi may have also been |
| turned off</li> |
| </ul> |
| |
| <p class="note">This is a protected intent that can only be sent |
| by the system. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.AIRPLANE_MODE" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_ALL_APPS"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_ALL_APPS |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Activity Action: List all available applications |
| <p>Input: Nothing. |
| <p>Output: nothing. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.ALL_APPS" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_ANSWER"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_ANSWER |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Activity Action: Handle an incoming phone call. |
| <p>Input: nothing. |
| <p>Output: nothing. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.ANSWER" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_APP_ERROR"></A> |
| |
| <div class="jd-details api apilevel-14"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_APP_ERROR |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 14</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Activity Action: The user pressed the "Report" button in the crash/ANR dialog. |
| This intent is delivered to the package which installed the application, usually |
| Google Play. |
| <p>Input: No data is specified. The bug report is passed in using |
| an <code><a href="../../../reference/android/content/Intent.html#EXTRA_BUG_REPORT">EXTRA_BUG_REPORT</a></code> field. |
| <p>Output: Nothing.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#EXTRA_BUG_REPORT">EXTRA_BUG_REPORT</a></code></li> |
| </ul> |
| </div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.APP_ERROR" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_ASSIST"></A> |
| |
| <div class="jd-details api apilevel-16"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_ASSIST |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 16</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Activity Action: Perform assist action. |
| <p> |
| Input: nothing |
| Output: nothing. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.ASSIST" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_ATTACH_DATA"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_ATTACH_DATA |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Used to indicate that some piece of data should be attached to some other |
| place. For example, image data could be attached to a contact. It is up |
| to the recipient to decide where the data should be attached; the intent |
| does not specify the ultimate destination. |
| <p>Input: <code><a href="../../../reference/android/content/Intent.html#getData()">getData()</a></code> is URI of data to be attached. |
| <p>Output: nothing. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.ATTACH_DATA" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_BATTERY_CHANGED"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_BATTERY_CHANGED |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Broadcast Action: This is a <em>sticky broadcast</em> containing the |
| charging state, level, and other information about the battery. |
| See <code><a href="../../../reference/android/os/BatteryManager.html">BatteryManager</a></code> for documentation on the |
| contents of the Intent. |
| |
| <p class="note"> |
| You can <em>not</em> receive this through components declared |
| in manifests, only by explicitly registering for it with |
| <code><a href="../../../reference/android/content/Context.html#registerReceiver(android.content.BroadcastReceiver, android.content.IntentFilter)">Context.registerReceiver()</a></code>. See <code><a href="../../../reference/android/content/Intent.html#ACTION_BATTERY_LOW">ACTION_BATTERY_LOW</a></code>, |
| <code><a href="../../../reference/android/content/Intent.html#ACTION_BATTERY_OKAY">ACTION_BATTERY_OKAY</a></code>, <code><a href="../../../reference/android/content/Intent.html#ACTION_POWER_CONNECTED">ACTION_POWER_CONNECTED</a></code>, |
| and <code><a href="../../../reference/android/content/Intent.html#ACTION_POWER_DISCONNECTED">ACTION_POWER_DISCONNECTED</a></code> for distinct battery-related |
| broadcasts that are sent and can be received through manifest |
| receivers. |
| |
| <p class="note">This is a protected intent that can only be sent |
| by the system. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.BATTERY_CHANGED" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_BATTERY_LOW"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_BATTERY_LOW |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Broadcast Action: Indicates low battery condition on the device. |
| This broadcast corresponds to the "Low battery warning" system dialog. |
| |
| <p class="note">This is a protected intent that can only be sent |
| by the system. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.BATTERY_LOW" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_BATTERY_OKAY"></A> |
| |
| <div class="jd-details api apilevel-4"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_BATTERY_OKAY |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 4</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Broadcast Action: Indicates the battery is now okay after being low. |
| This will be sent after <code><a href="../../../reference/android/content/Intent.html#ACTION_BATTERY_LOW">ACTION_BATTERY_LOW</a></code> once the battery has |
| gone back up to an okay state. |
| |
| <p class="note">This is a protected intent that can only be sent |
| by the system. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.BATTERY_OKAY" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_BOOT_COMPLETED"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_BOOT_COMPLETED |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Broadcast Action: This is broadcast once, after the system has finished |
| booting. It can be used to perform application-specific initialization, |
| such as installing alarms. You must hold the |
| <code><a href="../../../reference/android/Manifest.permission.html#RECEIVE_BOOT_COMPLETED">RECEIVE_BOOT_COMPLETED</a></code> permission |
| in order to receive this broadcast. |
| |
| <p class="note">This is a protected intent that can only be sent |
| by the system. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.BOOT_COMPLETED" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_BUG_REPORT"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_BUG_REPORT |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Activity Action: Show activity for reporting a bug. |
| <p>Input: Nothing. |
| <p>Output: Nothing. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.BUG_REPORT" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_CALL"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_CALL |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Activity Action: Perform a call to someone specified by the data. |
| <p>Input: If nothing, an empty dialer is started; else <code><a href="../../../reference/android/content/Intent.html#getData()">getData()</a></code> |
| is URI of a phone number to be dialed or a tel: URI of an explicit phone |
| number. |
| <p>Output: nothing. |
| |
| <p>Note: there will be restrictions on which applications can initiate a |
| call; most applications should use the <code><a href="../../../reference/android/content/Intent.html#ACTION_DIAL">ACTION_DIAL</a></code>. |
| <p>Note: this Intent <strong>cannot</strong> be used to call emergency |
| numbers. Applications can <strong>dial</strong> emergency numbers using |
| <code><a href="../../../reference/android/content/Intent.html#ACTION_DIAL">ACTION_DIAL</a></code>, however. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.CALL" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_CALL_BUTTON"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_CALL_BUTTON |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Activity Action: The user pressed the "call" button to go to the dialer |
| or other appropriate UI for placing a call. |
| <p>Input: Nothing. |
| <p>Output: Nothing. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.CALL_BUTTON" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_CAMERA_BUTTON"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_CAMERA_BUTTON |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Broadcast Action: The "Camera Button" was pressed. Includes a single |
| extra field, <code><a href="../../../reference/android/content/Intent.html#EXTRA_KEY_EVENT">EXTRA_KEY_EVENT</a></code>, containing the key event that |
| caused the broadcast. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.CAMERA_BUTTON" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_CHOOSER"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_CHOOSER |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Activity Action: Display an activity chooser, allowing the user to pick |
| what they want to before proceeding. This can be used as an alternative |
| to the standard activity picker that is displayed by the system when |
| you try to start an activity with multiple possible matches, with these |
| differences in behavior: |
| <ul> |
| <li>You can specify the title that will appear in the activity chooser. |
| <li>The user does not have the option to make one of the matching |
| activities a preferred activity, and all possible activities will |
| always be shown even if one of them is currently marked as the |
| preferred activity. |
| </ul> |
| <p> |
| This action should be used when the user will naturally expect to |
| select an activity in order to proceed. An example if when not to use |
| it is when the user clicks on a "mailto:" link. They would naturally |
| expect to go directly to their mail app, so startActivity() should be |
| called directly: it will |
| either launch the current preferred app, or put up a dialog allowing the |
| user to pick an app to use and optionally marking that as preferred. |
| <p> |
| In contrast, if the user is selecting a menu item to send a picture |
| they are viewing to someone else, there are many different things they |
| may want to do at this point: send it through e-mail, upload it to a |
| web service, etc. In this case the CHOOSER action should be used, to |
| always present to the user a list of the things they can do, with a |
| nice title given by the caller such as "Send this photo with:". |
| <p> |
| If you need to grant URI permissions through a chooser, you must specify |
| the permissions to be granted on the ACTION_CHOOSER Intent |
| <em>in addition</em> to the EXTRA_INTENT inside. This means using |
| <code><a href="../../../reference/android/content/Intent.html#setClipData(android.content.ClipData)">setClipData(ClipData)</a></code> to specify the URIs to be granted as well as |
| <code><a href="../../../reference/android/content/Intent.html#FLAG_GRANT_READ_URI_PERMISSION">FLAG_GRANT_READ_URI_PERMISSION</a></code> and/or |
| <code><a href="../../../reference/android/content/Intent.html#FLAG_GRANT_WRITE_URI_PERMISSION">FLAG_GRANT_WRITE_URI_PERMISSION</a></code> as appropriate. |
| <p> |
| As a convenience, an Intent of this form can be created with the |
| <code><a href="../../../reference/android/content/Intent.html#createChooser(android.content.Intent, java.lang.CharSequence)">createChooser(Intent, CharSequence)</a></code> function. |
| <p> |
| Input: No data should be specified. get*Extra must have |
| a <code><a href="../../../reference/android/content/Intent.html#EXTRA_INTENT">EXTRA_INTENT</a></code> field containing the Intent being executed, |
| and can optionally have a <code><a href="../../../reference/android/content/Intent.html#EXTRA_TITLE">EXTRA_TITLE</a></code> field containing the |
| title text to display in the chooser. |
| <p> |
| Output: Depends on the protocol of <code><a href="../../../reference/android/content/Intent.html#EXTRA_INTENT">EXTRA_INTENT</a></code>. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.CHOOSER" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_CLOSE_SYSTEM_DIALOGS"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_CLOSE_SYSTEM_DIALOGS |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Broadcast Action: This is broadcast when a user action should request a |
| temporary system dialog to dismiss. Some examples of temporary system |
| dialogs are the notification window-shade and the recent tasks dialog. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.CLOSE_SYSTEM_DIALOGS" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_CONFIGURATION_CHANGED"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_CONFIGURATION_CHANGED |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Broadcast Action: The current device <code><a href="../../../reference/android/content/res/Configuration.html">Configuration</a></code> |
| (orientation, locale, etc) has changed. When such a change happens, the |
| UIs (view hierarchy) will need to be rebuilt based on this new |
| information; for the most part, applications don't need to worry about |
| this, because the system will take care of stopping and restarting the |
| application to make sure it sees the new changes. Some system code that |
| can not be restarted will need to watch for this action and handle it |
| appropriately. |
| |
| <p class="note"> |
| You can <em>not</em> receive this through components declared |
| in manifests, only by explicitly registering for it with |
| <code><a href="../../../reference/android/content/Context.html#registerReceiver(android.content.BroadcastReceiver, android.content.IntentFilter)">Context.registerReceiver()</a></code>. |
| |
| <p class="note">This is a protected intent that can only be sent |
| by the system.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/res/Configuration.html">Configuration</a></code></li> |
| </ul> |
| </div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.CONFIGURATION_CHANGED" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_CREATE_SHORTCUT"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_CREATE_SHORTCUT |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Activity Action: Creates a shortcut. |
| <p>Input: Nothing.</p> |
| <p>Output: An Intent representing the shortcut. The intent must contain three |
| extras: SHORTCUT_INTENT (value: Intent), SHORTCUT_NAME (value: String), |
| and SHORTCUT_ICON (value: Bitmap) or SHORTCUT_ICON_RESOURCE |
| (value: ShortcutIconResource).</p></p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#EXTRA_SHORTCUT_INTENT">EXTRA_SHORTCUT_INTENT</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#EXTRA_SHORTCUT_NAME">EXTRA_SHORTCUT_NAME</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#EXTRA_SHORTCUT_ICON">EXTRA_SHORTCUT_ICON</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#EXTRA_SHORTCUT_ICON_RESOURCE">EXTRA_SHORTCUT_ICON_RESOURCE</a></code></li><li><code><a href="../../../reference/android/content/Intent.ShortcutIconResource.html">Intent.ShortcutIconResource</a></code></li> |
| </ul> |
| </div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.CREATE_SHORTCUT" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_DATE_CHANGED"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_DATE_CHANGED |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Broadcast Action: The date has changed. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.DATE_CHANGED" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_DEFAULT"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_DEFAULT |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>A synonym for <code><a href="../../../reference/android/content/Intent.html#ACTION_VIEW">ACTION_VIEW</a></code>, the "standard" action that is |
| performed on a piece of data. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.VIEW" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_DELETE"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_DELETE |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Activity Action: Delete the given data from its container. |
| <p>Input: <code><a href="../../../reference/android/content/Intent.html#getData()">getData()</a></code> is URI of data to be deleted. |
| <p>Output: nothing. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.DELETE" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_DEVICE_STORAGE_LOW"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_DEVICE_STORAGE_LOW |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Broadcast Action: A sticky broadcast that indicates low memory |
| condition on the device |
| |
| <p class="note">This is a protected intent that can only be sent |
| by the system. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.DEVICE_STORAGE_LOW" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_DEVICE_STORAGE_OK"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_DEVICE_STORAGE_OK |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Broadcast Action: Indicates low memory condition on the device no longer exists |
| |
| <p class="note">This is a protected intent that can only be sent |
| by the system. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.DEVICE_STORAGE_OK" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_DIAL"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_DIAL |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Activity Action: Dial a number as specified by the data. This shows a |
| UI with the number being dialed, allowing the user to explicitly |
| initiate the call. |
| <p>Input: If nothing, an empty dialer is started; else <code><a href="../../../reference/android/content/Intent.html#getData()">getData()</a></code> |
| is URI of a phone number to be dialed or a tel: URI of an explicit phone |
| number. |
| <p>Output: nothing. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.DIAL" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_DOCK_EVENT"></A> |
| |
| <div class="jd-details api apilevel-5"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_DOCK_EVENT |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 5</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Broadcast Action: A sticky broadcast for changes in the physical |
| docking state of the device. |
| |
| <p>The intent will have the following extra values: |
| <ul> |
| <li><em><code><a href="../../../reference/android/content/Intent.html#EXTRA_DOCK_STATE">EXTRA_DOCK_STATE</a></code></em> - the current dock |
| state, indicating which dock the device is physically in.</li> |
| </ul> |
| <p>This is intended for monitoring the current physical dock state. |
| See <code><a href="../../../reference/android/app/UiModeManager.html">UiModeManager</a></code> for the normal API dealing with |
| dock mode changes. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.DOCK_EVENT" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_DREAMING_STARTED"></A> |
| |
| <div class="jd-details api apilevel-17"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_DREAMING_STARTED |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 17</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Broadcast Action: Sent after the system starts dreaming. |
| |
| <p class="note">This is a protected intent that can only be sent by the system. |
| It is only sent to registered receivers.</p> |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.DREAMING_STARTED" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_DREAMING_STOPPED"></A> |
| |
| <div class="jd-details api apilevel-17"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_DREAMING_STOPPED |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 17</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Broadcast Action: Sent after the system stops dreaming. |
| |
| <p class="note">This is a protected intent that can only be sent by the system. |
| It is only sent to registered receivers.</p> |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.DREAMING_STOPPED" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_EDIT"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_EDIT |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Activity Action: Provide explicit editable access to the given data. |
| <p>Input: <code><a href="../../../reference/android/content/Intent.html#getData()">getData()</a></code> is URI of data to be edited. |
| <p>Output: nothing. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.EDIT" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_EXTERNAL_APPLICATIONS_AVAILABLE"></A> |
| |
| <div class="jd-details api apilevel-8"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_EXTERNAL_APPLICATIONS_AVAILABLE |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 8</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Broadcast Action: Resources for a set of packages (which were |
| previously unavailable) are currently |
| available since the media on which they exist is available. |
| The extra data <code><a href="../../../reference/android/content/Intent.html#EXTRA_CHANGED_PACKAGE_LIST">EXTRA_CHANGED_PACKAGE_LIST</a></code> contains a |
| list of packages whose availability changed. |
| The extra data <code><a href="../../../reference/android/content/Intent.html#EXTRA_CHANGED_UID_LIST">EXTRA_CHANGED_UID_LIST</a></code> contains a |
| list of uids of packages whose availability changed. |
| Note that the |
| packages in this list do <em>not</em> receive this broadcast. |
| The specified set of packages are now available on the system. |
| <p>Includes the following extras: |
| <ul> |
| <li> <code><a href="../../../reference/android/content/Intent.html#EXTRA_CHANGED_PACKAGE_LIST">EXTRA_CHANGED_PACKAGE_LIST</a></code> is the set of packages |
| whose resources(were previously unavailable) are currently available. |
| <code><a href="../../../reference/android/content/Intent.html#EXTRA_CHANGED_UID_LIST">EXTRA_CHANGED_UID_LIST</a></code> is the set of uids of the |
| packages whose resources(were previously unavailable) |
| are currently available. |
| </ul> |
| |
| <p class="note">This is a protected intent that can only be sent |
| by the system. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.EXTERNAL_APPLICATIONS_AVAILABLE" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE"></A> |
| |
| <div class="jd-details api apilevel-8"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 8</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Broadcast Action: Resources for a set of packages are currently |
| unavailable since the media on which they exist is unavailable. |
| The extra data <code><a href="../../../reference/android/content/Intent.html#EXTRA_CHANGED_PACKAGE_LIST">EXTRA_CHANGED_PACKAGE_LIST</a></code> contains a |
| list of packages whose availability changed. |
| The extra data <code><a href="../../../reference/android/content/Intent.html#EXTRA_CHANGED_UID_LIST">EXTRA_CHANGED_UID_LIST</a></code> contains a |
| list of uids of packages whose availability changed. |
| The specified set of packages can no longer be |
| launched and are practically unavailable on the system. |
| <p>Inclues the following extras: |
| <ul> |
| <li> <code><a href="../../../reference/android/content/Intent.html#EXTRA_CHANGED_PACKAGE_LIST">EXTRA_CHANGED_PACKAGE_LIST</a></code> is the set of packages |
| whose resources are no longer available. |
| <code><a href="../../../reference/android/content/Intent.html#EXTRA_CHANGED_UID_LIST">EXTRA_CHANGED_UID_LIST</a></code> is the set of packages |
| whose resources are no longer available. |
| </ul> |
| |
| <p class="note">This is a protected intent that can only be sent |
| by the system. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.EXTERNAL_APPLICATIONS_UNAVAILABLE" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_FACTORY_TEST"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_FACTORY_TEST |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Activity Action: Main entry point for factory tests. Only used when |
| the device is booting in factory test node. The implementing package |
| must be installed in the system image. |
| <p>Input: nothing |
| <p>Output: nothing |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.FACTORY_TEST" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_GET_CONTENT"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_GET_CONTENT |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Activity Action: Allow the user to select a particular kind of data and |
| return it. This is different than <code><a href="../../../reference/android/content/Intent.html#ACTION_PICK">ACTION_PICK</a></code> in that here we |
| just say what kind of data is desired, not a URI of existing data from |
| which the user can pick. A ACTION_GET_CONTENT could allow the user to |
| create the data as it runs (for example taking a picture or recording a |
| sound), let them browse over the web and download the desired data, |
| etc. |
| <p> |
| There are two main ways to use this action: if you want a specific kind |
| of data, such as a person contact, you set the MIME type to the kind of |
| data you want and launch it with <code><a href="../../../reference/android/content/Context.html#startActivity(android.content.Intent)">startActivity(Intent)</a></code>. |
| The system will then launch the best application to select that kind |
| of data for you. |
| <p> |
| You may also be interested in any of a set of types of content the user |
| can pick. For example, an e-mail application that wants to allow the |
| user to add an attachment to an e-mail message can use this action to |
| bring up a list of all of the types of content the user can attach. |
| <p> |
| In this case, you should wrap the GET_CONTENT intent with a chooser |
| (through <code><a href="../../../reference/android/content/Intent.html#createChooser(android.content.Intent, java.lang.CharSequence)">createChooser(Intent, CharSequence)</a></code>), which will give the proper interface |
| for the user to pick how to send your data and allow you to specify |
| a prompt indicating what they are doing. You will usually specify a |
| broad MIME type (such as image/* or */*), resulting in a |
| broad range of content types the user can select from. |
| <p> |
| When using such a broad GET_CONTENT action, it is often desirable to |
| only pick from data that can be represented as a stream. This is |
| accomplished by requiring the <code><a href="../../../reference/android/content/Intent.html#CATEGORY_OPENABLE">CATEGORY_OPENABLE</a></code> in the Intent. |
| <p> |
| Callers can optionally specify <code><a href="../../../reference/android/content/Intent.html#EXTRA_LOCAL_ONLY">EXTRA_LOCAL_ONLY</a></code> to request that |
| the launched content chooser only returns results representing data that |
| is locally available on the device. For example, if this extra is set |
| to true then an image picker should not show any pictures that are available |
| from a remote server but not already on the local device (thus requiring |
| they be downloaded when opened). |
| <p> |
| Input: <code><a href="../../../reference/android/content/Intent.html#getType()">getType()</a></code> is the desired MIME type to retrieve. Note |
| that no URI is supplied in the intent, as there are no constraints on |
| where the returned data originally comes from. You may also include the |
| <code><a href="../../../reference/android/content/Intent.html#CATEGORY_OPENABLE">CATEGORY_OPENABLE</a></code> if you can only accept data that can be |
| opened as a stream. You may use <code><a href="../../../reference/android/content/Intent.html#EXTRA_LOCAL_ONLY">EXTRA_LOCAL_ONLY</a></code> to limit content |
| selection to local data. |
| <p> |
| Output: The URI of the item that was picked. This must be a content: |
| URI so that any receiver can access it. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.GET_CONTENT" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_GTALK_SERVICE_CONNECTED"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_GTALK_SERVICE_CONNECTED |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Broadcast Action: A GTalk connection has been established. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.GTALK_CONNECTED" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_GTALK_SERVICE_DISCONNECTED"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_GTALK_SERVICE_DISCONNECTED |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Broadcast Action: A GTalk connection has been disconnected. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.GTALK_DISCONNECTED" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_HEADSET_PLUG"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_HEADSET_PLUG |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Broadcast Action: Wired Headset plugged in or unplugged. |
| |
| <p>The intent will have the following extra values: |
| <ul> |
| <li><em>state</em> - 0 for unplugged, 1 for plugged. </li> |
| <li><em>name</em> - Headset type, human readable string </li> |
| <li><em>microphone</em> - 1 if headset has a microphone, 0 otherwise </li> |
| </ul> |
| </ul> |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.HEADSET_PLUG" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_INPUT_METHOD_CHANGED"></A> |
| |
| <div class="jd-details api apilevel-3"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_INPUT_METHOD_CHANGED |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 3</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Broadcast Action: An input method has been changed. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.INPUT_METHOD_CHANGED" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_INSERT"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_INSERT |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Activity Action: Insert an empty item into the given container. |
| <p>Input: <code><a href="../../../reference/android/content/Intent.html#getData()">getData()</a></code> is URI of the directory (vnd.android.cursor.dir/*) |
| in which to place the data. |
| <p>Output: URI of the new data that was created. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.INSERT" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_INSERT_OR_EDIT"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_INSERT_OR_EDIT |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Activity Action: Pick an existing item, or insert a new item, and then edit it. |
| <p>Input: <code><a href="../../../reference/android/content/Intent.html#getType()">getType()</a></code> is the desired MIME type of the item to create or edit. |
| The extras can contain type specific data to pass through to the editing/creating |
| activity. |
| <p>Output: The URI of the item that was picked. This must be a content: |
| URI so that any receiver can access it. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.INSERT_OR_EDIT" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_INSTALL_PACKAGE"></A> |
| |
| <div class="jd-details api apilevel-14"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_INSTALL_PACKAGE |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 14</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Activity Action: Launch application installer. |
| <p> |
| Input: The data must be a content: or file: URI at which the application |
| can be retrieved. As of <code><a href="../../../reference/android/os/Build.VERSION_CODES.html#JELLY_BEAN_MR1">JELLY_BEAN_MR1</a></code>, |
| you can also use "package:<package-name>" to install an application for the |
| current user that is already installed for another user. You can optionally supply |
| <code><a href="../../../reference/android/content/Intent.html#EXTRA_INSTALLER_PACKAGE_NAME">EXTRA_INSTALLER_PACKAGE_NAME</a></code>, <code><a href="../../../reference/android/content/Intent.html#EXTRA_NOT_UNKNOWN_SOURCE">EXTRA_NOT_UNKNOWN_SOURCE</a></code>, |
| <code><a href="../../../reference/android/content/Intent.html#EXTRA_ALLOW_REPLACE">EXTRA_ALLOW_REPLACE</a></code>, and <code><a href="../../../reference/android/content/Intent.html#EXTRA_RETURN_RESULT">EXTRA_RETURN_RESULT</a></code>. |
| <p> |
| Output: If <code><a href="../../../reference/android/content/Intent.html#EXTRA_RETURN_RESULT">EXTRA_RETURN_RESULT</a></code>, returns whether the install |
| succeeded.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#EXTRA_INSTALLER_PACKAGE_NAME">EXTRA_INSTALLER_PACKAGE_NAME</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#EXTRA_NOT_UNKNOWN_SOURCE">EXTRA_NOT_UNKNOWN_SOURCE</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#EXTRA_RETURN_RESULT">EXTRA_RETURN_RESULT</a></code></li> |
| </ul> |
| </div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.INSTALL_PACKAGE" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_LOCALE_CHANGED"></A> |
| |
| <div class="jd-details api apilevel-7"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_LOCALE_CHANGED |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 7</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Broadcast Action: The current device's locale has changed. |
| |
| <p class="note">This is a protected intent that can only be sent |
| by the system. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.LOCALE_CHANGED" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_MAIN"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_MAIN |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Activity Action: Start as a main entry point, does not expect to |
| receive data. |
| <p>Input: nothing |
| <p>Output: nothing |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.MAIN" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_MANAGE_NETWORK_USAGE"></A> |
| |
| <div class="jd-details api apilevel-14"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_MANAGE_NETWORK_USAGE |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 14</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Activity Action: Show settings for managing network data usage of a |
| specific application. Applications should define an activity that offers |
| options to control data usage. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.MANAGE_NETWORK_USAGE" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_MANAGE_PACKAGE_STORAGE"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_MANAGE_PACKAGE_STORAGE |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Broadcast Action: Indicates low memory condition notification acknowledged by user |
| and package management should be started. |
| This is triggered by the user from the ACTION_DEVICE_STORAGE_LOW |
| notification. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.MANAGE_PACKAGE_STORAGE" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_MEDIA_BAD_REMOVAL"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_MEDIA_BAD_REMOVAL |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Broadcast Action: External media was removed from SD card slot, but mount point was not unmounted. |
| The path to the mount point for the removed media is contained in the Intent.mData field. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.MEDIA_BAD_REMOVAL" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_MEDIA_BUTTON"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_MEDIA_BUTTON |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Broadcast Action: The "Media Button" was pressed. Includes a single |
| extra field, <code><a href="../../../reference/android/content/Intent.html#EXTRA_KEY_EVENT">EXTRA_KEY_EVENT</a></code>, containing the key event that |
| caused the broadcast. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.MEDIA_BUTTON" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_MEDIA_CHECKING"></A> |
| |
| <div class="jd-details api apilevel-3"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_MEDIA_CHECKING |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 3</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Broadcast Action: External media is present, and being disk-checked |
| The path to the mount point for the checking media is contained in the Intent.mData field. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.MEDIA_CHECKING" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_MEDIA_EJECT"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_MEDIA_EJECT |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Broadcast Action: User has expressed the desire to remove the external storage media. |
| Applications should close all files they have open within the mount point when they receive this intent. |
| The path to the mount point for the media to be ejected is contained in the Intent.mData field. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.MEDIA_EJECT" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_MEDIA_MOUNTED"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_MEDIA_MOUNTED |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Broadcast Action: External media is present and mounted at its mount point. |
| The path to the mount point for the removed media is contained in the Intent.mData field. |
| The Intent contains an extra with name "read-only" and Boolean value to indicate if the |
| media was mounted read only. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.MEDIA_MOUNTED" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_MEDIA_NOFS"></A> |
| |
| <div class="jd-details api apilevel-3"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_MEDIA_NOFS |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 3</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Broadcast Action: External media is present, but is using an incompatible fs (or is blank) |
| The path to the mount point for the checking media is contained in the Intent.mData field. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.MEDIA_NOFS" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_MEDIA_REMOVED"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_MEDIA_REMOVED |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Broadcast Action: External media has been removed. |
| The path to the mount point for the removed media is contained in the Intent.mData field. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.MEDIA_REMOVED" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_MEDIA_SCANNER_FINISHED"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_MEDIA_SCANNER_FINISHED |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Broadcast Action: The media scanner has finished scanning a directory. |
| The path to the scanned directory is contained in the Intent.mData field. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.MEDIA_SCANNER_FINISHED" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_MEDIA_SCANNER_SCAN_FILE"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_MEDIA_SCANNER_SCAN_FILE |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Broadcast Action: Request the media scanner to scan a file and add it to the media database. |
| The path to the file is contained in the Intent.mData field. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.MEDIA_SCANNER_SCAN_FILE" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_MEDIA_SCANNER_STARTED"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_MEDIA_SCANNER_STARTED |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Broadcast Action: The media scanner has started scanning a directory. |
| The path to the directory being scanned is contained in the Intent.mData field. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.MEDIA_SCANNER_STARTED" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_MEDIA_SHARED"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_MEDIA_SHARED |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Broadcast Action: External media is unmounted because it is being shared via USB mass storage. |
| The path to the mount point for the shared media is contained in the Intent.mData field. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.MEDIA_SHARED" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_MEDIA_UNMOUNTABLE"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_MEDIA_UNMOUNTABLE |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Broadcast Action: External media is present but cannot be mounted. |
| The path to the mount point for the removed media is contained in the Intent.mData field. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.MEDIA_UNMOUNTABLE" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_MEDIA_UNMOUNTED"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_MEDIA_UNMOUNTED |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Broadcast Action: External media is present, but not mounted at its mount point. |
| The path to the mount point for the removed media is contained in the Intent.mData field. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.MEDIA_UNMOUNTED" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_MY_PACKAGE_REPLACED"></A> |
| |
| <div class="jd-details api apilevel-12"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_MY_PACKAGE_REPLACED |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 12</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Broadcast Action: A new version of your application has been installed |
| over an existing one. This is only sent to the application that was |
| replaced. It does not contain any additional data; to receive it, just |
| use an intent filter for this action. |
| |
| <p class="note">This is a protected intent that can only be sent |
| by the system. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.MY_PACKAGE_REPLACED" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_NEW_OUTGOING_CALL"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_NEW_OUTGOING_CALL |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Broadcast Action: An outgoing call is about to be placed. |
| |
| <p>The Intent will have the following extra value: |
| <ul> |
| <li><em><code><a href="../../../reference/android/content/Intent.html#EXTRA_PHONE_NUMBER">EXTRA_PHONE_NUMBER</a></code></em> - |
| the phone number originally intended to be dialed.</li> |
| </ul> |
| <p>Once the broadcast is finished, the resultData is used as the actual |
| number to call. If <code>null</code>, no call will be placed.</p> |
| <p>It is perfectly acceptable for multiple receivers to process the |
| outgoing call in turn: for example, a parental control application |
| might verify that the user is authorized to place the call at that |
| time, then a number-rewriting application might add an area code if |
| one was not specified.</p> |
| <p>For consistency, any receiver whose purpose is to prohibit phone |
| calls should have a priority of 0, to ensure it will see the final |
| phone number to be dialed. |
| Any receiver whose purpose is to rewrite phone numbers to be called |
| should have a positive priority. |
| Negative priorities are reserved for the system for this broadcast; |
| using them may cause problems.</p> |
| <p>Any BroadcastReceiver receiving this Intent <em>must not</em> |
| abort the broadcast.</p> |
| <p>Emergency calls cannot be intercepted using this mechanism, and |
| other calls cannot be modified to call emergency numbers using this |
| mechanism. |
| <p>You must hold the |
| <code><a href="../../../reference/android/Manifest.permission.html#PROCESS_OUTGOING_CALLS">PROCESS_OUTGOING_CALLS</a></code> |
| permission to receive this Intent.</p> |
| |
| <p class="note">This is a protected intent that can only be sent |
| by the system. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.NEW_OUTGOING_CALL" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_PACKAGE_ADDED"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_PACKAGE_ADDED |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Broadcast Action: A new application package has been installed on the |
| device. The data contains the name of the package. Note that the |
| newly installed package does <em>not</em> receive this broadcast. |
| <p>May include the following extras: |
| <ul> |
| <li> <code><a href="../../../reference/android/content/Intent.html#EXTRA_UID">EXTRA_UID</a></code> containing the integer uid assigned to the new package. |
| <li> <code><a href="../../../reference/android/content/Intent.html#EXTRA_REPLACING">EXTRA_REPLACING</a></code> is set to true if this is following |
| an <code><a href="../../../reference/android/content/Intent.html#ACTION_PACKAGE_REMOVED">ACTION_PACKAGE_REMOVED</a></code> broadcast for the same package. |
| </ul> |
| |
| <p class="note">This is a protected intent that can only be sent |
| by the system. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.PACKAGE_ADDED" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_PACKAGE_CHANGED"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_PACKAGE_CHANGED |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Broadcast Action: An existing application package has been changed (e.g. |
| a component has been enabled or disabled). The data contains the name of |
| the package. |
| <ul> |
| <li> <code><a href="../../../reference/android/content/Intent.html#EXTRA_UID">EXTRA_UID</a></code> containing the integer uid assigned to the package. |
| <li> <code><a href="../../../reference/android/content/Intent.html#EXTRA_CHANGED_COMPONENT_NAME_LIST">EXTRA_CHANGED_COMPONENT_NAME_LIST</a></code> containing the class name |
| of the changed components. |
| <li> <code><a href="../../../reference/android/content/Intent.html#EXTRA_DONT_KILL_APP">EXTRA_DONT_KILL_APP</a></code> containing boolean field to override the |
| default action of restarting the application. |
| </ul> |
| |
| <p class="note">This is a protected intent that can only be sent |
| by the system. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.PACKAGE_CHANGED" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_PACKAGE_DATA_CLEARED"></A> |
| |
| <div class="jd-details api apilevel-3"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_PACKAGE_DATA_CLEARED |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 3</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Broadcast Action: The user has cleared the data of a package. This should |
| be preceded by <code><a href="../../../reference/android/content/Intent.html#ACTION_PACKAGE_RESTARTED">ACTION_PACKAGE_RESTARTED</a></code>, after which all of |
| its persistent data is erased and this broadcast sent. |
| Note that the cleared package does <em>not</em> |
| receive this broadcast. The data contains the name of the package. |
| <ul> |
| <li> <code><a href="../../../reference/android/content/Intent.html#EXTRA_UID">EXTRA_UID</a></code> containing the integer uid assigned to the package. |
| </ul> |
| |
| <p class="note">This is a protected intent that can only be sent |
| by the system. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.PACKAGE_DATA_CLEARED" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_PACKAGE_FIRST_LAUNCH"></A> |
| |
| <div class="jd-details api apilevel-12"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_PACKAGE_FIRST_LAUNCH |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 12</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Broadcast Action: Sent to the installer package of an application |
| when that application is first launched (that is the first time it |
| is moved out of the stopped state). The data contains the name of the package. |
| |
| <p class="note">This is a protected intent that can only be sent |
| by the system. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.PACKAGE_FIRST_LAUNCH" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_PACKAGE_FULLY_REMOVED"></A> |
| |
| <div class="jd-details api apilevel-14"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_PACKAGE_FULLY_REMOVED |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 14</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Broadcast Action: An existing application package has been completely |
| removed from the device. The data contains the name of the package. |
| This is like <code><a href="../../../reference/android/content/Intent.html#ACTION_PACKAGE_REMOVED">ACTION_PACKAGE_REMOVED</a></code>, but only set when |
| <code><a href="../../../reference/android/content/Intent.html#EXTRA_DATA_REMOVED">EXTRA_DATA_REMOVED</a></code> is true and |
| <code><a href="../../../reference/android/content/Intent.html#EXTRA_REPLACING">EXTRA_REPLACING</a></code> is false of that broadcast. |
| |
| <ul> |
| <li> <code><a href="../../../reference/android/content/Intent.html#EXTRA_UID">EXTRA_UID</a></code> containing the integer uid previously assigned |
| to the package. |
| </ul> |
| |
| <p class="note">This is a protected intent that can only be sent |
| by the system. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.PACKAGE_FULLY_REMOVED" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_PACKAGE_INSTALL"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_PACKAGE_INSTALL |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| <p> |
| <p class="caution"> |
| <strong>This constant was deprecated |
| in API level 14</strong>.<br/> This constant has never been used. |
| |
| </p> |
| <div class="jd-tagdata jd-tagdescr"><p>Broadcast Action: Trigger the download and eventual installation |
| of a package. |
| <p>Input: <code><a href="../../../reference/android/content/Intent.html#getData()">getData()</a></code> is the URI of the package file to download. |
| |
| <p class="note">This is a protected intent that can only be sent |
| by the system.</p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.PACKAGE_INSTALL" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_PACKAGE_NEEDS_VERIFICATION"></A> |
| |
| <div class="jd-details api apilevel-14"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_PACKAGE_NEEDS_VERIFICATION |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 14</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Broadcast Action: Sent to the system package verifier when a package |
| needs to be verified. The data contains the package URI. |
| <p class="note"> |
| This is a protected intent that can only be sent by the system. |
| </p> |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.PACKAGE_NEEDS_VERIFICATION" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_PACKAGE_REMOVED"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_PACKAGE_REMOVED |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Broadcast Action: An existing application package has been removed from |
| the device. The data contains the name of the package. The package |
| that is being installed does <em>not</em> receive this Intent. |
| <ul> |
| <li> <code><a href="../../../reference/android/content/Intent.html#EXTRA_UID">EXTRA_UID</a></code> containing the integer uid previously assigned |
| to the package. |
| <li> <code><a href="../../../reference/android/content/Intent.html#EXTRA_DATA_REMOVED">EXTRA_DATA_REMOVED</a></code> is set to true if the entire |
| application -- data and code -- is being removed. |
| <li> <code><a href="../../../reference/android/content/Intent.html#EXTRA_REPLACING">EXTRA_REPLACING</a></code> is set to true if this will be followed |
| by an <code><a href="../../../reference/android/content/Intent.html#ACTION_PACKAGE_ADDED">ACTION_PACKAGE_ADDED</a></code> broadcast for the same package. |
| </ul> |
| |
| <p class="note">This is a protected intent that can only be sent |
| by the system. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.PACKAGE_REMOVED" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_PACKAGE_REPLACED"></A> |
| |
| <div class="jd-details api apilevel-3"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_PACKAGE_REPLACED |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 3</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Broadcast Action: A new version of an application package has been |
| installed, replacing an existing version that was previously installed. |
| The data contains the name of the package. |
| <p>May include the following extras: |
| <ul> |
| <li> <code><a href="../../../reference/android/content/Intent.html#EXTRA_UID">EXTRA_UID</a></code> containing the integer uid assigned to the new package. |
| </ul> |
| |
| <p class="note">This is a protected intent that can only be sent |
| by the system. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.PACKAGE_REPLACED" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_PACKAGE_RESTARTED"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_PACKAGE_RESTARTED |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Broadcast Action: The user has restarted a package, and all of its |
| processes have been killed. All runtime state |
| associated with it (processes, alarms, notifications, etc) should |
| be removed. Note that the restarted package does <em>not</em> |
| receive this broadcast. |
| The data contains the name of the package. |
| <ul> |
| <li> <code><a href="../../../reference/android/content/Intent.html#EXTRA_UID">EXTRA_UID</a></code> containing the integer uid assigned to the package. |
| </ul> |
| |
| <p class="note">This is a protected intent that can only be sent |
| by the system. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.PACKAGE_RESTARTED" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_PACKAGE_VERIFIED"></A> |
| |
| <div class="jd-details api apilevel-17"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_PACKAGE_VERIFIED |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 17</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Broadcast Action: Sent to the system package verifier when a package is |
| verified. The data contains the package URI. |
| <p class="note"> |
| This is a protected intent that can only be sent by the system. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.PACKAGE_VERIFIED" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_PASTE"></A> |
| |
| <div class="jd-details api apilevel-11"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_PASTE |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 11</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Activity Action: Create a new item in the given container, initializing it |
| from the current contents of the clipboard. |
| <p>Input: <code><a href="../../../reference/android/content/Intent.html#getData()">getData()</a></code> is URI of the directory (vnd.android.cursor.dir/*) |
| in which to place the data. |
| <p>Output: URI of the new data that was created. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.PASTE" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_PICK"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_PICK |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Activity Action: Pick an item from the data, returning what was selected. |
| <p>Input: <code><a href="../../../reference/android/content/Intent.html#getData()">getData()</a></code> is URI containing a directory of data |
| (vnd.android.cursor.dir/*) from which to pick an item. |
| <p>Output: The URI of the item that was picked. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.PICK" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_PICK_ACTIVITY"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_PICK_ACTIVITY |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Activity Action: Pick an activity given an intent, returning the class |
| selected. |
| <p>Input: get*Extra field <code><a href="../../../reference/android/content/Intent.html#EXTRA_INTENT">EXTRA_INTENT</a></code> is an Intent |
| used with <code><a href="../../../reference/android/content/pm/PackageManager.html#queryIntentActivities(android.content.Intent, int)">queryIntentActivities(Intent, int)</a></code> to determine the |
| set of activities from which to pick. |
| <p>Output: Class name of the activity that was selected. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.PICK_ACTIVITY" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_POWER_CONNECTED"></A> |
| |
| <div class="jd-details api apilevel-4"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_POWER_CONNECTED |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 4</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Broadcast Action: External power has been connected to the device. |
| This is intended for applications that wish to register specifically to this notification. |
| Unlike ACTION_BATTERY_CHANGED, applications will be woken for this and so do not have to |
| stay active to receive this notification. This action can be used to implement actions |
| that wait until power is available to trigger. |
| |
| <p class="note">This is a protected intent that can only be sent |
| by the system. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.ACTION_POWER_CONNECTED" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_POWER_DISCONNECTED"></A> |
| |
| <div class="jd-details api apilevel-4"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_POWER_DISCONNECTED |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 4</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Broadcast Action: External power has been removed from the device. |
| This is intended for applications that wish to register specifically to this notification. |
| Unlike ACTION_BATTERY_CHANGED, applications will be woken for this and so do not have to |
| stay active to receive this notification. This action can be used to implement actions |
| that wait until power is available to trigger. |
| |
| <p class="note">This is a protected intent that can only be sent |
| by the system. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.ACTION_POWER_DISCONNECTED" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_POWER_USAGE_SUMMARY"></A> |
| |
| <div class="jd-details api apilevel-4"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_POWER_USAGE_SUMMARY |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 4</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Activity Action: Show power usage information to the user. |
| <p>Input: Nothing. |
| <p>Output: Nothing. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.POWER_USAGE_SUMMARY" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_PROVIDER_CHANGED"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_PROVIDER_CHANGED |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Broadcast Action: Some content providers have parts of their namespace |
| where they publish new events or items that the user may be especially |
| interested in. For these things, they may broadcast this action when the |
| set of interesting items change. |
| |
| For example, GmailProvider sends this notification when the set of unread |
| mail in the inbox changes. |
| |
| <p>The data of the intent identifies which part of which provider |
| changed. When queried through the content resolver, the data URI will |
| return the data set in question. |
| |
| <p>The intent will have the following extra values: |
| <ul> |
| <li><em>count</em> - The number of items in the data set. This is the |
| same as the number of items in the cursor returned by querying the |
| data URI. </li> |
| </ul> |
| |
| This intent will be sent at boot (if the count is non-zero) and when the |
| data set changes. It is possible for the data set to change without the |
| count changing (for example, if a new unread message arrives in the same |
| sync operation in which a message is archived). The phone should still |
| ring/vibrate/etc as normal in this case. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.PROVIDER_CHANGED" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_QUICK_CLOCK"></A> |
| |
| <div class="jd-details api apilevel-17"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_QUICK_CLOCK |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 17</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Sent when the user taps on the clock widget in the system's "quick settings" area. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.QUICK_CLOCK" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_REBOOT"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_REBOOT |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Broadcast Action: Have the device reboot. This is only for use by |
| system code. |
| |
| <p class="note">This is a protected intent that can only be sent |
| by the system. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.REBOOT" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_RUN"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_RUN |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Activity Action: Run the data, whatever that means. |
| <p>Input: ? (Note: this is currently specific to the test harness.) |
| <p>Output: nothing. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.RUN" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_SCREEN_OFF"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_SCREEN_OFF |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Broadcast Action: Sent after the screen turns off. |
| |
| <p class="note">This is a protected intent that can only be sent |
| by the system. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.SCREEN_OFF" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_SCREEN_ON"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_SCREEN_ON |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Broadcast Action: Sent after the screen turns on. |
| |
| <p class="note">This is a protected intent that can only be sent |
| by the system. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.SCREEN_ON" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_SEARCH"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_SEARCH |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Activity Action: Perform a search. |
| <p>Input: <code><a href="../../../reference/android/app/SearchManager.html#QUERY">getStringExtra(SearchManager.QUERY)</a></code> |
| is the text to search for. If empty, simply |
| enter your search results Activity with the search UI activated. |
| <p>Output: nothing. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.SEARCH" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_SEARCH_LONG_PRESS"></A> |
| |
| <div class="jd-details api apilevel-3"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_SEARCH_LONG_PRESS |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 3</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Activity Action: Start action associated with long pressing on the |
| search key. |
| <p>Input: Nothing. |
| <p>Output: Nothing. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.SEARCH_LONG_PRESS" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_SEND"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_SEND |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Activity Action: Deliver some data to someone else. Who the data is |
| being delivered to is not specified; it is up to the receiver of this |
| action to ask the user where the data should be sent. |
| <p> |
| When launching a SEND intent, you should usually wrap it in a chooser |
| (through <code><a href="../../../reference/android/content/Intent.html#createChooser(android.content.Intent, java.lang.CharSequence)">createChooser(Intent, CharSequence)</a></code>), which will give the proper interface |
| for the user to pick how to send your data and allow you to specify |
| a prompt indicating what they are doing. |
| <p> |
| Input: <code><a href="../../../reference/android/content/Intent.html#getType()">getType()</a></code> is the MIME type of the data being sent. |
| get*Extra can have either a <code><a href="../../../reference/android/content/Intent.html#EXTRA_TEXT">EXTRA_TEXT</a></code> |
| or <code><a href="../../../reference/android/content/Intent.html#EXTRA_STREAM">EXTRA_STREAM</a></code> field, containing the data to be sent. If |
| using EXTRA_TEXT, the MIME type should be "text/plain"; otherwise it |
| should be the MIME type of the data in EXTRA_STREAM. Use */* |
| if the MIME type is unknown (this will only allow senders that can |
| handle generic data streams). If using <code><a href="../../../reference/android/content/Intent.html#EXTRA_TEXT">EXTRA_TEXT</a></code>, you can |
| also optionally supply <code><a href="../../../reference/android/content/Intent.html#EXTRA_HTML_TEXT">EXTRA_HTML_TEXT</a></code> for clients to retrieve |
| your text with HTML formatting. |
| <p> |
| As of <code><a href="../../../reference/android/os/Build.VERSION_CODES.html#JELLY_BEAN">JELLY_BEAN</a></code>, the data |
| being sent can be supplied through <code><a href="../../../reference/android/content/Intent.html#setClipData(android.content.ClipData)">setClipData(ClipData)</a></code>. This |
| allows you to use <code><a href="../../../reference/android/content/Intent.html#FLAG_GRANT_READ_URI_PERMISSION">FLAG_GRANT_READ_URI_PERMISSION</a></code> when sharing |
| content: URIs and other advanced features of <code><a href="../../../reference/android/content/ClipData.html">ClipData</a></code>. If |
| using this approach, you still must supply the same data through the |
| <code><a href="../../../reference/android/content/Intent.html#EXTRA_TEXT">EXTRA_TEXT</a></code> or <code><a href="../../../reference/android/content/Intent.html#EXTRA_STREAM">EXTRA_STREAM</a></code> fields described below |
| for compatibility with old applications. If you don't set a ClipData, |
| it will be copied there for you when calling <code><a href="../../../reference/android/content/Context.html#startActivity(android.content.Intent)">startActivity(Intent)</a></code>. |
| <p> |
| Optional standard extras, which may be interpreted by some recipients as |
| appropriate, are: <code><a href="../../../reference/android/content/Intent.html#EXTRA_EMAIL">EXTRA_EMAIL</a></code>, <code><a href="../../../reference/android/content/Intent.html#EXTRA_CC">EXTRA_CC</a></code>, |
| <code><a href="../../../reference/android/content/Intent.html#EXTRA_BCC">EXTRA_BCC</a></code>, <code><a href="../../../reference/android/content/Intent.html#EXTRA_SUBJECT">EXTRA_SUBJECT</a></code>. |
| <p> |
| Output: nothing. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.SEND" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_SENDTO"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_SENDTO |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Activity Action: Send a message to someone specified by the data. |
| <p>Input: <code><a href="../../../reference/android/content/Intent.html#getData()">getData()</a></code> is URI describing the target. |
| <p>Output: nothing. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.SENDTO" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_SEND_MULTIPLE"></A> |
| |
| <div class="jd-details api apilevel-4"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_SEND_MULTIPLE |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 4</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Activity Action: Deliver multiple data to someone else. |
| <p> |
| Like <code><a href="../../../reference/android/content/Intent.html#ACTION_SEND">ACTION_SEND</a></code>, except the data is multiple. |
| <p> |
| Input: <code><a href="../../../reference/android/content/Intent.html#getType()">getType()</a></code> is the MIME type of the data being sent. |
| get*ArrayListExtra can have either a <code><a href="../../../reference/android/content/Intent.html#EXTRA_TEXT">EXTRA_TEXT</a></code> or <code><a href="../../../reference/android/content/Intent.html#EXTRA_STREAM">EXTRA_STREAM</a></code> field, containing the data to be sent. If using |
| <code><a href="../../../reference/android/content/Intent.html#EXTRA_TEXT">EXTRA_TEXT</a></code>, you can also optionally supply <code><a href="../../../reference/android/content/Intent.html#EXTRA_HTML_TEXT">EXTRA_HTML_TEXT</a></code> |
| for clients to retrieve your text with HTML formatting. |
| <p> |
| Multiple types are supported, and receivers should handle mixed types |
| whenever possible. The right way for the receiver to check them is to |
| use the content resolver on each URI. The intent sender should try to |
| put the most concrete mime type in the intent type, but it can fall |
| back to <type>/* or */* as needed. |
| <p> |
| e.g. if you are sending image/jpg and image/jpg, the intent's type can |
| be image/jpg, but if you are sending image/jpg and image/png, then the |
| intent's type should be image/*. |
| <p> |
| As of <code><a href="../../../reference/android/os/Build.VERSION_CODES.html#JELLY_BEAN">JELLY_BEAN</a></code>, the data |
| being sent can be supplied through <code><a href="../../../reference/android/content/Intent.html#setClipData(android.content.ClipData)">setClipData(ClipData)</a></code>. This |
| allows you to use <code><a href="../../../reference/android/content/Intent.html#FLAG_GRANT_READ_URI_PERMISSION">FLAG_GRANT_READ_URI_PERMISSION</a></code> when sharing |
| content: URIs and other advanced features of <code><a href="../../../reference/android/content/ClipData.html">ClipData</a></code>. If |
| using this approach, you still must supply the same data through the |
| <code><a href="../../../reference/android/content/Intent.html#EXTRA_TEXT">EXTRA_TEXT</a></code> or <code><a href="../../../reference/android/content/Intent.html#EXTRA_STREAM">EXTRA_STREAM</a></code> fields described below |
| for compatibility with old applications. If you don't set a ClipData, |
| it will be copied there for you when calling <code><a href="../../../reference/android/content/Context.html#startActivity(android.content.Intent)">startActivity(Intent)</a></code>. |
| <p> |
| Optional standard extras, which may be interpreted by some recipients as |
| appropriate, are: <code><a href="../../../reference/android/content/Intent.html#EXTRA_EMAIL">EXTRA_EMAIL</a></code>, <code><a href="../../../reference/android/content/Intent.html#EXTRA_CC">EXTRA_CC</a></code>, |
| <code><a href="../../../reference/android/content/Intent.html#EXTRA_BCC">EXTRA_BCC</a></code>, <code><a href="../../../reference/android/content/Intent.html#EXTRA_SUBJECT">EXTRA_SUBJECT</a></code>. |
| <p> |
| Output: nothing. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.SEND_MULTIPLE" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_SET_WALLPAPER"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_SET_WALLPAPER |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Activity Action: Show settings for choosing wallpaper |
| <p>Input: Nothing. |
| <p>Output: Nothing. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.SET_WALLPAPER" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_SHUTDOWN"></A> |
| |
| <div class="jd-details api apilevel-4"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_SHUTDOWN |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 4</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Broadcast Action: Device is shutting down. |
| This is broadcast when the device is being shut down (completely turned |
| off, not sleeping). Once the broadcast is complete, the final shutdown |
| will proceed and all unsaved data lost. Apps will not normally need |
| to handle this, since the foreground activity will be paused as well. |
| |
| <p class="note">This is a protected intent that can only be sent |
| by the system. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.ACTION_SHUTDOWN" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_SYNC"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_SYNC |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Activity Action: Perform a data synchronization. |
| <p>Input: ? |
| <p>Output: ? |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.SYNC" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_SYSTEM_TUTORIAL"></A> |
| |
| <div class="jd-details api apilevel-3"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_SYSTEM_TUTORIAL |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 3</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Activity Action: Start the platform-defined tutorial |
| <p>Input: <code><a href="../../../reference/android/app/SearchManager.html#QUERY">getStringExtra(SearchManager.QUERY)</a></code> |
| is the text to search for. If empty, simply |
| enter your search results Activity with the search UI activated. |
| <p>Output: nothing. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.SYSTEM_TUTORIAL" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_TIMEZONE_CHANGED"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_TIMEZONE_CHANGED |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Broadcast Action: The timezone has changed. The intent will have the following extra values:</p> |
| <ul> |
| <li><em>time-zone</em> - The java.util.TimeZone.getID() value identifying the new time zone.</li> |
| </ul> |
| |
| <p class="note">This is a protected intent that can only be sent |
| by the system. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.TIMEZONE_CHANGED" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_TIME_CHANGED"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_TIME_CHANGED |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Broadcast Action: The time was set. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.TIME_SET" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_TIME_TICK"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_TIME_TICK |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Broadcast Action: The current time has changed. Sent every |
| minute. You can <em>not</em> receive this through components declared |
| in manifests, only by exlicitly registering for it with |
| <code><a href="../../../reference/android/content/Context.html#registerReceiver(android.content.BroadcastReceiver, android.content.IntentFilter)">Context.registerReceiver()</a></code>. |
| |
| <p class="note">This is a protected intent that can only be sent |
| by the system. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.TIME_TICK" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_UID_REMOVED"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_UID_REMOVED |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Broadcast Action: A user ID has been removed from the system. The user |
| ID number is stored in the extra data under <code><a href="../../../reference/android/content/Intent.html#EXTRA_UID">EXTRA_UID</a></code>. |
| |
| <p class="note">This is a protected intent that can only be sent |
| by the system. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.UID_REMOVED" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_UMS_CONNECTED"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_UMS_CONNECTED |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| <p> |
| <p class="caution"> |
| <strong>This constant was deprecated |
| in API level 14</strong>.<br/> replaced by android.os.storage.StorageEventListener |
| |
| </p> |
| <div class="jd-tagdata jd-tagdescr"><p>Broadcast Action: The device has entered USB Mass Storage mode. |
| This is used mainly for the USB Settings panel. |
| Apps should listen for ACTION_MEDIA_MOUNTED and ACTION_MEDIA_UNMOUNTED broadcasts to be notified |
| when the SD card file system is mounted or unmounted</p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.UMS_CONNECTED" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_UMS_DISCONNECTED"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_UMS_DISCONNECTED |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| <p> |
| <p class="caution"> |
| <strong>This constant was deprecated |
| in API level 14</strong>.<br/> replaced by android.os.storage.StorageEventListener |
| |
| </p> |
| <div class="jd-tagdata jd-tagdescr"><p>Broadcast Action: The device has exited USB Mass Storage mode. |
| This is used mainly for the USB Settings panel. |
| Apps should listen for ACTION_MEDIA_MOUNTED and ACTION_MEDIA_UNMOUNTED broadcasts to be notified |
| when the SD card file system is mounted or unmounted</p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.UMS_DISCONNECTED" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_UNINSTALL_PACKAGE"></A> |
| |
| <div class="jd-details api apilevel-14"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_UNINSTALL_PACKAGE |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 14</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Activity Action: Launch application uninstaller. |
| <p> |
| Input: The data must be a package: URI whose scheme specific part is |
| the package name of the current installed package to be uninstalled. |
| You can optionally supply <code><a href="../../../reference/android/content/Intent.html#EXTRA_RETURN_RESULT">EXTRA_RETURN_RESULT</a></code>. |
| <p> |
| Output: If <code><a href="../../../reference/android/content/Intent.html#EXTRA_RETURN_RESULT">EXTRA_RETURN_RESULT</a></code>, returns whether the install |
| succeeded. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.UNINSTALL_PACKAGE" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_USER_BACKGROUND"></A> |
| |
| <div class="jd-details api apilevel-17"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_USER_BACKGROUND |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 17</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Sent when a user switch is happening, causing the process's user to be |
| sent to the background. This is only sent to receivers registered |
| through <code><a href="../../../reference/android/content/Context.html#registerReceiver(android.content.BroadcastReceiver, android.content.IntentFilter)">Context.registerReceiver</a></code>. It is sent to the user that is going to the |
| background. This is sent as a foreground |
| broadcast, since it is part of a visible user interaction; be as quick |
| as possible when handling it. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.USER_BACKGROUND" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_USER_FOREGROUND"></A> |
| |
| <div class="jd-details api apilevel-17"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_USER_FOREGROUND |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 17</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Sent when a user switch is happening, causing the process's user to be |
| brought to the foreground. This is only sent to receivers registered |
| through <code><a href="../../../reference/android/content/Context.html#registerReceiver(android.content.BroadcastReceiver, android.content.IntentFilter)">Context.registerReceiver</a></code>. It is sent to the user that is going to the |
| foreground. This is sent as a foreground |
| broadcast, since it is part of a visible user interaction; be as quick |
| as possible when handling it. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.USER_FOREGROUND" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_USER_INITIALIZE"></A> |
| |
| <div class="jd-details api apilevel-17"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_USER_INITIALIZE |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 17</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Sent the first time a user is starting, to allow system apps to |
| perform one time initialization. (This will not be seen by third |
| party applications because a newly initialized user does not have any |
| third party applications installed for it.) This is sent early in |
| starting the user, around the time the home app is started, before |
| <code><a href="../../../reference/android/content/Intent.html#ACTION_BOOT_COMPLETED">ACTION_BOOT_COMPLETED</a></code> is sent. This is sent as a foreground |
| broadcast, since it is part of a visible user interaction; be as quick |
| as possible when handling it. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.USER_INITIALIZE" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_USER_PRESENT"></A> |
| |
| <div class="jd-details api apilevel-3"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_USER_PRESENT |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 3</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Broadcast Action: Sent when the user is present after device wakes up (e.g when the |
| keyguard is gone). |
| |
| <p class="note">This is a protected intent that can only be sent |
| by the system. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.USER_PRESENT" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_VIEW"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_VIEW |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Activity Action: Display the data to the user. This is the most common |
| action performed on data -- it is the generic action you can use on |
| a piece of data to get the most reasonable thing to occur. For example, |
| when used on a contacts entry it will view the entry; when used on a |
| mailto: URI it will bring up a compose window filled with the information |
| supplied by the URI; when used with a tel: URI it will invoke the |
| dialer. |
| <p>Input: <code><a href="../../../reference/android/content/Intent.html#getData()">getData()</a></code> is URI from which to retrieve data. |
| <p>Output: nothing. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.VIEW" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_VOICE_COMMAND"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_VOICE_COMMAND |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Activity Action: Start Voice Command. |
| <p>Input: Nothing. |
| <p>Output: Nothing. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.VOICE_COMMAND" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_WALLPAPER_CHANGED"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_WALLPAPER_CHANGED |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| <p> |
| <p class="caution"> |
| <strong>This constant was deprecated |
| in API level 16</strong>.<br/> Modern applications should use |
| <code><a href="../../../reference/android/view/WindowManager.LayoutParams.html#FLAG_SHOW_WALLPAPER">WindowManager.LayoutParams.FLAG_SHOW_WALLPAPER</a></code> to have the wallpaper |
| shown behind their UI, rather than watching for this broadcast and |
| rendering the wallpaper on their own. |
| |
| </p> |
| <div class="jd-tagdata jd-tagdescr"><p>Broadcast Action: The current system wallpaper has changed. See |
| <code><a href="../../../reference/android/app/WallpaperManager.html">WallpaperManager</a></code> for retrieving the new wallpaper. |
| This should <em>only</em> be used to determine when the wallpaper |
| has changed to show the new wallpaper to the user. You should certainly |
| never, in response to this, change the wallpaper or other attributes of |
| it such as the suggested size. That would be crazy, right? You'd cause |
| all kinds of loops, especially if other apps are doing similar things, |
| right? Of course. So please don't do this.</p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.WALLPAPER_CHANGED" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="ACTION_WEB_SEARCH"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| ACTION_WEB_SEARCH |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Activity Action: Perform a web search. |
| <p> |
| Input: <code><a href="../../../reference/android/app/SearchManager.html#QUERY">getStringExtra(SearchManager.QUERY)</a></code> is the text to search for. If it is |
| a url starts with http or https, the site will be opened. If it is plain |
| text, Google search will be applied. |
| <p> |
| Output: nothing. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.action.WEB_SEARCH" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="CATEGORY_ALTERNATIVE"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| CATEGORY_ALTERNATIVE |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Set if the activity should be considered as an alternative action to |
| the data the user is currently viewing. See also |
| <code><a href="../../../reference/android/content/Intent.html#CATEGORY_SELECTED_ALTERNATIVE">CATEGORY_SELECTED_ALTERNATIVE</a></code> for an alternative action that |
| applies to the selection in a list of items. |
| |
| <p>Supporting this category means that you would like your activity to be |
| displayed in the set of alternative things the user can do, usually as |
| part of the current activity's options menu. You will usually want to |
| include a specific label in the <intent-filter> of this action |
| describing to the user what it does. |
| |
| <p>The action of IntentFilter with this category is important in that it |
| describes the specific action the target will perform. This generally |
| should not be a generic action (such as <code><a href="../../../reference/android/content/Intent.html#ACTION_VIEW">ACTION_VIEW</a></code>, but rather |
| a specific name such as "com.android.camera.action.CROP. Only one |
| alternative of any particular action will be shown to the user, so using |
| a specific action like this makes sure that your alternative will be |
| displayed while also allowing other applications to provide their own |
| overrides of that particular action. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.category.ALTERNATIVE" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="CATEGORY_APP_BROWSER"></A> |
| |
| <div class="jd-details api apilevel-15"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| CATEGORY_APP_BROWSER |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 15</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Used with <code><a href="../../../reference/android/content/Intent.html#ACTION_MAIN">ACTION_MAIN</a></code> to launch the browser application. |
| The activity should be able to browse the Internet. |
| <p>NOTE: This should not be used as the primary key of an Intent, |
| since it will not result in the app launching with the correct |
| action and category. Instead, use this with |
| <code><a href="../../../reference/android/content/Intent.html#makeMainSelectorActivity(java.lang.String, java.lang.String)">makeMainSelectorActivity(String, String)</a></code> to generate a main |
| Intent with this category in the selector.</p> |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.category.APP_BROWSER" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="CATEGORY_APP_CALCULATOR"></A> |
| |
| <div class="jd-details api apilevel-15"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| CATEGORY_APP_CALCULATOR |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 15</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Used with <code><a href="../../../reference/android/content/Intent.html#ACTION_MAIN">ACTION_MAIN</a></code> to launch the calculator application. |
| The activity should be able to perform standard arithmetic operations. |
| <p>NOTE: This should not be used as the primary key of an Intent, |
| since it will not result in the app launching with the correct |
| action and category. Instead, use this with |
| <code><a href="../../../reference/android/content/Intent.html#makeMainSelectorActivity(java.lang.String, java.lang.String)">makeMainSelectorActivity(String, String)</a></code> to generate a main |
| Intent with this category in the selector.</p> |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.category.APP_CALCULATOR" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="CATEGORY_APP_CALENDAR"></A> |
| |
| <div class="jd-details api apilevel-15"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| CATEGORY_APP_CALENDAR |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 15</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Used with <code><a href="../../../reference/android/content/Intent.html#ACTION_MAIN">ACTION_MAIN</a></code> to launch the calendar application. |
| The activity should be able to view and manipulate calendar entries. |
| <p>NOTE: This should not be used as the primary key of an Intent, |
| since it will not result in the app launching with the correct |
| action and category. Instead, use this with |
| <code><a href="../../../reference/android/content/Intent.html#makeMainSelectorActivity(java.lang.String, java.lang.String)">makeMainSelectorActivity(String, String)</a></code> to generate a main |
| Intent with this category in the selector.</p> |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.category.APP_CALENDAR" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="CATEGORY_APP_CONTACTS"></A> |
| |
| <div class="jd-details api apilevel-15"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| CATEGORY_APP_CONTACTS |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 15</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Used with <code><a href="../../../reference/android/content/Intent.html#ACTION_MAIN">ACTION_MAIN</a></code> to launch the contacts application. |
| The activity should be able to view and manipulate address book entries. |
| <p>NOTE: This should not be used as the primary key of an Intent, |
| since it will not result in the app launching with the correct |
| action and category. Instead, use this with |
| <code><a href="../../../reference/android/content/Intent.html#makeMainSelectorActivity(java.lang.String, java.lang.String)">makeMainSelectorActivity(String, String)</a></code> to generate a main |
| Intent with this category in the selector.</p> |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.category.APP_CONTACTS" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="CATEGORY_APP_EMAIL"></A> |
| |
| <div class="jd-details api apilevel-15"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| CATEGORY_APP_EMAIL |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 15</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Used with <code><a href="../../../reference/android/content/Intent.html#ACTION_MAIN">ACTION_MAIN</a></code> to launch the email application. |
| The activity should be able to send and receive email. |
| <p>NOTE: This should not be used as the primary key of an Intent, |
| since it will not result in the app launching with the correct |
| action and category. Instead, use this with |
| <code><a href="../../../reference/android/content/Intent.html#makeMainSelectorActivity(java.lang.String, java.lang.String)">makeMainSelectorActivity(String, String)</a></code> to generate a main |
| Intent with this category in the selector.</p> |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.category.APP_EMAIL" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="CATEGORY_APP_GALLERY"></A> |
| |
| <div class="jd-details api apilevel-15"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| CATEGORY_APP_GALLERY |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 15</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Used with <code><a href="../../../reference/android/content/Intent.html#ACTION_MAIN">ACTION_MAIN</a></code> to launch the gallery application. |
| The activity should be able to view and manipulate image and video files |
| stored on the device. |
| <p>NOTE: This should not be used as the primary key of an Intent, |
| since it will not result in the app launching with the correct |
| action and category. Instead, use this with |
| <code><a href="../../../reference/android/content/Intent.html#makeMainSelectorActivity(java.lang.String, java.lang.String)">makeMainSelectorActivity(String, String)</a></code> to generate a main |
| Intent with this category in the selector.</p> |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.category.APP_GALLERY" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="CATEGORY_APP_MAPS"></A> |
| |
| <div class="jd-details api apilevel-15"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| CATEGORY_APP_MAPS |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 15</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Used with <code><a href="../../../reference/android/content/Intent.html#ACTION_MAIN">ACTION_MAIN</a></code> to launch the maps application. |
| The activity should be able to show the user's current location and surroundings. |
| <p>NOTE: This should not be used as the primary key of an Intent, |
| since it will not result in the app launching with the correct |
| action and category. Instead, use this with |
| <code><a href="../../../reference/android/content/Intent.html#makeMainSelectorActivity(java.lang.String, java.lang.String)">makeMainSelectorActivity(String, String)</a></code> to generate a main |
| Intent with this category in the selector.</p> |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.category.APP_MAPS" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="CATEGORY_APP_MARKET"></A> |
| |
| <div class="jd-details api apilevel-11"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| CATEGORY_APP_MARKET |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 11</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>This activity allows the user to browse and download new applications. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.category.APP_MARKET" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="CATEGORY_APP_MESSAGING"></A> |
| |
| <div class="jd-details api apilevel-15"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| CATEGORY_APP_MESSAGING |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 15</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Used with <code><a href="../../../reference/android/content/Intent.html#ACTION_MAIN">ACTION_MAIN</a></code> to launch the messaging application. |
| The activity should be able to send and receive text messages. |
| <p>NOTE: This should not be used as the primary key of an Intent, |
| since it will not result in the app launching with the correct |
| action and category. Instead, use this with |
| <code><a href="../../../reference/android/content/Intent.html#makeMainSelectorActivity(java.lang.String, java.lang.String)">makeMainSelectorActivity(String, String)</a></code> to generate a main |
| Intent with this category in the selector.</p> |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.category.APP_MESSAGING" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="CATEGORY_APP_MUSIC"></A> |
| |
| <div class="jd-details api apilevel-15"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| CATEGORY_APP_MUSIC |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 15</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Used with <code><a href="../../../reference/android/content/Intent.html#ACTION_MAIN">ACTION_MAIN</a></code> to launch the music application. |
| The activity should be able to play, browse, or manipulate music files |
| stored on the device. |
| <p>NOTE: This should not be used as the primary key of an Intent, |
| since it will not result in the app launching with the correct |
| action and category. Instead, use this with |
| <code><a href="../../../reference/android/content/Intent.html#makeMainSelectorActivity(java.lang.String, java.lang.String)">makeMainSelectorActivity(String, String)</a></code> to generate a main |
| Intent with this category in the selector.</p> |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.category.APP_MUSIC" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="CATEGORY_BROWSABLE"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| CATEGORY_BROWSABLE |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Activities that can be safely invoked from a browser must support this |
| category. For example, if the user is viewing a web page or an e-mail |
| and clicks on a link in the text, the Intent generated execute that |
| link will require the BROWSABLE category, so that only activities |
| supporting this category will be considered as possible actions. By |
| supporting this category, you are promising that there is nothing |
| damaging (without user intervention) that can happen by invoking any |
| matching Intent. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.category.BROWSABLE" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="CATEGORY_CAR_DOCK"></A> |
| |
| <div class="jd-details api apilevel-5"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| CATEGORY_CAR_DOCK |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 5</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>An activity to run when device is inserted into a car dock. |
| Used with <code><a href="../../../reference/android/content/Intent.html#ACTION_MAIN">ACTION_MAIN</a></code> to launch an activity. For more |
| information, see <code><a href="../../../reference/android/app/UiModeManager.html">UiModeManager</a></code>. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.category.CAR_DOCK" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="CATEGORY_CAR_MODE"></A> |
| |
| <div class="jd-details api apilevel-8"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| CATEGORY_CAR_MODE |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 8</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Used to indicate that the activity can be used in a car environment. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.category.CAR_MODE" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="CATEGORY_DEFAULT"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| CATEGORY_DEFAULT |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Set if the activity should be an option for the default action |
| (center press) to perform on a piece of data. Setting this will |
| hide from the user any activities without it set when performing an |
| action on some data. Note that this is normal -not- set in the |
| Intent when initiating an action -- it is for use in intent filters |
| specified in packages. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.category.DEFAULT" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="CATEGORY_DESK_DOCK"></A> |
| |
| <div class="jd-details api apilevel-5"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| CATEGORY_DESK_DOCK |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 5</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>An activity to run when device is inserted into a car dock. |
| Used with <code><a href="../../../reference/android/content/Intent.html#ACTION_MAIN">ACTION_MAIN</a></code> to launch an activity. For more |
| information, see <code><a href="../../../reference/android/app/UiModeManager.html">UiModeManager</a></code>. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.category.DESK_DOCK" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="CATEGORY_DEVELOPMENT_PREFERENCE"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| CATEGORY_DEVELOPMENT_PREFERENCE |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>This activity is a development preference panel. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.category.DEVELOPMENT_PREFERENCE" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="CATEGORY_EMBED"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| CATEGORY_EMBED |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Capable of running inside a parent activity container. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.category.EMBED" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="CATEGORY_FRAMEWORK_INSTRUMENTATION_TEST"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| CATEGORY_FRAMEWORK_INSTRUMENTATION_TEST |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>To be used as code under test for framework instrumentation tests. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.category.FRAMEWORK_INSTRUMENTATION_TEST" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="CATEGORY_HE_DESK_DOCK"></A> |
| |
| <div class="jd-details api apilevel-11"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| CATEGORY_HE_DESK_DOCK |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 11</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>An activity to run when device is inserted into a digital (high end) dock. |
| Used with <code><a href="../../../reference/android/content/Intent.html#ACTION_MAIN">ACTION_MAIN</a></code> to launch an activity. For more |
| information, see <code><a href="../../../reference/android/app/UiModeManager.html">UiModeManager</a></code>. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.category.HE_DESK_DOCK" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="CATEGORY_HOME"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| CATEGORY_HOME |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>This is the home activity, that is the first activity that is displayed |
| when the device boots. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.category.HOME" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="CATEGORY_INFO"></A> |
| |
| <div class="jd-details api apilevel-3"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| CATEGORY_INFO |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 3</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Provides information about the package it is in; typically used if |
| a package does not contain a <code><a href="../../../reference/android/content/Intent.html#CATEGORY_LAUNCHER">CATEGORY_LAUNCHER</a></code> to provide |
| a front-door to the user without having to be shown in the all apps list. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.category.INFO" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="CATEGORY_LAUNCHER"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| CATEGORY_LAUNCHER |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Should be displayed in the top-level launcher. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.category.LAUNCHER" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="CATEGORY_LE_DESK_DOCK"></A> |
| |
| <div class="jd-details api apilevel-11"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| CATEGORY_LE_DESK_DOCK |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 11</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>An activity to run when device is inserted into a analog (low end) dock. |
| Used with <code><a href="../../../reference/android/content/Intent.html#ACTION_MAIN">ACTION_MAIN</a></code> to launch an activity. For more |
| information, see <code><a href="../../../reference/android/app/UiModeManager.html">UiModeManager</a></code>. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.category.LE_DESK_DOCK" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="CATEGORY_MONKEY"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| CATEGORY_MONKEY |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>This activity may be exercised by the monkey or other automated test tools. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.category.MONKEY" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="CATEGORY_OPENABLE"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| CATEGORY_OPENABLE |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Used to indicate that a GET_CONTENT intent only wants URIs that can be opened with |
| ContentResolver.openInputStream. Openable URIs must support the columns in OpenableColumns |
| when queried, though it is allowable for those columns to be blank. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.category.OPENABLE" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="CATEGORY_PREFERENCE"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| CATEGORY_PREFERENCE |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>This activity is a preference panel. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.category.PREFERENCE" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="CATEGORY_SAMPLE_CODE"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| CATEGORY_SAMPLE_CODE |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>To be used as a sample code example (not part of the normal user |
| experience). |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.category.SAMPLE_CODE" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="CATEGORY_SELECTED_ALTERNATIVE"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| CATEGORY_SELECTED_ALTERNATIVE |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Set if the activity should be considered as an alternative selection |
| action to the data the user has currently selected. This is like |
| <code><a href="../../../reference/android/content/Intent.html#CATEGORY_ALTERNATIVE">CATEGORY_ALTERNATIVE</a></code>, but is used in activities showing a list |
| of items from which the user can select, giving them alternatives to the |
| default action that will be performed on it. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.category.SELECTED_ALTERNATIVE" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="CATEGORY_TAB"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| CATEGORY_TAB |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Intended to be used as a tab inside of a containing TabActivity. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.category.TAB" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="CATEGORY_TEST"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| CATEGORY_TEST |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>To be used as a test (not part of the normal user experience). |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.category.TEST" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="CATEGORY_UNIT_TEST"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| CATEGORY_UNIT_TEST |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>To be used as a unit test (run through the Test Harness). |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.category.UNIT_TEST" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="EXTRA_ALARM_COUNT"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| EXTRA_ALARM_COUNT |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Used as an int extra field in <code><a href="../../../reference/android/app/AlarmManager.html">AlarmManager</a></code> intents |
| to tell the application being invoked how many pending alarms are being |
| delievered with the intent. For one-shot alarms this will always be 1. |
| For recurring alarms, this might be greater than 1 if the device was |
| asleep or powered off at the time an earlier alarm would have been |
| delivered. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.extra.ALARM_COUNT" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="EXTRA_ALLOW_REPLACE"></A> |
| |
| <div class="jd-details api apilevel-14"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| EXTRA_ALLOW_REPLACE |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 14</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| <p> |
| <p class="caution"> |
| <strong>This constant was deprecated |
| in API level 16</strong>.<br/> As of <code><a href="../../../reference/android/os/Build.VERSION_CODES.html#JELLY_BEAN">JELLY_BEAN</a></code>, Android |
| will no longer show an interstitial message about updating existing |
| applications so this is no longer needed. |
| |
| </p> |
| <div class="jd-tagdata jd-tagdescr"><p>Used as a boolean extra field with <code><a href="../../../reference/android/content/Intent.html#ACTION_INSTALL_PACKAGE">ACTION_INSTALL_PACKAGE</a></code> to install a |
| package. Tells the installer UI to skip the confirmation with the user |
| if the .apk is replacing an existing one.</p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.extra.ALLOW_REPLACE" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="EXTRA_BCC"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| EXTRA_BCC |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>A String[] holding e-mail addresses that should be blind carbon copied. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.extra.BCC" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="EXTRA_BUG_REPORT"></A> |
| |
| <div class="jd-details api apilevel-14"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| EXTRA_BUG_REPORT |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 14</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Used as a parcelable extra field in <code><a href="../../../reference/android/content/Intent.html#ACTION_APP_ERROR">ACTION_APP_ERROR</a></code>, containing |
| the bug report. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.extra.BUG_REPORT" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="EXTRA_CC"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| EXTRA_CC |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>A String[] holding e-mail addresses that should be carbon copied. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.extra.CC" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="EXTRA_CHANGED_COMPONENT_NAME"></A> |
| |
| <div class="jd-details api apilevel-5"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| EXTRA_CHANGED_COMPONENT_NAME |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 5</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| <p> |
| <p class="caution"> |
| <strong>This constant was deprecated |
| in API level 7</strong>.<br/> See <code><a href="../../../reference/android/content/Intent.html#EXTRA_CHANGED_COMPONENT_NAME_LIST">EXTRA_CHANGED_COMPONENT_NAME_LIST</a></code>; this field |
| will contain only the first name in the list. |
| |
| </p> |
| <div class="jd-tagdata jd-tagdescr"><p></p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.extra.changed_component_name" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="EXTRA_CHANGED_COMPONENT_NAME_LIST"></A> |
| |
| <div class="jd-details api apilevel-7"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| EXTRA_CHANGED_COMPONENT_NAME_LIST |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 7</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>This field is part of <code><a href="../../../reference/android/content/Intent.html#ACTION_PACKAGE_CHANGED">ACTION_PACKAGE_CHANGED</a></code>, |
| and contains a string array of all of the components that have changed. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.extra.changed_component_name_list" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="EXTRA_CHANGED_PACKAGE_LIST"></A> |
| |
| <div class="jd-details api apilevel-8"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| EXTRA_CHANGED_PACKAGE_LIST |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 8</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>This field is part of |
| <code><a href="../../../reference/android/content/Intent.html#ACTION_EXTERNAL_APPLICATIONS_AVAILABLE">ACTION_EXTERNAL_APPLICATIONS_AVAILABLE</a></code>, |
| <code><a href="../../../reference/android/content/Intent.html#ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE">ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE</a></code> |
| and contains a string array of all of the components that have changed. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.extra.changed_package_list" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="EXTRA_CHANGED_UID_LIST"></A> |
| |
| <div class="jd-details api apilevel-8"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| EXTRA_CHANGED_UID_LIST |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 8</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>This field is part of |
| <code><a href="../../../reference/android/content/Intent.html#ACTION_EXTERNAL_APPLICATIONS_AVAILABLE">ACTION_EXTERNAL_APPLICATIONS_AVAILABLE</a></code>, |
| <code><a href="../../../reference/android/content/Intent.html#ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE">ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE</a></code> |
| and contains an integer array of uids of all of the components |
| that have changed. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.extra.changed_uid_list" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="EXTRA_DATA_REMOVED"></A> |
| |
| <div class="jd-details api apilevel-3"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| EXTRA_DATA_REMOVED |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 3</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Used as a boolean extra field in <code><a href="../../../reference/android/content/Intent.html#ACTION_PACKAGE_REMOVED">ACTION_PACKAGE_REMOVED</a></code> |
| intents to indicate whether this represents a full uninstall (removing |
| both the code and its data) or a partial uninstall (leaving its data, |
| implying that this is an update). |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.extra.DATA_REMOVED" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="EXTRA_DOCK_STATE"></A> |
| |
| <div class="jd-details api apilevel-5"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| EXTRA_DOCK_STATE |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 5</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Used as an int extra field in <code><a href="../../../reference/android/content/Intent.html#ACTION_DOCK_EVENT">ACTION_DOCK_EVENT</a></code> |
| intents to request the dock state. Possible values are |
| <code><a href="../../../reference/android/content/Intent.html#EXTRA_DOCK_STATE_UNDOCKED">EXTRA_DOCK_STATE_UNDOCKED</a></code>, |
| <code><a href="../../../reference/android/content/Intent.html#EXTRA_DOCK_STATE_DESK">EXTRA_DOCK_STATE_DESK</a></code>, or |
| <code><a href="../../../reference/android/content/Intent.html#EXTRA_DOCK_STATE_CAR">EXTRA_DOCK_STATE_CAR</a></code>, or |
| <code><a href="../../../reference/android/content/Intent.html#EXTRA_DOCK_STATE_LE_DESK">EXTRA_DOCK_STATE_LE_DESK</a></code>, or |
| <code><a href="../../../reference/android/content/Intent.html#EXTRA_DOCK_STATE_HE_DESK">EXTRA_DOCK_STATE_HE_DESK</a></code>. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.extra.DOCK_STATE" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="EXTRA_DOCK_STATE_CAR"></A> |
| |
| <div class="jd-details api apilevel-5"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| int |
| </span> |
| EXTRA_DOCK_STATE_CAR |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 5</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Used as an int value for <code><a href="../../../reference/android/content/Intent.html#EXTRA_DOCK_STATE">EXTRA_DOCK_STATE</a></code> |
| to represent that the phone is in a car dock. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| 2 |
| (0x00000002) |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="EXTRA_DOCK_STATE_DESK"></A> |
| |
| <div class="jd-details api apilevel-5"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| int |
| </span> |
| EXTRA_DOCK_STATE_DESK |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 5</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Used as an int value for <code><a href="../../../reference/android/content/Intent.html#EXTRA_DOCK_STATE">EXTRA_DOCK_STATE</a></code> |
| to represent that the phone is in a desk dock. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| 1 |
| (0x00000001) |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="EXTRA_DOCK_STATE_HE_DESK"></A> |
| |
| <div class="jd-details api apilevel-11"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| int |
| </span> |
| EXTRA_DOCK_STATE_HE_DESK |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 11</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Used as an int value for <code><a href="../../../reference/android/content/Intent.html#EXTRA_DOCK_STATE">EXTRA_DOCK_STATE</a></code> |
| to represent that the phone is in a digital (high end) dock. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| 4 |
| (0x00000004) |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="EXTRA_DOCK_STATE_LE_DESK"></A> |
| |
| <div class="jd-details api apilevel-11"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| int |
| </span> |
| EXTRA_DOCK_STATE_LE_DESK |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 11</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Used as an int value for <code><a href="../../../reference/android/content/Intent.html#EXTRA_DOCK_STATE">EXTRA_DOCK_STATE</a></code> |
| to represent that the phone is in a analog (low end) dock. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| 3 |
| (0x00000003) |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="EXTRA_DOCK_STATE_UNDOCKED"></A> |
| |
| <div class="jd-details api apilevel-5"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| int |
| </span> |
| EXTRA_DOCK_STATE_UNDOCKED |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 5</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Used as an int value for <code><a href="../../../reference/android/content/Intent.html#EXTRA_DOCK_STATE">EXTRA_DOCK_STATE</a></code> |
| to represent that the phone is not in any dock. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| 0 |
| (0x00000000) |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="EXTRA_DONT_KILL_APP"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| EXTRA_DONT_KILL_APP |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Used as a boolean extra field in <code><a href="../../../reference/android/content/Intent.html#ACTION_PACKAGE_REMOVED">ACTION_PACKAGE_REMOVED</a></code> or |
| <code><a href="../../../reference/android/content/Intent.html#ACTION_PACKAGE_CHANGED">ACTION_PACKAGE_CHANGED</a></code> intents to override the default action |
| of restarting the application. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.extra.DONT_KILL_APP" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="EXTRA_EMAIL"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| EXTRA_EMAIL |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>A String[] holding e-mail addresses that should be delivered to. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.extra.EMAIL" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="EXTRA_HTML_TEXT"></A> |
| |
| <div class="jd-details api apilevel-16"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| EXTRA_HTML_TEXT |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 16</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>A constant String that is associated with the Intent, used with |
| <code><a href="../../../reference/android/content/Intent.html#ACTION_SEND">ACTION_SEND</a></code> to supply an alternative to <code><a href="../../../reference/android/content/Intent.html#EXTRA_TEXT">EXTRA_TEXT</a></code> |
| as HTML formatted text. Note that you <em>must</em> also supply |
| <code><a href="../../../reference/android/content/Intent.html#EXTRA_TEXT">EXTRA_TEXT</a></code>. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.extra.HTML_TEXT" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="EXTRA_INITIAL_INTENTS"></A> |
| |
| <div class="jd-details api apilevel-5"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| EXTRA_INITIAL_INTENTS |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 5</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>A Parcelable[] of <code><a href="../../../reference/android/content/Intent.html">Intent</a></code> or |
| <code><a href="../../../reference/android/content/pm/LabeledIntent.html">LabeledIntent</a></code> objects as set with |
| <code><a href="../../../reference/android/content/Intent.html#putExtra(java.lang.String, android.os.Parcelable[])">putExtra(String, Parcelable[])</a></code> of additional activities to place |
| a the front of the list of choices, when shown to the user with a |
| <code><a href="../../../reference/android/content/Intent.html#ACTION_CHOOSER">ACTION_CHOOSER</a></code>. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.extra.INITIAL_INTENTS" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="EXTRA_INSTALLER_PACKAGE_NAME"></A> |
| |
| <div class="jd-details api apilevel-14"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| EXTRA_INSTALLER_PACKAGE_NAME |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 14</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Used as a string extra field with <code><a href="../../../reference/android/content/Intent.html#ACTION_INSTALL_PACKAGE">ACTION_INSTALL_PACKAGE</a></code> to install a |
| package. Specifies the installer package name; this package will receive the |
| <code><a href="../../../reference/android/content/Intent.html#ACTION_APP_ERROR">ACTION_APP_ERROR</a></code> intent. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.extra.INSTALLER_PACKAGE_NAME" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="EXTRA_INTENT"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| EXTRA_INTENT |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>An Intent describing the choices you would like shown with |
| <code><a href="../../../reference/android/content/Intent.html#ACTION_PICK_ACTIVITY">ACTION_PICK_ACTIVITY</a></code>. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.extra.INTENT" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="EXTRA_KEY_EVENT"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| EXTRA_KEY_EVENT |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>A <code><a href="../../../reference/android/view/KeyEvent.html">KeyEvent</a></code> object containing the event that |
| triggered the creation of the Intent it is in. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.extra.KEY_EVENT" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="EXTRA_LOCAL_ONLY"></A> |
| |
| <div class="jd-details api apilevel-11"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| EXTRA_LOCAL_ONLY |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 11</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Used to indicate that a <code><a href="../../../reference/android/content/Intent.html#ACTION_GET_CONTENT">ACTION_GET_CONTENT</a></code> intent should only return |
| data that is on the local device. This is a boolean extra; the default |
| is false. If true, an implementation of ACTION_GET_CONTENT should only allow |
| the user to select media that is already on the device, not requiring it |
| be downloaded from a remote service when opened. Another way to look |
| at it is that such content should generally have a "_data" column to the |
| path of the content on local external storage. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.extra.LOCAL_ONLY" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="EXTRA_NOT_UNKNOWN_SOURCE"></A> |
| |
| <div class="jd-details api apilevel-14"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| EXTRA_NOT_UNKNOWN_SOURCE |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 14</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Used as a boolean extra field with <code><a href="../../../reference/android/content/Intent.html#ACTION_INSTALL_PACKAGE">ACTION_INSTALL_PACKAGE</a></code> to install a |
| package. Specifies that the application being installed should not be |
| treated as coming from an unknown source, but as coming from the app |
| invoking the Intent. For this to work you must start the installer with |
| startActivityForResult(). |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.extra.NOT_UNKNOWN_SOURCE" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="EXTRA_ORIGINATING_URI"></A> |
| |
| <div class="jd-details api apilevel-17"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| EXTRA_ORIGINATING_URI |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 17</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Used as a URI extra field with <code><a href="../../../reference/android/content/Intent.html#ACTION_INSTALL_PACKAGE">ACTION_INSTALL_PACKAGE</a></code> and |
| <code><a href="../../../reference/android/content/Intent.html#ACTION_VIEW">ACTION_VIEW</a></code> to indicate the URI from which the local APK in the Intent |
| data field originated from. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.extra.ORIGINATING_URI" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="EXTRA_PHONE_NUMBER"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| EXTRA_PHONE_NUMBER |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>A String holding the phone number originally entered in |
| <code><a href="../../../reference/android/content/Intent.html#ACTION_NEW_OUTGOING_CALL">ACTION_NEW_OUTGOING_CALL</a></code>, or the actual |
| number to call in a <code><a href="../../../reference/android/content/Intent.html#ACTION_CALL">ACTION_CALL</a></code>. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.extra.PHONE_NUMBER" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="EXTRA_REFERRER"></A> |
| |
| <div class="jd-details api apilevel-17"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| EXTRA_REFERRER |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 17</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Used as a URI extra field with <code><a href="../../../reference/android/content/Intent.html#ACTION_INSTALL_PACKAGE">ACTION_INSTALL_PACKAGE</a></code> and |
| <code><a href="../../../reference/android/content/Intent.html#ACTION_VIEW">ACTION_VIEW</a></code> to indicate the HTTP referrer URI associated with the Intent |
| data field or <code><a href="../../../reference/android/content/Intent.html#EXTRA_ORIGINATING_URI">EXTRA_ORIGINATING_URI</a></code>. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.extra.REFERRER" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="EXTRA_REMOTE_INTENT_TOKEN"></A> |
| |
| <div class="jd-details api apilevel-5"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| EXTRA_REMOTE_INTENT_TOKEN |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 5</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Used in the extra field in the remote intent. It's astring token passed with the |
| remote intent. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.extra.remote_intent_token" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="EXTRA_REPLACING"></A> |
| |
| <div class="jd-details api apilevel-3"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| EXTRA_REPLACING |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 3</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Used as a boolean extra field in <code><a href="../../../reference/android/content/Intent.html#ACTION_PACKAGE_REMOVED">ACTION_PACKAGE_REMOVED</a></code> |
| intents to indicate that this is a replacement of the package, so this |
| broadcast will immediately be followed by an add broadcast for a |
| different version of the same package. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.extra.REPLACING" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="EXTRA_RETURN_RESULT"></A> |
| |
| <div class="jd-details api apilevel-14"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| EXTRA_RETURN_RESULT |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 14</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Used as a boolean extra field with <code><a href="../../../reference/android/content/Intent.html#ACTION_INSTALL_PACKAGE">ACTION_INSTALL_PACKAGE</a></code> or |
| <code><a href="../../../reference/android/content/Intent.html#ACTION_UNINSTALL_PACKAGE">ACTION_UNINSTALL_PACKAGE</a></code>. Specifies that the installer UI should |
| return to the application the result code of the install/uninstall. The returned result |
| code will be <code><a href="../../../reference/android/app/Activity.html#RESULT_OK">RESULT_OK</a></code> on success or |
| <code><a href="../../../reference/android/app/Activity.html#RESULT_FIRST_USER">RESULT_FIRST_USER</a></code> on failure. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.extra.RETURN_RESULT" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="EXTRA_SHORTCUT_ICON"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| EXTRA_SHORTCUT_ICON |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>The name of the extra used to define the icon, as a Bitmap, of a shortcut.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#ACTION_CREATE_SHORTCUT">ACTION_CREATE_SHORTCUT</a></code></li> |
| </ul> |
| </div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.extra.shortcut.ICON" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="EXTRA_SHORTCUT_ICON_RESOURCE"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| EXTRA_SHORTCUT_ICON_RESOURCE |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>The name of the extra used to define the icon, as a ShortcutIconResource, of a shortcut.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#ACTION_CREATE_SHORTCUT">ACTION_CREATE_SHORTCUT</a></code></li><li><code><a href="../../../reference/android/content/Intent.ShortcutIconResource.html">Intent.ShortcutIconResource</a></code></li> |
| </ul> |
| </div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.extra.shortcut.ICON_RESOURCE" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="EXTRA_SHORTCUT_INTENT"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| EXTRA_SHORTCUT_INTENT |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>The name of the extra used to define the Intent of a shortcut.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#ACTION_CREATE_SHORTCUT">ACTION_CREATE_SHORTCUT</a></code></li> |
| </ul> |
| </div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.extra.shortcut.INTENT" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="EXTRA_SHORTCUT_NAME"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| EXTRA_SHORTCUT_NAME |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>The name of the extra used to define the name of a shortcut.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#ACTION_CREATE_SHORTCUT">ACTION_CREATE_SHORTCUT</a></code></li> |
| </ul> |
| </div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.extra.shortcut.NAME" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="EXTRA_STREAM"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| EXTRA_STREAM |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>A content: URI holding a stream of data associated with the Intent, |
| used with <code><a href="../../../reference/android/content/Intent.html#ACTION_SEND">ACTION_SEND</a></code> to supply the data being sent. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.extra.STREAM" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="EXTRA_SUBJECT"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| EXTRA_SUBJECT |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>A constant string holding the desired subject line of a message. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.extra.SUBJECT" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="EXTRA_TEMPLATE"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| EXTRA_TEMPLATE |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>The initial data to place in a newly created record. Use with |
| <code><a href="../../../reference/android/content/Intent.html#ACTION_INSERT">ACTION_INSERT</a></code>. The data here is a Map containing the same |
| fields as would be given to the underlying ContentProvider.insert() |
| call. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.extra.TEMPLATE" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="EXTRA_TEXT"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| EXTRA_TEXT |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>A constant CharSequence that is associated with the Intent, used with |
| <code><a href="../../../reference/android/content/Intent.html#ACTION_SEND">ACTION_SEND</a></code> to supply the literal data to be sent. Note that |
| this may be a styled CharSequence, so you must use |
| <code><a href="../../../reference/android/os/Bundle.html#getCharSequence(java.lang.String)">Bundle.getCharSequence()</a></code> to |
| retrieve it. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.extra.TEXT" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="EXTRA_TITLE"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| EXTRA_TITLE |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>A CharSequence dialog title to provide to the user when used with a |
| <code><a href="../../../reference/android/content/Intent.html#ACTION_CHOOSER">ACTION_CHOOSER</a></code>. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.extra.TITLE" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="EXTRA_UID"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| EXTRA_UID |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Used as an int extra field in <code><a href="../../../reference/android/content/Intent.html#ACTION_UID_REMOVED">ACTION_UID_REMOVED</a></code> |
| intents to supply the uid the package had been assigned. Also an optional |
| extra in <code><a href="../../../reference/android/content/Intent.html#ACTION_PACKAGE_REMOVED">ACTION_PACKAGE_REMOVED</a></code> or |
| <code><a href="../../../reference/android/content/Intent.html#ACTION_PACKAGE_CHANGED">ACTION_PACKAGE_CHANGED</a></code> for the same |
| purpose. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.intent.extra.UID" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="FILL_IN_ACTION"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| int |
| </span> |
| FILL_IN_ACTION |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Use with <code><a href="../../../reference/android/content/Intent.html#fillIn(android.content.Intent, int)">fillIn(Intent, int)</a></code> to allow the current action value to be |
| overwritten, even if it is already set. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| 1 |
| (0x00000001) |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="FILL_IN_CATEGORIES"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| int |
| </span> |
| FILL_IN_CATEGORIES |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Use with <code><a href="../../../reference/android/content/Intent.html#fillIn(android.content.Intent, int)">fillIn(Intent, int)</a></code> to allow the current categories to be |
| overwritten, even if they are already set. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| 4 |
| (0x00000004) |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="FILL_IN_CLIP_DATA"></A> |
| |
| <div class="jd-details api apilevel-16"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| int |
| </span> |
| FILL_IN_CLIP_DATA |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 16</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Use with <code><a href="../../../reference/android/content/Intent.html#fillIn(android.content.Intent, int)">fillIn(Intent, int)</a></code> to allow the current ClipData to be |
| overwritten, even if it is already set. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| 128 |
| (0x00000080) |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="FILL_IN_COMPONENT"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| int |
| </span> |
| FILL_IN_COMPONENT |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Use with <code><a href="../../../reference/android/content/Intent.html#fillIn(android.content.Intent, int)">fillIn(Intent, int)</a></code> to allow the current component value to be |
| overwritten, even if it is already set. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| 8 |
| (0x00000008) |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="FILL_IN_DATA"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| int |
| </span> |
| FILL_IN_DATA |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Use with <code><a href="../../../reference/android/content/Intent.html#fillIn(android.content.Intent, int)">fillIn(Intent, int)</a></code> to allow the current data or type value |
| overwritten, even if it is already set. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| 2 |
| (0x00000002) |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="FILL_IN_PACKAGE"></A> |
| |
| <div class="jd-details api apilevel-4"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| int |
| </span> |
| FILL_IN_PACKAGE |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 4</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Use with <code><a href="../../../reference/android/content/Intent.html#fillIn(android.content.Intent, int)">fillIn(Intent, int)</a></code> to allow the current package value to be |
| overwritten, even if it is already set. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| 16 |
| (0x00000010) |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="FILL_IN_SELECTOR"></A> |
| |
| <div class="jd-details api apilevel-15"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| int |
| </span> |
| FILL_IN_SELECTOR |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 15</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Use with <code><a href="../../../reference/android/content/Intent.html#fillIn(android.content.Intent, int)">fillIn(Intent, int)</a></code> to allow the current selector to be |
| overwritten, even if it is already set. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| 64 |
| (0x00000040) |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="FILL_IN_SOURCE_BOUNDS"></A> |
| |
| <div class="jd-details api apilevel-7"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| int |
| </span> |
| FILL_IN_SOURCE_BOUNDS |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 7</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Use with <code><a href="../../../reference/android/content/Intent.html#fillIn(android.content.Intent, int)">fillIn(Intent, int)</a></code> to allow the current bounds rectangle to be |
| overwritten, even if it is already set. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| 32 |
| (0x00000020) |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="FLAG_ACTIVITY_BROUGHT_TO_FRONT"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| int |
| </span> |
| FLAG_ACTIVITY_BROUGHT_TO_FRONT |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>This flag is not normally set by application code, but set for you by |
| the system as described in the |
| <code><a href="../../../reference/android/R.styleable.html#AndroidManifestActivity_launchMode">launchMode</a></code> documentation for the singleTask mode. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| 4194304 |
| (0x00400000) |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="FLAG_ACTIVITY_CLEAR_TASK"></A> |
| |
| <div class="jd-details api apilevel-11"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| int |
| </span> |
| FLAG_ACTIVITY_CLEAR_TASK |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 11</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>If set in an Intent passed to <code><a href="../../../reference/android/content/Context.html#startActivity(android.content.Intent)">Context.startActivity()</a></code>, |
| this flag will cause any existing task that would be associated with the |
| activity to be cleared before the activity is started. That is, the activity |
| becomes the new root of an otherwise empty task, and any old activities |
| are finished. This can only be used in conjunction with <code><a href="../../../reference/android/content/Intent.html#FLAG_ACTIVITY_NEW_TASK">FLAG_ACTIVITY_NEW_TASK</a></code>. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| 32768 |
| (0x00008000) |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="FLAG_ACTIVITY_CLEAR_TOP"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| int |
| </span> |
| FLAG_ACTIVITY_CLEAR_TOP |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>If set, and the activity being launched is already running in the |
| current task, then instead of launching a new instance of that activity, |
| all of the other activities on top of it will be closed and this Intent |
| will be delivered to the (now on top) old activity as a new Intent. |
| |
| <p>For example, consider a task consisting of the activities: A, B, C, D. |
| If D calls startActivity() with an Intent that resolves to the component |
| of activity B, then C and D will be finished and B receive the given |
| Intent, resulting in the stack now being: A, B. |
| |
| <p>The currently running instance of activity B in the above example will |
| either receive the new intent you are starting here in its |
| onNewIntent() method, or be itself finished and restarted with the |
| new intent. If it has declared its launch mode to be "multiple" (the |
| default) and you have not set <code><a href="../../../reference/android/content/Intent.html#FLAG_ACTIVITY_SINGLE_TOP">FLAG_ACTIVITY_SINGLE_TOP</a></code> in |
| the same intent, then it will be finished and re-created; for all other |
| launch modes or if <code><a href="../../../reference/android/content/Intent.html#FLAG_ACTIVITY_SINGLE_TOP">FLAG_ACTIVITY_SINGLE_TOP</a></code> is set then this |
| Intent will be delivered to the current instance's onNewIntent(). |
| |
| <p>This launch mode can also be used to good effect in conjunction with |
| <code><a href="../../../reference/android/content/Intent.html#FLAG_ACTIVITY_NEW_TASK">FLAG_ACTIVITY_NEW_TASK</a></code>: if used to start the root activity |
| of a task, it will bring any currently running instance of that task |
| to the foreground, and then clear it to its root state. This is |
| especially useful, for example, when launching an activity from the |
| notification manager. |
| |
| <p>See |
| <a href="../../../guide/topics/fundamentals/tasks-and-back-stack.html">Tasks and Back |
| Stack</a> for more information about tasks. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| 67108864 |
| (0x04000000) |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET"></A> |
| |
| <div class="jd-details api apilevel-3"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| int |
| </span> |
| FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 3</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>If set, this marks a point in the task's activity stack that should |
| be cleared when the task is reset. That is, the next time the task |
| is brought to the foreground with |
| <code><a href="../../../reference/android/content/Intent.html#FLAG_ACTIVITY_RESET_TASK_IF_NEEDED">FLAG_ACTIVITY_RESET_TASK_IF_NEEDED</a></code> (typically as a result of |
| the user re-launching it from home), this activity and all on top of |
| it will be finished so that the user does not return to them, but |
| instead returns to whatever activity preceeded it. |
| |
| <p>This is useful for cases where you have a logical break in your |
| application. For example, an e-mail application may have a command |
| to view an attachment, which launches an image view activity to |
| display it. This activity should be part of the e-mail application's |
| task, since it is a part of the task the user is involved in. However, |
| if the user leaves that task, and later selects the e-mail app from |
| home, we may like them to return to the conversation they were |
| viewing, not the picture attachment, since that is confusing. By |
| setting this flag when launching the image viewer, that viewer and |
| any activities it starts will be removed the next time the user returns |
| to mail. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| 524288 |
| (0x00080000) |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| int |
| </span> |
| FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>If set, the new activity is not kept in the list of recently launched |
| activities. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| 8388608 |
| (0x00800000) |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="FLAG_ACTIVITY_FORWARD_RESULT"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| int |
| </span> |
| FLAG_ACTIVITY_FORWARD_RESULT |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>If set and this intent is being used to launch a new activity from an |
| existing one, then the reply target of the existing activity will be |
| transfered to the new activity. This way the new activity can call |
| <code><a href="../../../reference/android/app/Activity.html#setResult(int)">setResult(int)</a></code> and have that result sent back to |
| the reply target of the original activity. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| 33554432 |
| (0x02000000) |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="FLAG_ACTIVITY_LAUNCHED_FROM_HISTORY"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| int |
| </span> |
| FLAG_ACTIVITY_LAUNCHED_FROM_HISTORY |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>This flag is not normally set by application code, but set for you by |
| the system if this activity is being launched from history |
| (longpress home key). |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| 1048576 |
| (0x00100000) |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="FLAG_ACTIVITY_MULTIPLE_TASK"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| int |
| </span> |
| FLAG_ACTIVITY_MULTIPLE_TASK |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p><strong>Do not use this flag unless you are implementing your own |
| top-level application launcher.</strong> Used in conjunction with |
| <code><a href="../../../reference/android/content/Intent.html#FLAG_ACTIVITY_NEW_TASK">FLAG_ACTIVITY_NEW_TASK</a></code> to disable the |
| behavior of bringing an existing task to the foreground. When set, |
| a new task is <em>always</em> started to host the Activity for the |
| Intent, regardless of whether there is already an existing task running |
| the same thing. |
| |
| <p><strong>Because the default system does not include graphical task management, |
| you should not use this flag unless you provide some way for a user to |
| return back to the tasks you have launched.</strong> |
| |
| <p>This flag is ignored if |
| <code><a href="../../../reference/android/content/Intent.html#FLAG_ACTIVITY_NEW_TASK">FLAG_ACTIVITY_NEW_TASK</a></code> is not set. |
| |
| <p>See |
| <a href="../../../guide/topics/fundamentals/tasks-and-back-stack.html">Tasks and Back |
| Stack</a> for more information about tasks. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| 134217728 |
| (0x08000000) |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="FLAG_ACTIVITY_NEW_TASK"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| int |
| </span> |
| FLAG_ACTIVITY_NEW_TASK |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>If set, this activity will become the start of a new task on this |
| history stack. A task (from the activity that started it to the |
| next task activity) defines an atomic group of activities that the |
| user can move to. Tasks can be moved to the foreground and background; |
| all of the activities inside of a particular task always remain in |
| the same order. See |
| <a href="../../../guide/topics/fundamentals/tasks-and-back-stack.html">Tasks and Back |
| Stack</a> for more information about tasks. |
| |
| <p>This flag is generally used by activities that want |
| to present a "launcher" style behavior: they give the user a list of |
| separate things that can be done, which otherwise run completely |
| independently of the activity launching them. |
| |
| <p>When using this flag, if a task is already running for the activity |
| you are now starting, then a new activity will not be started; instead, |
| the current task will simply be brought to the front of the screen with |
| the state it was last in. See <code><a href="../../../reference/android/content/Intent.html#FLAG_ACTIVITY_MULTIPLE_TASK">FLAG_ACTIVITY_MULTIPLE_TASK</a></code> for a flag |
| to disable this behavior. |
| |
| <p>This flag can not be used when the caller is requesting a result from |
| the activity being launched. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| 268435456 |
| (0x10000000) |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="FLAG_ACTIVITY_NO_ANIMATION"></A> |
| |
| <div class="jd-details api apilevel-5"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| int |
| </span> |
| FLAG_ACTIVITY_NO_ANIMATION |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 5</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>If set in an Intent passed to <code><a href="../../../reference/android/content/Context.html#startActivity(android.content.Intent)">Context.startActivity()</a></code>, |
| this flag will prevent the system from applying an activity transition |
| animation to go to the next activity state. This doesn't mean an |
| animation will never run -- if another activity change happens that doesn't |
| specify this flag before the activity started here is displayed, then |
| that transition will be used. This flag can be put to good use |
| when you are going to do a series of activity operations but the |
| animation seen by the user shouldn't be driven by the first activity |
| change but rather a later one. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| 65536 |
| (0x00010000) |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="FLAG_ACTIVITY_NO_HISTORY"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| int |
| </span> |
| FLAG_ACTIVITY_NO_HISTORY |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>If set, the new activity is not kept in the history stack. As soon as |
| the user navigates away from it, the activity is finished. This may also |
| be set with the <code><a href="../../../reference/android/R.styleable.html#AndroidManifestActivity_noHistory">noHistory</a></code> attribute. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| 1073741824 |
| (0x40000000) |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="FLAG_ACTIVITY_NO_USER_ACTION"></A> |
| |
| <div class="jd-details api apilevel-3"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| int |
| </span> |
| FLAG_ACTIVITY_NO_USER_ACTION |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 3</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>If set, this flag will prevent the normal <code><a href="../../../reference/android/app/Activity.html#onUserLeaveHint()">onUserLeaveHint()</a></code> |
| callback from occurring on the current frontmost activity before it is |
| paused as the newly-started activity is brought to the front. |
| |
| <p>Typically, an activity can rely on that callback to indicate that an |
| explicit user action has caused their activity to be moved out of the |
| foreground. The callback marks an appropriate point in the activity's |
| lifecycle for it to dismiss any notifications that it intends to display |
| "until the user has seen them," such as a blinking LED. |
| |
| <p>If an activity is ever started via any non-user-driven events such as |
| phone-call receipt or an alarm handler, this flag should be passed to <code><a href="../../../reference/android/content/Context.html#startActivity(android.content.Intent)">Context.startActivity</a></code>, ensuring that the pausing |
| activity does not think the user has acknowledged its notification. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| 262144 |
| (0x00040000) |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="FLAG_ACTIVITY_PREVIOUS_IS_TOP"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| int |
| </span> |
| FLAG_ACTIVITY_PREVIOUS_IS_TOP |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>If set and this intent is being used to launch a new activity from an |
| existing one, the current activity will not be counted as the top |
| activity for deciding whether the new intent should be delivered to |
| the top instead of starting a new one. The previous activity will |
| be used as the top, with the assumption being that the current activity |
| will finish itself immediately. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| 16777216 |
| (0x01000000) |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="FLAG_ACTIVITY_REORDER_TO_FRONT"></A> |
| |
| <div class="jd-details api apilevel-3"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| int |
| </span> |
| FLAG_ACTIVITY_REORDER_TO_FRONT |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 3</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>If set in an Intent passed to <code><a href="../../../reference/android/content/Context.html#startActivity(android.content.Intent)">Context.startActivity()</a></code>, |
| this flag will cause the launched activity to be brought to the front of its |
| task's history stack if it is already running. |
| |
| <p>For example, consider a task consisting of four activities: A, B, C, D. |
| If D calls startActivity() with an Intent that resolves to the component |
| of activity B, then B will be brought to the front of the history stack, |
| with this resulting order: A, C, D, B. |
| |
| This flag will be ignored if <code><a href="../../../reference/android/content/Intent.html#FLAG_ACTIVITY_CLEAR_TOP">FLAG_ACTIVITY_CLEAR_TOP</a></code> is also |
| specified. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| 131072 |
| (0x00020000) |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="FLAG_ACTIVITY_RESET_TASK_IF_NEEDED"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| int |
| </span> |
| FLAG_ACTIVITY_RESET_TASK_IF_NEEDED |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>If set, and this activity is either being started in a new task or |
| bringing to the top an existing task, then it will be launched as |
| the front door of the task. This will result in the application of |
| any affinities needed to have that task in the proper state (either |
| moving activities to or from it), or simply resetting that task to |
| its initial state if needed. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| 2097152 |
| (0x00200000) |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="FLAG_ACTIVITY_SINGLE_TOP"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| int |
| </span> |
| FLAG_ACTIVITY_SINGLE_TOP |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>If set, the activity will not be launched if it is already running |
| at the top of the history stack. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| 536870912 |
| (0x20000000) |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="FLAG_ACTIVITY_TASK_ON_HOME"></A> |
| |
| <div class="jd-details api apilevel-11"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| int |
| </span> |
| FLAG_ACTIVITY_TASK_ON_HOME |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 11</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>If set in an Intent passed to <code><a href="../../../reference/android/content/Context.html#startActivity(android.content.Intent)">Context.startActivity()</a></code>, |
| this flag will cause a newly launching task to be placed on top of the current |
| home activity task (if there is one). That is, pressing back from the task |
| will always return the user to home even if that was not the last activity they |
| saw. This can only be used in conjunction with <code><a href="../../../reference/android/content/Intent.html#FLAG_ACTIVITY_NEW_TASK">FLAG_ACTIVITY_NEW_TASK</a></code>. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| 16384 |
| (0x00004000) |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="FLAG_DEBUG_LOG_RESOLUTION"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| int |
| </span> |
| FLAG_DEBUG_LOG_RESOLUTION |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>A flag you can enable for debugging: when set, log messages will be |
| printed during the resolution of this intent to show you what has |
| been found to create the final resolved list. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| 8 |
| (0x00000008) |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="FLAG_EXCLUDE_STOPPED_PACKAGES"></A> |
| |
| <div class="jd-details api apilevel-12"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| int |
| </span> |
| FLAG_EXCLUDE_STOPPED_PACKAGES |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 12</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>If set, this intent will not match any components in packages that |
| are currently stopped. If this is not set, then the default behavior |
| is to include such applications in the result. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| 16 |
| (0x00000010) |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="FLAG_FROM_BACKGROUND"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| int |
| </span> |
| FLAG_FROM_BACKGROUND |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Can be set by the caller to indicate that this Intent is coming from |
| a background operation, not from direct user interaction. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| 4 |
| (0x00000004) |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="FLAG_GRANT_READ_URI_PERMISSION"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| int |
| </span> |
| FLAG_GRANT_READ_URI_PERMISSION |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>If set, the recipient of this Intent will be granted permission to |
| perform read operations on the Uri in the Intent's data and any URIs |
| specified in its ClipData. When applying to an Intent's ClipData, |
| all URIs as well as recursive traversals through data or other ClipData |
| in Intent items will be granted; only the grant flags of the top-level |
| Intent are used. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| 1 |
| (0x00000001) |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="FLAG_GRANT_WRITE_URI_PERMISSION"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| int |
| </span> |
| FLAG_GRANT_WRITE_URI_PERMISSION |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>If set, the recipient of this Intent will be granted permission to |
| perform write operations on the Uri in the Intent's data and any URIs |
| specified in its ClipData. When applying to an Intent's ClipData, |
| all URIs as well as recursive traversals through data or other ClipData |
| in Intent items will be granted; only the grant flags of the top-level |
| Intent are used. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| 2 |
| (0x00000002) |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="FLAG_INCLUDE_STOPPED_PACKAGES"></A> |
| |
| <div class="jd-details api apilevel-12"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| int |
| </span> |
| FLAG_INCLUDE_STOPPED_PACKAGES |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 12</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>If set, this intent will always match any components in packages that |
| are currently stopped. This is the default behavior when |
| <code><a href="../../../reference/android/content/Intent.html#FLAG_EXCLUDE_STOPPED_PACKAGES">FLAG_EXCLUDE_STOPPED_PACKAGES</a></code> is not set. If both of these |
| flags are set, this one wins (it allows overriding of exclude for |
| places where the framework may automatically set the exclude flag). |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| 32 |
| (0x00000020) |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="FLAG_RECEIVER_FOREGROUND"></A> |
| |
| <div class="jd-details api apilevel-16"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| int |
| </span> |
| FLAG_RECEIVER_FOREGROUND |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 16</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>If set, when sending a broadcast the recipient is allowed to run at |
| foreground priority, with a shorter timeout interval. During normal |
| broadcasts the receivers are not automatically hoisted out of the |
| background priority class. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| 268435456 |
| (0x10000000) |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="FLAG_RECEIVER_REGISTERED_ONLY"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| int |
| </span> |
| FLAG_RECEIVER_REGISTERED_ONLY |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>If set, when sending a broadcast only registered receivers will be |
| called -- no BroadcastReceiver components will be launched. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| 1073741824 |
| (0x40000000) |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="FLAG_RECEIVER_REPLACE_PENDING"></A> |
| |
| <div class="jd-details api apilevel-8"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| int |
| </span> |
| FLAG_RECEIVER_REPLACE_PENDING |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 8</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>If set, when sending a broadcast the new broadcast will replace |
| any existing pending broadcast that matches it. Matching is defined |
| by <code><a href="../../../reference/android/content/Intent.html#filterEquals(android.content.Intent)">Intent.filterEquals</a></code> returning |
| true for the intents of the two broadcasts. When a match is found, |
| the new broadcast (and receivers associated with it) will replace the |
| existing one in the pending broadcast list, remaining at the same |
| position in the list. |
| |
| <p>This flag is most typically used with sticky broadcasts, which |
| only care about delivering the most recent values of the broadcast |
| to their receivers. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| 536870912 |
| (0x20000000) |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="METADATA_DOCK_HOME"></A> |
| |
| <div class="jd-details api apilevel-5"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| METADATA_DOCK_HOME |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 5</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Boolean that can be supplied as meta-data with a dock activity, to |
| indicate that the dock should take over the home key when it is active. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| "android.dock_home" |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| <A NAME="URI_INTENT_SCHEME"></A> |
| |
| <div class="jd-details api apilevel-4"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| int |
| </span> |
| URI_INTENT_SCHEME |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 4</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Flag for use with <code><a href="../../../reference/android/content/Intent.html#toUri(int)">toUri(int)</a></code> and <code><a href="../../../reference/android/content/Intent.html#parseUri(java.lang.String, int)">parseUri(String, int)</a></code>: the URI string |
| always has the "intent:" scheme. This syntax can be used when you want |
| to later disambiguate between URIs that are intended to describe an |
| Intent vs. all others that should be treated as raw URIs. When used |
| with <code><a href="../../../reference/android/content/Intent.html#parseUri(java.lang.String, int)">parseUri(String, int)</a></code>, any other scheme will result in a generic |
| VIEW action for that raw URI. |
| </p></div> |
| |
| |
| <div class="jd-tagdata"> |
| <span class="jd-tagtitle">Constant Value: </span> |
| <span> |
| |
| 1 |
| (0x00000001) |
| |
| </span> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| |
| <!-- Fields --> |
| |
| |
| <!-- ========= FIELD DETAIL ======== --> |
| <h2>Fields</h2> |
| |
| |
| |
| |
| <A NAME="CREATOR"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| final |
| <a href="../../../reference/android/os/Parcelable.Creator.html">Creator</a><<a href="../../../reference/android/content/Intent.html">Intent</a>> |
| </span> |
| CREATOR |
| </h4> |
| <div class="api-level"> |
| |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p></p></div> |
| |
| |
| </div> |
| </div> |
| |
| |
| |
| |
| <!-- Public ctors --> |
| |
| |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <h2>Public Constructors</h2> |
| |
| |
| |
| <A NAME="Intent()"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| |
| </span> |
| <span class="sympad">Intent</span> |
| <span class="normal">()</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Create an empty intent. |
| </p></div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="Intent(android.content.Intent)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| |
| </span> |
| <span class="sympad">Intent</span> |
| <span class="normal">(<a href="../../../reference/android/content/Intent.html">Intent</a> o)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Copy constructor. |
| </p></div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="Intent(java.lang.String)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| |
| </span> |
| <span class="sympad">Intent</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> action)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Create an intent with a given action. All other fields (data, type, |
| class) are null. Note that the action <em>must</em> be in a |
| namespace because Intents are used globally in the system -- for |
| example the system VIEW action is android.intent.action.VIEW; an |
| application's custom action would be something like |
| com.google.app.myapp.CUSTOM_ACTION.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>action</td> |
| <td>The Intent action, such as ACTION_VIEW. |
| </td> |
| </tr> |
| </table> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="Intent(java.lang.String, android.net.Uri)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| |
| </span> |
| <span class="sympad">Intent</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> action, <a href="../../../reference/android/net/Uri.html">Uri</a> uri)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Create an intent with a given action and for a given data url. Note |
| that the action <em>must</em> be in a namespace because Intents are |
| used globally in the system -- for example the system VIEW action is |
| android.intent.action.VIEW; an application's custom action would be |
| something like com.google.app.myapp.CUSTOM_ACTION. |
| |
| <p><em>Note: scheme and host name matching in the Android framework is |
| case-sensitive, unlike the formal RFC. As a result, |
| you should always ensure that you write your Uri with these elements |
| using lower case letters, and normalize any Uris you receive from |
| outside of Android to ensure the scheme and host is lower case.</em></p></p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>action</td> |
| <td>The Intent action, such as ACTION_VIEW.</td> |
| </tr> |
| <tr> |
| <th>uri</td> |
| <td>The Intent data URI. |
| </td> |
| </tr> |
| </table> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="Intent(android.content.Context, java.lang.Class<?>)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| |
| </span> |
| <span class="sympad">Intent</span> |
| <span class="normal">(<a href="../../../reference/android/content/Context.html">Context</a> packageContext, <a href="../../../reference/java/lang/Class.html">Class</a><?> cls)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Create an intent for a specific component. All other fields (action, data, |
| type, class) are null, though they can be modified later with explicit |
| calls. This provides a convenient way to create an intent that is |
| intended to execute a hard-coded class name, rather than relying on the |
| system to find an appropriate class for you; see <code><a href="../../../reference/android/content/Intent.html#setComponent(android.content.ComponentName)">setComponent(ComponentName)</a></code> |
| for more information on the repercussions of this.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>packageContext</td> |
| <td>A Context of the application package implementing |
| this class.</td> |
| </tr> |
| <tr> |
| <th>cls</td> |
| <td>The component class that is to be used for the intent.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#setClass(android.content.Context, java.lang.Class<?>)">setClass(Context, Class<?>)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#setComponent(android.content.ComponentName)">setComponent(ComponentName)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#Intent(java.lang.String, android.net.Uri, android.content.Context, java.lang.Class<?>)">Intent(String, android.net.Uri, Context, Class)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="Intent(java.lang.String, android.net.Uri, android.content.Context, java.lang.Class<?>)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| |
| </span> |
| <span class="sympad">Intent</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> action, <a href="../../../reference/android/net/Uri.html">Uri</a> uri, <a href="../../../reference/android/content/Context.html">Context</a> packageContext, <a href="../../../reference/java/lang/Class.html">Class</a><?> cls)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Create an intent for a specific component with a specified action and data. |
| This is equivalent using <code><a href="../../../reference/android/content/Intent.html#Intent(java.lang.String, android.net.Uri)">Intent(String, android.net.Uri)</a></code> to |
| construct the Intent and then calling <code><a href="../../../reference/android/content/Intent.html#setClass(android.content.Context, java.lang.Class<?>)">setClass(Context, Class<?>)</a></code> to set its |
| class. |
| |
| <p><em>Note: scheme and host name matching in the Android framework is |
| case-sensitive, unlike the formal RFC. As a result, |
| you should always ensure that you write your Uri with these elements |
| using lower case letters, and normalize any Uris you receive from |
| outside of Android to ensure the scheme and host is lower case.</em></p></p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>action</td> |
| <td>The Intent action, such as ACTION_VIEW.</td> |
| </tr> |
| <tr> |
| <th>uri</td> |
| <td>The Intent data URI.</td> |
| </tr> |
| <tr> |
| <th>packageContext</td> |
| <td>A Context of the application package implementing |
| this class.</td> |
| </tr> |
| <tr> |
| <th>cls</td> |
| <td>The component class that is to be used for the intent.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#Intent(java.lang.String, android.net.Uri)">Intent(String, android.net.Uri)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#Intent(android.content.Context, java.lang.Class<?>)">Intent(Context, Class)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#setClass(android.content.Context, java.lang.Class<?>)">setClass(Context, Class<?>)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#setComponent(android.content.ComponentName)">setComponent(ComponentName)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| |
| |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <!-- Protected ctors --> |
| |
| |
| |
| <!-- ========= METHOD DETAIL ======== --> |
| <!-- Public methdos --> |
| |
| <h2>Public Methods</h2> |
| |
| |
| |
| <A NAME="addCategory(java.lang.String)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a> |
| </span> |
| <span class="sympad">addCategory</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> category)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Add a new category to the intent. Categories provide additional detail |
| about the action the intent performs. When resolving an intent, only |
| activities that provide <em>all</em> of the requested categories will be |
| used.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>category</td> |
| <td>The desired category. This can be either one of the |
| predefined Intent categories, or a custom category in your own |
| namespace.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>Returns the same Intent object, for chaining multiple calls |
| into a single statement.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#hasCategory(java.lang.String)">hasCategory(String)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#removeCategory(java.lang.String)">removeCategory(String)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="addFlags(int)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a> |
| </span> |
| <span class="sympad">addFlags</span> |
| <span class="normal">(int flags)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Add additional flags to the intent (or with existing flags |
| value).</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>flags</td> |
| <td>The new flags to set.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>Returns the same Intent object, for chaining multiple calls |
| into a single statement.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#setFlags(int)">setFlags(int)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="clone()"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/java/lang/Object.html">Object</a> |
| </span> |
| <span class="sympad">clone</span> |
| <span class="normal">()</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Creates and returns a copy of this <code>Object</code>. The default |
| implementation returns a so-called "shallow" copy: It creates a new |
| instance of the same class and then copies the field values (including |
| object references) from this instance to the new instance. A "deep" copy, |
| in contrast, would also recursively clone nested objects. A subclass that |
| needs to implement this kind of cloning should call <code>super.clone()</code> |
| to create the new instance and then create deep copies of the nested, |
| mutable objects.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>a copy of this object.</li></ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="cloneFilter()"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a> |
| </span> |
| <span class="sympad">cloneFilter</span> |
| <span class="normal">()</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Make a clone of only the parts of the Intent that are relevant for |
| filter matching: the action, data, type, component, and categories. |
| </p></div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="createChooser(android.content.Intent, java.lang.CharSequence)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a> |
| </span> |
| <span class="sympad">createChooser</span> |
| <span class="normal">(<a href="../../../reference/android/content/Intent.html">Intent</a> target, <a href="../../../reference/java/lang/CharSequence.html">CharSequence</a> title)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Convenience function for creating a <code><a href="../../../reference/android/content/Intent.html#ACTION_CHOOSER">ACTION_CHOOSER</a></code> Intent. |
| |
| <p>Builds a new <code><a href="../../../reference/android/content/Intent.html#ACTION_CHOOSER">ACTION_CHOOSER</a></code> Intent that wraps the given |
| target intent, also optionally supplying a title. If the target |
| intent has specified <code><a href="../../../reference/android/content/Intent.html#FLAG_GRANT_READ_URI_PERMISSION">FLAG_GRANT_READ_URI_PERMISSION</a></code> or |
| <code><a href="../../../reference/android/content/Intent.html#FLAG_GRANT_WRITE_URI_PERMISSION">FLAG_GRANT_WRITE_URI_PERMISSION</a></code>, then these flags will also be |
| set in the returned chooser intent, with its ClipData set appropriately: |
| either a direct reflection of <code><a href="../../../reference/android/content/Intent.html#getClipData()">getClipData()</a></code> if that is non-null, |
| or a new ClipData build from <code><a href="../../../reference/android/content/Intent.html#getData()">getData()</a></code>.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>target</td> |
| <td>The Intent that the user will be selecting an activity |
| to perform.</td> |
| </tr> |
| <tr> |
| <th>title</td> |
| <td>Optional title that will be displayed in the chooser.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>Return a new Intent object that you can hand to |
| <code><a href="../../../reference/android/content/Context.html#startActivity(android.content.Intent)">Context.startActivity()</a></code> and |
| related methods. |
| </li></ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="describeContents()"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| int |
| </span> |
| <span class="sympad">describeContents</span> |
| <span class="normal">()</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Describe the kinds of special objects contained in this Parcelable's |
| marshalled representation.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>a bitmask indicating the set of special object types marshalled |
| by the Parcelable. |
| </li></ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="fillIn(android.content.Intent, int)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| int |
| </span> |
| <span class="sympad">fillIn</span> |
| <span class="normal">(<a href="../../../reference/android/content/Intent.html">Intent</a> other, int flags)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Copy the contents of <var>other</var> in to this object, but only |
| where fields are not defined by this object. For purposes of a field |
| being defined, the following pieces of data in the Intent are |
| considered to be separate fields: |
| |
| <ul> |
| <li> action, as set by <code><a href="../../../reference/android/content/Intent.html#setAction(java.lang.String)">setAction(String)</a></code>. |
| <li> data Uri and MIME type, as set by <code><a href="../../../reference/android/content/Intent.html#setData(android.net.Uri)">setData(Uri)</a></code>, |
| <code><a href="../../../reference/android/content/Intent.html#setType(java.lang.String)">setType(String)</a></code>, or <code><a href="../../../reference/android/content/Intent.html#setDataAndType(android.net.Uri, java.lang.String)">setDataAndType(Uri, String)</a></code>. |
| <li> categories, as set by <code><a href="../../../reference/android/content/Intent.html#addCategory(java.lang.String)">addCategory(String)</a></code>. |
| <li> package, as set by <code><a href="../../../reference/android/content/Intent.html#setPackage(java.lang.String)">setPackage(String)</a></code>. |
| <li> component, as set by <code><a href="../../../reference/android/content/Intent.html#setComponent(android.content.ComponentName)">setComponent(ComponentName)</a></code> or |
| related methods. |
| <li> source bounds, as set by <code><a href="../../../reference/android/content/Intent.html#setSourceBounds(android.graphics.Rect)">setSourceBounds(Rect)</a></code>. |
| <li> selector, as set by <code><a href="../../../reference/android/content/Intent.html#setSelector(android.content.Intent)">setSelector(Intent)</a></code>. |
| <li> clip data, as set by <code><a href="../../../reference/android/content/Intent.html#setClipData(android.content.ClipData)">setClipData(ClipData)</a></code>. |
| <li> each top-level name in the associated extras. |
| </ul> |
| |
| <p>In addition, you can use the <code><a href="../../../reference/android/content/Intent.html#FILL_IN_ACTION">FILL_IN_ACTION</a></code>, |
| <code><a href="../../../reference/android/content/Intent.html#FILL_IN_DATA">FILL_IN_DATA</a></code>, <code><a href="../../../reference/android/content/Intent.html#FILL_IN_CATEGORIES">FILL_IN_CATEGORIES</a></code>, <code><a href="../../../reference/android/content/Intent.html#FILL_IN_PACKAGE">FILL_IN_PACKAGE</a></code>, |
| <code><a href="../../../reference/android/content/Intent.html#FILL_IN_COMPONENT">FILL_IN_COMPONENT</a></code>, <code><a href="../../../reference/android/content/Intent.html#FILL_IN_SOURCE_BOUNDS">FILL_IN_SOURCE_BOUNDS</a></code>, |
| <code><a href="../../../reference/android/content/Intent.html#FILL_IN_SELECTOR">FILL_IN_SELECTOR</a></code>, and <code><a href="../../../reference/android/content/Intent.html#FILL_IN_CLIP_DATA">FILL_IN_CLIP_DATA</a></code> to override |
| the restriction where the corresponding field will not be replaced if |
| it is already set. |
| |
| <p>Note: The component field will only be copied if <code><a href="../../../reference/android/content/Intent.html#FILL_IN_COMPONENT">FILL_IN_COMPONENT</a></code> |
| is explicitly specified. The selector will only be copied if |
| <code><a href="../../../reference/android/content/Intent.html#FILL_IN_SELECTOR">FILL_IN_SELECTOR</a></code> is explicitly specified. |
| |
| <p>For example, consider Intent A with {data="foo", categories="bar"} |
| and Intent B with {action="gotit", data-type="some/thing", |
| categories="one","two"}. |
| |
| <p>Calling A.fillIn(B, Intent.FILL_IN_DATA) will result in A now |
| containing: {action="gotit", data-type="some/thing", |
| categories="bar"}.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>other</td> |
| <td>Another Intent whose values are to be used to fill in |
| the current one.</td> |
| </tr> |
| <tr> |
| <th>flags</td> |
| <td>Options to control which fields can be filled in.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>Returns a bit mask of <code><a href="../../../reference/android/content/Intent.html#FILL_IN_ACTION">FILL_IN_ACTION</a></code>, |
| <code><a href="../../../reference/android/content/Intent.html#FILL_IN_DATA">FILL_IN_DATA</a></code>, <code><a href="../../../reference/android/content/Intent.html#FILL_IN_CATEGORIES">FILL_IN_CATEGORIES</a></code>, <code><a href="../../../reference/android/content/Intent.html#FILL_IN_PACKAGE">FILL_IN_PACKAGE</a></code>, |
| <code><a href="../../../reference/android/content/Intent.html#FILL_IN_COMPONENT">FILL_IN_COMPONENT</a></code>, <code><a href="../../../reference/android/content/Intent.html#FILL_IN_SOURCE_BOUNDS">FILL_IN_SOURCE_BOUNDS</a></code>, and |
| <code><a href="../../../reference/android/content/Intent.html#FILL_IN_SELECTOR">FILL_IN_SELECTOR</a></code> indicating which fields were changed. |
| </li></ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="filterEquals(android.content.Intent)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| boolean |
| </span> |
| <span class="sympad">filterEquals</span> |
| <span class="normal">(<a href="../../../reference/android/content/Intent.html">Intent</a> other)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Determine if two intents are the same for the purposes of intent |
| resolution (filtering). That is, if their action, data, type, |
| class, and categories are the same. This does <em>not</em> compare |
| any extra data included in the intents.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>other</td> |
| <td>The other Intent to compare against.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>Returns true if action, data, type, class, and categories |
| are the same. |
| </li></ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="filterHashCode()"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| int |
| </span> |
| <span class="sympad">filterHashCode</span> |
| <span class="normal">()</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Generate hash code that matches semantics of filterEquals().</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>Returns the hash value of the action, data, type, class, and |
| categories.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#filterEquals(android.content.Intent)">filterEquals(Intent)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="getAction()"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| <span class="sympad">getAction</span> |
| <span class="normal">()</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Retrieve the general action to be performed, such as |
| <code><a href="../../../reference/android/content/Intent.html#ACTION_VIEW">ACTION_VIEW</a></code>. The action describes the general way the rest of |
| the information in the intent should be interpreted -- most importantly, |
| what to do with the data returned by <code><a href="../../../reference/android/content/Intent.html#getData()">getData()</a></code>.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>The action of this intent or null if none is specified.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#setAction(java.lang.String)">setAction(String)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="getBooleanArrayExtra(java.lang.String)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| boolean[] |
| </span> |
| <span class="sympad">getBooleanArrayExtra</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> name)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Retrieve extended data from the intent.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>name</td> |
| <td>The name of the desired item.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>the value of an item that previously added with putExtra() |
| or null if no boolean array value was found.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#putExtra(java.lang.String, boolean[])">putExtra(String, boolean[])</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="getBooleanExtra(java.lang.String, boolean)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| boolean |
| </span> |
| <span class="sympad">getBooleanExtra</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> name, boolean defaultValue)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Retrieve extended data from the intent.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>name</td> |
| <td>The name of the desired item.</td> |
| </tr> |
| <tr> |
| <th>defaultValue</td> |
| <td>the value to be returned if no value of the desired |
| type is stored with the given name.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>the value of an item that previously added with putExtra() |
| or the default value if none was found.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#putExtra(java.lang.String, boolean)">putExtra(String, boolean)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="getBundleExtra(java.lang.String)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/android/os/Bundle.html">Bundle</a> |
| </span> |
| <span class="sympad">getBundleExtra</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> name)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Retrieve extended data from the intent.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>name</td> |
| <td>The name of the desired item.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>the value of an item that previously added with putExtra() |
| or null if no Bundle value was found.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#putExtra(java.lang.String, android.os.Bundle)">putExtra(String, Bundle)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="getByteArrayExtra(java.lang.String)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| byte[] |
| </span> |
| <span class="sympad">getByteArrayExtra</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> name)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Retrieve extended data from the intent.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>name</td> |
| <td>The name of the desired item.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>the value of an item that previously added with putExtra() |
| or null if no byte array value was found.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#putExtra(java.lang.String, byte[])">putExtra(String, byte[])</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="getByteExtra(java.lang.String, byte)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| byte |
| </span> |
| <span class="sympad">getByteExtra</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> name, byte defaultValue)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Retrieve extended data from the intent.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>name</td> |
| <td>The name of the desired item.</td> |
| </tr> |
| <tr> |
| <th>defaultValue</td> |
| <td>the value to be returned if no value of the desired |
| type is stored with the given name.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>the value of an item that previously added with putExtra() |
| or the default value if none was found.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#putExtra(java.lang.String, byte)">putExtra(String, byte)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="getCategories()"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/java/util/Set.html">Set</a><<a href="../../../reference/java/lang/String.html">String</a>> |
| </span> |
| <span class="sympad">getCategories</span> |
| <span class="normal">()</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Return the set of all categories in the intent. If there are no categories, |
| returns NULL.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>The set of categories you can examine. Do not modify!</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#hasCategory(java.lang.String)">hasCategory(String)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#addCategory(java.lang.String)">addCategory(String)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="getCharArrayExtra(java.lang.String)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| char[] |
| </span> |
| <span class="sympad">getCharArrayExtra</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> name)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Retrieve extended data from the intent.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>name</td> |
| <td>The name of the desired item.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>the value of an item that previously added with putExtra() |
| or null if no char array value was found.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#putExtra(java.lang.String, char[])">putExtra(String, char[])</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="getCharExtra(java.lang.String, char)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| char |
| </span> |
| <span class="sympad">getCharExtra</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> name, char defaultValue)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Retrieve extended data from the intent.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>name</td> |
| <td>The name of the desired item.</td> |
| </tr> |
| <tr> |
| <th>defaultValue</td> |
| <td>the value to be returned if no value of the desired |
| type is stored with the given name.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>the value of an item that previously added with putExtra() |
| or the default value if none was found.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#putExtra(java.lang.String, char)">putExtra(String, char)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="getCharSequenceArrayExtra(java.lang.String)"></A> |
| |
| <div class="jd-details api apilevel-8"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/java/lang/CharSequence.html">CharSequence[]</a> |
| </span> |
| <span class="sympad">getCharSequenceArrayExtra</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> name)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 8</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Retrieve extended data from the intent.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>name</td> |
| <td>The name of the desired item.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>the value of an item that previously added with putExtra() |
| or null if no CharSequence array value was found.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#putExtra(java.lang.String, java.lang.CharSequence[])">putExtra(String, CharSequence[])</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="getCharSequenceArrayListExtra(java.lang.String)"></A> |
| |
| <div class="jd-details api apilevel-8"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/java/util/ArrayList.html">ArrayList</a><<a href="../../../reference/java/lang/CharSequence.html">CharSequence</a>> |
| </span> |
| <span class="sympad">getCharSequenceArrayListExtra</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> name)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 8</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Retrieve extended data from the intent.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>name</td> |
| <td>The name of the desired item.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>the value of an item that previously added with putExtra() |
| or null if no ArrayList<CharSequence> value was found.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#putCharSequenceArrayListExtra(java.lang.String, java.util.ArrayList<java.lang.CharSequence>)">putCharSequenceArrayListExtra(String, ArrayList)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="getCharSequenceExtra(java.lang.String)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/java/lang/CharSequence.html">CharSequence</a> |
| </span> |
| <span class="sympad">getCharSequenceExtra</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> name)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Retrieve extended data from the intent.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>name</td> |
| <td>The name of the desired item.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>the value of an item that previously added with putExtra() |
| or null if no CharSequence value was found.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#putExtra(java.lang.String, java.lang.CharSequence)">putExtra(String, CharSequence)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="getClipData()"></A> |
| |
| <div class="jd-details api apilevel-16"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/android/content/ClipData.html">ClipData</a> |
| </span> |
| <span class="sympad">getClipData</span> |
| <span class="normal">()</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 16</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Return the <code><a href="../../../reference/android/content/ClipData.html">ClipData</a></code> associated with this Intent. If there is |
| none, returns null. See <code><a href="../../../reference/android/content/Intent.html#setClipData(android.content.ClipData)">setClipData(ClipData)</a></code> for more information.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../">ERROR(/#setClipData;)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="getComponent()"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/android/content/ComponentName.html">ComponentName</a> |
| </span> |
| <span class="sympad">getComponent</span> |
| <span class="normal">()</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Retrieve the concrete component associated with the intent. When receiving |
| an intent, this is the component that was found to best handle it (that is, |
| yourself) and will always be non-null; in all other cases it will be |
| null unless explicitly set.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>The name of the application component to handle the intent.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#resolveActivity(android.content.pm.PackageManager)">resolveActivity(PackageManager)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#setComponent(android.content.ComponentName)">setComponent(ComponentName)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="getData()"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/android/net/Uri.html">Uri</a> |
| </span> |
| <span class="sympad">getData</span> |
| <span class="normal">()</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Retrieve data this intent is operating on. This URI specifies the name |
| of the data; often it uses the content: scheme, specifying data in a |
| content provider. Other schemes may be handled by specific activities, |
| such as http: by the web browser.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>The URI of the data this intent is targeting or null.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#getScheme()">getScheme()</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#setData(android.net.Uri)">setData(Uri)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="getDataString()"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| <span class="sympad">getDataString</span> |
| <span class="normal">()</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>The same as <code><a href="../../../reference/android/content/Intent.html#getData()">getData()</a></code>, but returns the URI as an encoded |
| String. |
| </p></div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="getDoubleArrayExtra(java.lang.String)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| double[] |
| </span> |
| <span class="sympad">getDoubleArrayExtra</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> name)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Retrieve extended data from the intent.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>name</td> |
| <td>The name of the desired item.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>the value of an item that previously added with putExtra() |
| or null if no double array value was found.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#putExtra(java.lang.String, double[])">putExtra(String, double[])</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="getDoubleExtra(java.lang.String, double)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| double |
| </span> |
| <span class="sympad">getDoubleExtra</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> name, double defaultValue)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Retrieve extended data from the intent.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>name</td> |
| <td>The name of the desired item.</td> |
| </tr> |
| <tr> |
| <th>defaultValue</td> |
| <td>the value to be returned if no value of the desired |
| type is stored with the given name.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>the value of an item that previously added with putExtra() |
| or the default value if none was found.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#putExtra(java.lang.String, double)">putExtra(String, double)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="getExtras()"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/android/os/Bundle.html">Bundle</a> |
| </span> |
| <span class="sympad">getExtras</span> |
| <span class="normal">()</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Retrieves a map of extended data from the intent.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>the map of all extras previously added with putExtra(), |
| or null if none have been added. |
| </li></ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="getFlags()"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| int |
| </span> |
| <span class="sympad">getFlags</span> |
| <span class="normal">()</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Retrieve any special flags associated with this intent. You will |
| normally just set them with <code><a href="../../../reference/android/content/Intent.html#setFlags(int)">setFlags(int)</a></code> and let the system |
| take the appropriate action with them.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>int The currently set flags.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#setFlags(int)">setFlags(int)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="getFloatArrayExtra(java.lang.String)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| float[] |
| </span> |
| <span class="sympad">getFloatArrayExtra</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> name)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Retrieve extended data from the intent.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>name</td> |
| <td>The name of the desired item.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>the value of an item that previously added with putExtra() |
| or null if no float array value was found.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#putExtra(java.lang.String, float[])">putExtra(String, float[])</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="getFloatExtra(java.lang.String, float)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| float |
| </span> |
| <span class="sympad">getFloatExtra</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> name, float defaultValue)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Retrieve extended data from the intent.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>name</td> |
| <td>The name of the desired item.</td> |
| </tr> |
| <tr> |
| <th>defaultValue</td> |
| <td>the value to be returned if no value of the desired |
| type is stored with the given name.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>the value of an item that previously added with putExtra(), |
| or the default value if no such item is present</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#putExtra(java.lang.String, float)">putExtra(String, float)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="getIntArrayExtra(java.lang.String)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| int[] |
| </span> |
| <span class="sympad">getIntArrayExtra</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> name)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Retrieve extended data from the intent.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>name</td> |
| <td>The name of the desired item.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>the value of an item that previously added with putExtra() |
| or null if no int array value was found.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#putExtra(java.lang.String, int[])">putExtra(String, int[])</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="getIntExtra(java.lang.String, int)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| int |
| </span> |
| <span class="sympad">getIntExtra</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> name, int defaultValue)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Retrieve extended data from the intent.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>name</td> |
| <td>The name of the desired item.</td> |
| </tr> |
| <tr> |
| <th>defaultValue</td> |
| <td>the value to be returned if no value of the desired |
| type is stored with the given name.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>the value of an item that previously added with putExtra() |
| or the default value if none was found.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#putExtra(java.lang.String, int)">putExtra(String, int)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="getIntegerArrayListExtra(java.lang.String)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/java/util/ArrayList.html">ArrayList</a><<a href="../../../reference/java/lang/Integer.html">Integer</a>> |
| </span> |
| <span class="sympad">getIntegerArrayListExtra</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> name)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Retrieve extended data from the intent.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>name</td> |
| <td>The name of the desired item.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>the value of an item that previously added with putExtra() |
| or null if no ArrayList<Integer> value was found.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#putIntegerArrayListExtra(java.lang.String, java.util.ArrayList<java.lang.Integer>)">putIntegerArrayListExtra(String, ArrayList)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="getIntent(java.lang.String)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a> |
| </span> |
| <span class="sympad">getIntent</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> uri)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| <p> |
| <p class="caution"> |
| <strong>This method was deprecated |
| in API level 4</strong>.<br/> Use <code><a href="../../../reference/android/content/Intent.html#parseUri(java.lang.String, int)">parseUri(String, int)</a></code> instead. |
| |
| </p> |
| <div class="jd-tagdata jd-tagdescr"><p>Call <code><a href="../../../reference/android/content/Intent.html#parseUri(java.lang.String, int)">parseUri(String, int)</a></code> with 0 flags.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Throws</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th><a href="../../../reference/java/net/URISyntaxException.html">URISyntaxException</a></td> |
| <td></td> |
| </tr> |
| </table> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="getIntentOld(java.lang.String)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a> |
| </span> |
| <span class="sympad">getIntentOld</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> uri)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p></p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Throws</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th><a href="../../../reference/java/net/URISyntaxException.html">URISyntaxException</a></td> |
| <td></td> |
| </tr> |
| </table> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="getLongArrayExtra(java.lang.String)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| long[] |
| </span> |
| <span class="sympad">getLongArrayExtra</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> name)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Retrieve extended data from the intent.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>name</td> |
| <td>The name of the desired item.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>the value of an item that previously added with putExtra() |
| or null if no long array value was found.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#putExtra(java.lang.String, long[])">putExtra(String, long[])</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="getLongExtra(java.lang.String, long)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| long |
| </span> |
| <span class="sympad">getLongExtra</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> name, long defaultValue)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Retrieve extended data from the intent.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>name</td> |
| <td>The name of the desired item.</td> |
| </tr> |
| <tr> |
| <th>defaultValue</td> |
| <td>the value to be returned if no value of the desired |
| type is stored with the given name.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>the value of an item that previously added with putExtra() |
| or the default value if none was found.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#putExtra(java.lang.String, long)">putExtra(String, long)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="getPackage()"></A> |
| |
| <div class="jd-details api apilevel-4"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| <span class="sympad">getPackage</span> |
| <span class="normal">()</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 4</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Retrieve the application package name this Intent is limited to. When |
| resolving an Intent, if non-null this limits the resolution to only |
| components in the given application package.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>The name of the application package for the Intent.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#resolveActivity(android.content.pm.PackageManager)">resolveActivity(PackageManager)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#setPackage(java.lang.String)">setPackage(String)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="getParcelableArrayExtra(java.lang.String)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/android/os/Parcelable.html">Parcelable[]</a> |
| </span> |
| <span class="sympad">getParcelableArrayExtra</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> name)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Retrieve extended data from the intent.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>name</td> |
| <td>The name of the desired item.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>the value of an item that previously added with putExtra() |
| or null if no Parcelable[] value was found.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#putExtra(java.lang.String, android.os.Parcelable[])">putExtra(String, Parcelable[])</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="getParcelableArrayListExtra(java.lang.String)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/java/util/ArrayList.html">ArrayList</a><T> |
| </span> |
| <span class="sympad">getParcelableArrayListExtra</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> name)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Retrieve extended data from the intent.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>name</td> |
| <td>The name of the desired item.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>the value of an item that previously added with putExtra() |
| or null if no ArrayList<Parcelable> value was found.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#putParcelableArrayListExtra(java.lang.String, java.util.ArrayList<? extends android.os.Parcelable>)">putParcelableArrayListExtra(String, ArrayList)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="getParcelableExtra(java.lang.String)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| T |
| </span> |
| <span class="sympad">getParcelableExtra</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> name)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Retrieve extended data from the intent.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>name</td> |
| <td>The name of the desired item.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>the value of an item that previously added with putExtra() |
| or null if no Parcelable value was found.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#putExtra(java.lang.String, android.os.Parcelable)">putExtra(String, Parcelable)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="getScheme()"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| <span class="sympad">getScheme</span> |
| <span class="normal">()</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Return the scheme portion of the intent's data. If the data is null or |
| does not include a scheme, null is returned. Otherwise, the scheme |
| prefix without the final ':' is returned, i.e. "http". |
| |
| <p>This is the same as calling getData().getScheme() (and checking for |
| null data).</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>The scheme of this intent.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#getData()">getData()</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="getSelector()"></A> |
| |
| <div class="jd-details api apilevel-15"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a> |
| </span> |
| <span class="sympad">getSelector</span> |
| <span class="normal">()</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 15</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Return the specific selector associated with this Intent. If there is |
| none, returns null. See <code><a href="../../../reference/android/content/Intent.html#setSelector(android.content.Intent)">setSelector(Intent)</a></code> for more information.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#setSelector(android.content.Intent)">setSelector(Intent)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="getSerializableExtra(java.lang.String)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/java/io/Serializable.html">Serializable</a> |
| </span> |
| <span class="sympad">getSerializableExtra</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> name)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Retrieve extended data from the intent.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>name</td> |
| <td>The name of the desired item.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>the value of an item that previously added with putExtra() |
| or null if no Serializable value was found.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#putExtra(java.lang.String, java.io.Serializable)">putExtra(String, Serializable)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="getShortArrayExtra(java.lang.String)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| short[] |
| </span> |
| <span class="sympad">getShortArrayExtra</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> name)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Retrieve extended data from the intent.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>name</td> |
| <td>The name of the desired item.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>the value of an item that previously added with putExtra() |
| or null if no short array value was found.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#putExtra(java.lang.String, short[])">putExtra(String, short[])</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="getShortExtra(java.lang.String, short)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| short |
| </span> |
| <span class="sympad">getShortExtra</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> name, short defaultValue)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Retrieve extended data from the intent.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>name</td> |
| <td>The name of the desired item.</td> |
| </tr> |
| <tr> |
| <th>defaultValue</td> |
| <td>the value to be returned if no value of the desired |
| type is stored with the given name.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>the value of an item that previously added with putExtra() |
| or the default value if none was found.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#putExtra(java.lang.String, short)">putExtra(String, short)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="getSourceBounds()"></A> |
| |
| <div class="jd-details api apilevel-7"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/android/graphics/Rect.html">Rect</a> |
| </span> |
| <span class="sympad">getSourceBounds</span> |
| <span class="normal">()</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 7</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Get the bounds of the sender of this intent, in screen coordinates. This can be |
| used as a hint to the receiver for animations and the like. Null means that there |
| is no source bounds. |
| </p></div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="getStringArrayExtra(java.lang.String)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/java/lang/String.html">String[]</a> |
| </span> |
| <span class="sympad">getStringArrayExtra</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> name)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Retrieve extended data from the intent.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>name</td> |
| <td>The name of the desired item.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>the value of an item that previously added with putExtra() |
| or null if no String array value was found.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#putExtra(java.lang.String, java.lang.String[])">putExtra(String, String[])</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="getStringArrayListExtra(java.lang.String)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/java/util/ArrayList.html">ArrayList</a><<a href="../../../reference/java/lang/String.html">String</a>> |
| </span> |
| <span class="sympad">getStringArrayListExtra</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> name)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Retrieve extended data from the intent.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>name</td> |
| <td>The name of the desired item.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>the value of an item that previously added with putExtra() |
| or null if no ArrayList<String> value was found.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#putStringArrayListExtra(java.lang.String, java.util.ArrayList<java.lang.String>)">putStringArrayListExtra(String, ArrayList)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="getStringExtra(java.lang.String)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| <span class="sympad">getStringExtra</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> name)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Retrieve extended data from the intent.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>name</td> |
| <td>The name of the desired item.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>the value of an item that previously added with putExtra() |
| or null if no String value was found.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#putExtra(java.lang.String, java.lang.String)">putExtra(String, String)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="getType()"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| <span class="sympad">getType</span> |
| <span class="normal">()</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Retrieve any explicit MIME type included in the intent. This is usually |
| null, as the type is determined by the intent data.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>If a type was manually set, it is returned; else null is |
| returned.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#resolveType(android.content.ContentResolver)">resolveType(ContentResolver)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#setType(java.lang.String)">setType(String)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="hasCategory(java.lang.String)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| boolean |
| </span> |
| <span class="sympad">hasCategory</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> category)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Check if a category exists in the intent.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>category</td> |
| <td>The category to check.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>boolean True if the intent contains the category, else false.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#getCategories()">getCategories()</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#addCategory(java.lang.String)">addCategory(String)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="hasExtra(java.lang.String)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| boolean |
| </span> |
| <span class="sympad">hasExtra</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> name)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Returns true if an extra value is associated with the given name.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>name</td> |
| <td>the extra's name</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>true if the given extra is present. |
| </li></ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="hasFileDescriptors()"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| boolean |
| </span> |
| <span class="sympad">hasFileDescriptors</span> |
| <span class="normal">()</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Returns true if the Intent's extras contain a parcelled file descriptor.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>true if the Intent contains a parcelled file descriptor. |
| </li></ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="makeMainActivity(android.content.ComponentName)"></A> |
| |
| <div class="jd-details api apilevel-11"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a> |
| </span> |
| <span class="sympad">makeMainActivity</span> |
| <span class="normal">(<a href="../../../reference/android/content/ComponentName.html">ComponentName</a> mainActivity)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 11</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Create an intent to launch the main (root) activity of a task. This |
| is the Intent that is started when the application's is launched from |
| Home. For anything else that wants to launch an application in the |
| same way, it is important that they use an Intent structured the same |
| way, and can use this function to ensure this is the case. |
| |
| <p>The returned Intent has the given Activity component as its explicit |
| component, <code><a href="../../../reference/android/content/Intent.html#ACTION_MAIN">ACTION_MAIN</a></code> as its action, and includes the |
| category <code><a href="../../../reference/android/content/Intent.html#CATEGORY_LAUNCHER">CATEGORY_LAUNCHER</a></code>. This does <em>not</em> have |
| <code><a href="../../../reference/android/content/Intent.html#FLAG_ACTIVITY_NEW_TASK">FLAG_ACTIVITY_NEW_TASK</a></code> set, though typically you will want |
| to do that through <code><a href="../../../reference/android/content/Intent.html#addFlags(int)">addFlags(int)</a></code> on the returned Intent.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>mainActivity</td> |
| <td>The main activity component that this Intent will |
| launch.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>Returns a newly created Intent that can be used to launch the |
| activity as a main application entry.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#setClass(android.content.Context, java.lang.Class<?>)">setClass(Context, Class<?>)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#setComponent(android.content.ComponentName)">setComponent(ComponentName)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="makeMainSelectorActivity(java.lang.String, java.lang.String)"></A> |
| |
| <div class="jd-details api apilevel-15"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a> |
| </span> |
| <span class="sympad">makeMainSelectorActivity</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> selectorAction, <a href="../../../reference/java/lang/String.html">String</a> selectorCategory)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 15</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Make an Intent for the main activity of an application, without |
| specifying a specific activity to run but giving a selector to find |
| the activity. This results in a final Intent that is structured |
| the same as when the application is launched from |
| Home. For anything else that wants to launch an application in the |
| same way, it is important that they use an Intent structured the same |
| way, and can use this function to ensure this is the case. |
| |
| <p>The returned Intent has <code><a href="../../../reference/android/content/Intent.html#ACTION_MAIN">ACTION_MAIN</a></code> as its action, and includes the |
| category <code><a href="../../../reference/android/content/Intent.html#CATEGORY_LAUNCHER">CATEGORY_LAUNCHER</a></code>. This does <em>not</em> have |
| <code><a href="../../../reference/android/content/Intent.html#FLAG_ACTIVITY_NEW_TASK">FLAG_ACTIVITY_NEW_TASK</a></code> set, though typically you will want |
| to do that through <code><a href="../../../reference/android/content/Intent.html#addFlags(int)">addFlags(int)</a></code> on the returned Intent.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>selectorAction</td> |
| <td>The action name of the Intent's selector.</td> |
| </tr> |
| <tr> |
| <th>selectorCategory</td> |
| <td>The name of a category to add to the Intent's |
| selector.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>Returns a newly created Intent that can be used to launch the |
| activity as a main application entry.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#setSelector(android.content.Intent)">setSelector(Intent)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="makeRestartActivityTask(android.content.ComponentName)"></A> |
| |
| <div class="jd-details api apilevel-11"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a> |
| </span> |
| <span class="sympad">makeRestartActivityTask</span> |
| <span class="normal">(<a href="../../../reference/android/content/ComponentName.html">ComponentName</a> mainActivity)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 11</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Make an Intent that can be used to re-launch an application's task |
| in its base state. This is like <code><a href="../../../reference/android/content/Intent.html#makeMainActivity(android.content.ComponentName)">makeMainActivity(ComponentName)</a></code>, |
| but also sets the flags <code><a href="../../../reference/android/content/Intent.html#FLAG_ACTIVITY_NEW_TASK">FLAG_ACTIVITY_NEW_TASK</a></code> and |
| <code><a href="../../../reference/android/content/Intent.html#FLAG_ACTIVITY_CLEAR_TASK">FLAG_ACTIVITY_CLEAR_TASK</a></code>.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>mainActivity</td> |
| <td>The activity component that is the root of the |
| task; this is the activity that has been published in the application's |
| manifest as the main launcher icon.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>Returns a newly created Intent that can be used to relaunch the |
| activity's task in its root state. |
| </li></ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="normalizeMimeType(java.lang.String)"></A> |
| |
| <div class="jd-details api apilevel-16"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| |
| |
| |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| <span class="sympad">normalizeMimeType</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> type)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 16</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Normalize a MIME data type. |
| |
| <p>A normalized MIME type has white-space trimmed, |
| content-type parameters removed, and is lower-case. |
| This aligns the type with Android best practices for |
| intent filtering. |
| |
| <p>For example, "text/plain; charset=utf-8" becomes "text/plain". |
| "text/x-vCard" becomes "text/x-vcard". |
| |
| <p>All MIME types received from outside Android (such as user input, |
| or external sources like Bluetooth, NFC, or the Internet) should |
| be normalized before they are used to create an Intent.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>type</td> |
| <td>MIME data type to normalize</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>normalized MIME data type, or null if the input was null</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../">ERROR(#setType}/{@link #setType})</a></code></li><li><code><a href="../../../">ERROR(#setTypeAndNormalize} |
| /{@link #setTypeAndNormalize})</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="parseIntent(android.content.res.Resources, org.xmlpull.v1.XmlPullParser, android.util.AttributeSet)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a> |
| </span> |
| <span class="sympad">parseIntent</span> |
| <span class="normal">(<a href="../../../reference/android/content/res/Resources.html">Resources</a> resources, <a href="../../../reference/org/xmlpull/v1/XmlPullParser.html">XmlPullParser</a> parser, <a href="../../../reference/android/util/AttributeSet.html">AttributeSet</a> attrs)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Parses the "intent" element (and its children) from XML and instantiates |
| an Intent object. The given XML parser should be located at the tag |
| where parsing should start (often named "intent"), from which the |
| basic action, data, type, and package and class name will be |
| retrieved. The function will then parse in to any child elements, |
| looking for <category android:name="xxx"> tags to add categories and |
| <extra android:name="xxx" android:value="yyy"> to attach extra data |
| to the intent.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>resources</td> |
| <td>The Resources to use when inflating resources.</td> |
| </tr> |
| <tr> |
| <th>parser</td> |
| <td>The XML parser pointing at an "intent" tag.</td> |
| </tr> |
| <tr> |
| <th>attrs</td> |
| <td>The AttributeSet interface for retrieving extended |
| attribute data at the current <var>parser</var> location.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>An Intent object matching the XML data.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Throws</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th><a href="../../../reference/org/xmlpull/v1/XmlPullParserException.html">XmlPullParserException</a></td> |
| <td>If there was an XML parsing error.</td> |
| </tr> |
| <tr> |
| <th><a href="../../../reference/java/io/IOException.html">IOException</a></td> |
| <td>If there was an I/O error. |
| </td> |
| </tr> |
| </table> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="parseUri(java.lang.String, int)"></A> |
| |
| <div class="jd-details api apilevel-4"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a> |
| </span> |
| <span class="sympad">parseUri</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> uri, int flags)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 4</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Create an intent from a URI. This URI may encode the action, |
| category, and other intent fields, if it was returned by |
| <code><a href="../../../reference/android/content/Intent.html#toUri(int)">toUri(int)</a></code>. If the Intent was not generate by toUri(), its data |
| will be the entire URI and its action will be ACTION_VIEW. |
| |
| <p>The URI given here must not be relative -- that is, it must include |
| the scheme and full path.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>uri</td> |
| <td>The URI to turn into an Intent.</td> |
| </tr> |
| <tr> |
| <th>flags</td> |
| <td>Additional processing flags. Either 0 or |
| <code><a href="../../../reference/android/content/Intent.html#URI_INTENT_SCHEME">URI_INTENT_SCHEME</a></code>.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>Intent The newly created Intent object.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Throws</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th><a href="../../../reference/java/net/URISyntaxException.html">URISyntaxException</a></td> |
| <td>Throws URISyntaxError if the basic URI syntax |
| it bad (as parsed by the Uri class) or the Intent data within the |
| URI is invalid.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#toUri(int)">toUri(int)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="putCharSequenceArrayListExtra(java.lang.String, java.util.ArrayList<java.lang.CharSequence>)"></A> |
| |
| <div class="jd-details api apilevel-8"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a> |
| </span> |
| <span class="sympad">putCharSequenceArrayListExtra</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> name, <a href="../../../reference/java/util/ArrayList.html">ArrayList</a><<a href="../../../reference/java/lang/CharSequence.html">CharSequence</a>> value)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 8</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Add extended data to the intent. The name must include a package |
| prefix, for example the app com.android.contacts would use names |
| like "com.android.contacts.ShowAll".</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>name</td> |
| <td>The name of the extra data, with package prefix.</td> |
| </tr> |
| <tr> |
| <th>value</td> |
| <td>The ArrayList<CharSequence> data value.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>Returns the same Intent object, for chaining multiple calls |
| into a single statement.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#putExtras(android.content.Intent)">putExtras(Intent)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#removeExtra(java.lang.String)">removeExtra(String)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#getCharSequenceArrayListExtra(java.lang.String)">getCharSequenceArrayListExtra(String)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="putExtra(java.lang.String, double[])"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a> |
| </span> |
| <span class="sympad">putExtra</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> name, double[] value)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Add extended data to the intent. The name must include a package |
| prefix, for example the app com.android.contacts would use names |
| like "com.android.contacts.ShowAll".</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>name</td> |
| <td>The name of the extra data, with package prefix.</td> |
| </tr> |
| <tr> |
| <th>value</td> |
| <td>The double array data value.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>Returns the same Intent object, for chaining multiple calls |
| into a single statement.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#putExtras(android.content.Intent)">putExtras(Intent)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#removeExtra(java.lang.String)">removeExtra(String)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#getDoubleArrayExtra(java.lang.String)">getDoubleArrayExtra(String)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="putExtra(java.lang.String, int)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a> |
| </span> |
| <span class="sympad">putExtra</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> name, int value)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Add extended data to the intent. The name must include a package |
| prefix, for example the app com.android.contacts would use names |
| like "com.android.contacts.ShowAll".</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>name</td> |
| <td>The name of the extra data, with package prefix.</td> |
| </tr> |
| <tr> |
| <th>value</td> |
| <td>The integer data value.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>Returns the same Intent object, for chaining multiple calls |
| into a single statement.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#putExtras(android.content.Intent)">putExtras(Intent)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#removeExtra(java.lang.String)">removeExtra(String)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#getIntExtra(java.lang.String, int)">getIntExtra(String, int)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="putExtra(java.lang.String, java.lang.CharSequence)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a> |
| </span> |
| <span class="sympad">putExtra</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> name, <a href="../../../reference/java/lang/CharSequence.html">CharSequence</a> value)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Add extended data to the intent. The name must include a package |
| prefix, for example the app com.android.contacts would use names |
| like "com.android.contacts.ShowAll".</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>name</td> |
| <td>The name of the extra data, with package prefix.</td> |
| </tr> |
| <tr> |
| <th>value</td> |
| <td>The CharSequence data value.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>Returns the same Intent object, for chaining multiple calls |
| into a single statement.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#putExtras(android.content.Intent)">putExtras(Intent)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#removeExtra(java.lang.String)">removeExtra(String)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#getCharSequenceExtra(java.lang.String)">getCharSequenceExtra(String)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="putExtra(java.lang.String, char)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a> |
| </span> |
| <span class="sympad">putExtra</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> name, char value)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Add extended data to the intent. The name must include a package |
| prefix, for example the app com.android.contacts would use names |
| like "com.android.contacts.ShowAll".</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>name</td> |
| <td>The name of the extra data, with package prefix.</td> |
| </tr> |
| <tr> |
| <th>value</td> |
| <td>The char data value.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>Returns the same Intent object, for chaining multiple calls |
| into a single statement.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#putExtras(android.content.Intent)">putExtras(Intent)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#removeExtra(java.lang.String)">removeExtra(String)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#getCharExtra(java.lang.String, char)">getCharExtra(String, char)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="putExtra(java.lang.String, android.os.Bundle)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a> |
| </span> |
| <span class="sympad">putExtra</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> name, <a href="../../../reference/android/os/Bundle.html">Bundle</a> value)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Add extended data to the intent. The name must include a package |
| prefix, for example the app com.android.contacts would use names |
| like "com.android.contacts.ShowAll".</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>name</td> |
| <td>The name of the extra data, with package prefix.</td> |
| </tr> |
| <tr> |
| <th>value</td> |
| <td>The Bundle data value.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>Returns the same Intent object, for chaining multiple calls |
| into a single statement.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#putExtras(android.content.Intent)">putExtras(Intent)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#removeExtra(java.lang.String)">removeExtra(String)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#getBundleExtra(java.lang.String)">getBundleExtra(String)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="putExtra(java.lang.String, android.os.Parcelable[])"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a> |
| </span> |
| <span class="sympad">putExtra</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> name, <a href="../../../reference/android/os/Parcelable.html">Parcelable[]</a> value)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Add extended data to the intent. The name must include a package |
| prefix, for example the app com.android.contacts would use names |
| like "com.android.contacts.ShowAll".</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>name</td> |
| <td>The name of the extra data, with package prefix.</td> |
| </tr> |
| <tr> |
| <th>value</td> |
| <td>The Parcelable[] data value.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>Returns the same Intent object, for chaining multiple calls |
| into a single statement.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#putExtras(android.content.Intent)">putExtras(Intent)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#removeExtra(java.lang.String)">removeExtra(String)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#getParcelableArrayExtra(java.lang.String)">getParcelableArrayExtra(String)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="putExtra(java.lang.String, java.io.Serializable)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a> |
| </span> |
| <span class="sympad">putExtra</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> name, <a href="../../../reference/java/io/Serializable.html">Serializable</a> value)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Add extended data to the intent. The name must include a package |
| prefix, for example the app com.android.contacts would use names |
| like "com.android.contacts.ShowAll".</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>name</td> |
| <td>The name of the extra data, with package prefix.</td> |
| </tr> |
| <tr> |
| <th>value</td> |
| <td>The Serializable data value.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>Returns the same Intent object, for chaining multiple calls |
| into a single statement.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#putExtras(android.content.Intent)">putExtras(Intent)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#removeExtra(java.lang.String)">removeExtra(String)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#getSerializableExtra(java.lang.String)">getSerializableExtra(String)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="putExtra(java.lang.String, int[])"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a> |
| </span> |
| <span class="sympad">putExtra</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> name, int[] value)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Add extended data to the intent. The name must include a package |
| prefix, for example the app com.android.contacts would use names |
| like "com.android.contacts.ShowAll".</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>name</td> |
| <td>The name of the extra data, with package prefix.</td> |
| </tr> |
| <tr> |
| <th>value</td> |
| <td>The int array data value.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>Returns the same Intent object, for chaining multiple calls |
| into a single statement.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#putExtras(android.content.Intent)">putExtras(Intent)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#removeExtra(java.lang.String)">removeExtra(String)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#getIntArrayExtra(java.lang.String)">getIntArrayExtra(String)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="putExtra(java.lang.String, float)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a> |
| </span> |
| <span class="sympad">putExtra</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> name, float value)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Add extended data to the intent. The name must include a package |
| prefix, for example the app com.android.contacts would use names |
| like "com.android.contacts.ShowAll".</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>name</td> |
| <td>The name of the extra data, with package prefix.</td> |
| </tr> |
| <tr> |
| <th>value</td> |
| <td>The float data value.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>Returns the same Intent object, for chaining multiple calls |
| into a single statement.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#putExtras(android.content.Intent)">putExtras(Intent)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#removeExtra(java.lang.String)">removeExtra(String)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#getFloatExtra(java.lang.String, float)">getFloatExtra(String, float)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="putExtra(java.lang.String, byte[])"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a> |
| </span> |
| <span class="sympad">putExtra</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> name, byte[] value)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Add extended data to the intent. The name must include a package |
| prefix, for example the app com.android.contacts would use names |
| like "com.android.contacts.ShowAll".</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>name</td> |
| <td>The name of the extra data, with package prefix.</td> |
| </tr> |
| <tr> |
| <th>value</td> |
| <td>The byte array data value.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>Returns the same Intent object, for chaining multiple calls |
| into a single statement.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#putExtras(android.content.Intent)">putExtras(Intent)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#removeExtra(java.lang.String)">removeExtra(String)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#getByteArrayExtra(java.lang.String)">getByteArrayExtra(String)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="putExtra(java.lang.String, long[])"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a> |
| </span> |
| <span class="sympad">putExtra</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> name, long[] value)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Add extended data to the intent. The name must include a package |
| prefix, for example the app com.android.contacts would use names |
| like "com.android.contacts.ShowAll".</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>name</td> |
| <td>The name of the extra data, with package prefix.</td> |
| </tr> |
| <tr> |
| <th>value</td> |
| <td>The byte array data value.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>Returns the same Intent object, for chaining multiple calls |
| into a single statement.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#putExtras(android.content.Intent)">putExtras(Intent)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#removeExtra(java.lang.String)">removeExtra(String)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#getLongArrayExtra(java.lang.String)">getLongArrayExtra(String)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="putExtra(java.lang.String, android.os.Parcelable)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a> |
| </span> |
| <span class="sympad">putExtra</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> name, <a href="../../../reference/android/os/Parcelable.html">Parcelable</a> value)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Add extended data to the intent. The name must include a package |
| prefix, for example the app com.android.contacts would use names |
| like "com.android.contacts.ShowAll".</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>name</td> |
| <td>The name of the extra data, with package prefix.</td> |
| </tr> |
| <tr> |
| <th>value</td> |
| <td>The Parcelable data value.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>Returns the same Intent object, for chaining multiple calls |
| into a single statement.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#putExtras(android.content.Intent)">putExtras(Intent)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#removeExtra(java.lang.String)">removeExtra(String)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#getParcelableExtra(java.lang.String)">getParcelableExtra(String)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="putExtra(java.lang.String, float[])"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a> |
| </span> |
| <span class="sympad">putExtra</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> name, float[] value)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Add extended data to the intent. The name must include a package |
| prefix, for example the app com.android.contacts would use names |
| like "com.android.contacts.ShowAll".</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>name</td> |
| <td>The name of the extra data, with package prefix.</td> |
| </tr> |
| <tr> |
| <th>value</td> |
| <td>The float array data value.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>Returns the same Intent object, for chaining multiple calls |
| into a single statement.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#putExtras(android.content.Intent)">putExtras(Intent)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#removeExtra(java.lang.String)">removeExtra(String)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#getFloatArrayExtra(java.lang.String)">getFloatArrayExtra(String)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="putExtra(java.lang.String, long)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a> |
| </span> |
| <span class="sympad">putExtra</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> name, long value)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Add extended data to the intent. The name must include a package |
| prefix, for example the app com.android.contacts would use names |
| like "com.android.contacts.ShowAll".</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>name</td> |
| <td>The name of the extra data, with package prefix.</td> |
| </tr> |
| <tr> |
| <th>value</td> |
| <td>The long data value.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>Returns the same Intent object, for chaining multiple calls |
| into a single statement.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#putExtras(android.content.Intent)">putExtras(Intent)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#removeExtra(java.lang.String)">removeExtra(String)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#getLongExtra(java.lang.String, long)">getLongExtra(String, long)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="putExtra(java.lang.String, java.lang.String[])"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a> |
| </span> |
| <span class="sympad">putExtra</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> name, <a href="../../../reference/java/lang/String.html">String[]</a> value)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Add extended data to the intent. The name must include a package |
| prefix, for example the app com.android.contacts would use names |
| like "com.android.contacts.ShowAll".</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>name</td> |
| <td>The name of the extra data, with package prefix.</td> |
| </tr> |
| <tr> |
| <th>value</td> |
| <td>The String array data value.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>Returns the same Intent object, for chaining multiple calls |
| into a single statement.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#putExtras(android.content.Intent)">putExtras(Intent)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#removeExtra(java.lang.String)">removeExtra(String)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#getStringArrayExtra(java.lang.String)">getStringArrayExtra(String)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="putExtra(java.lang.String, boolean)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a> |
| </span> |
| <span class="sympad">putExtra</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> name, boolean value)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Add extended data to the intent. The name must include a package |
| prefix, for example the app com.android.contacts would use names |
| like "com.android.contacts.ShowAll".</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>name</td> |
| <td>The name of the extra data, with package prefix.</td> |
| </tr> |
| <tr> |
| <th>value</td> |
| <td>The boolean data value.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>Returns the same Intent object, for chaining multiple calls |
| into a single statement.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#putExtras(android.content.Intent)">putExtras(Intent)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#removeExtra(java.lang.String)">removeExtra(String)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#getBooleanExtra(java.lang.String, boolean)">getBooleanExtra(String, boolean)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="putExtra(java.lang.String, boolean[])"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a> |
| </span> |
| <span class="sympad">putExtra</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> name, boolean[] value)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Add extended data to the intent. The name must include a package |
| prefix, for example the app com.android.contacts would use names |
| like "com.android.contacts.ShowAll".</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>name</td> |
| <td>The name of the extra data, with package prefix.</td> |
| </tr> |
| <tr> |
| <th>value</td> |
| <td>The boolean array data value.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>Returns the same Intent object, for chaining multiple calls |
| into a single statement.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#putExtras(android.content.Intent)">putExtras(Intent)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#removeExtra(java.lang.String)">removeExtra(String)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#getBooleanArrayExtra(java.lang.String)">getBooleanArrayExtra(String)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="putExtra(java.lang.String, short)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a> |
| </span> |
| <span class="sympad">putExtra</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> name, short value)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Add extended data to the intent. The name must include a package |
| prefix, for example the app com.android.contacts would use names |
| like "com.android.contacts.ShowAll".</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>name</td> |
| <td>The name of the extra data, with package prefix.</td> |
| </tr> |
| <tr> |
| <th>value</td> |
| <td>The short data value.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>Returns the same Intent object, for chaining multiple calls |
| into a single statement.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#putExtras(android.content.Intent)">putExtras(Intent)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#removeExtra(java.lang.String)">removeExtra(String)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#getShortExtra(java.lang.String, short)">getShortExtra(String, short)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="putExtra(java.lang.String, double)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a> |
| </span> |
| <span class="sympad">putExtra</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> name, double value)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Add extended data to the intent. The name must include a package |
| prefix, for example the app com.android.contacts would use names |
| like "com.android.contacts.ShowAll".</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>name</td> |
| <td>The name of the extra data, with package prefix.</td> |
| </tr> |
| <tr> |
| <th>value</td> |
| <td>The double data value.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>Returns the same Intent object, for chaining multiple calls |
| into a single statement.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#putExtras(android.content.Intent)">putExtras(Intent)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#removeExtra(java.lang.String)">removeExtra(String)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#getDoubleExtra(java.lang.String, double)">getDoubleExtra(String, double)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="putExtra(java.lang.String, short[])"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a> |
| </span> |
| <span class="sympad">putExtra</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> name, short[] value)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Add extended data to the intent. The name must include a package |
| prefix, for example the app com.android.contacts would use names |
| like "com.android.contacts.ShowAll".</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>name</td> |
| <td>The name of the extra data, with package prefix.</td> |
| </tr> |
| <tr> |
| <th>value</td> |
| <td>The short array data value.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>Returns the same Intent object, for chaining multiple calls |
| into a single statement.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#putExtras(android.content.Intent)">putExtras(Intent)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#removeExtra(java.lang.String)">removeExtra(String)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#getShortArrayExtra(java.lang.String)">getShortArrayExtra(String)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="putExtra(java.lang.String, java.lang.String)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a> |
| </span> |
| <span class="sympad">putExtra</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> name, <a href="../../../reference/java/lang/String.html">String</a> value)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Add extended data to the intent. The name must include a package |
| prefix, for example the app com.android.contacts would use names |
| like "com.android.contacts.ShowAll".</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>name</td> |
| <td>The name of the extra data, with package prefix.</td> |
| </tr> |
| <tr> |
| <th>value</td> |
| <td>The String data value.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>Returns the same Intent object, for chaining multiple calls |
| into a single statement.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#putExtras(android.content.Intent)">putExtras(Intent)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#removeExtra(java.lang.String)">removeExtra(String)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#getStringExtra(java.lang.String)">getStringExtra(String)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="putExtra(java.lang.String, byte)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a> |
| </span> |
| <span class="sympad">putExtra</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> name, byte value)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Add extended data to the intent. The name must include a package |
| prefix, for example the app com.android.contacts would use names |
| like "com.android.contacts.ShowAll".</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>name</td> |
| <td>The name of the extra data, with package prefix.</td> |
| </tr> |
| <tr> |
| <th>value</td> |
| <td>The byte data value.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>Returns the same Intent object, for chaining multiple calls |
| into a single statement.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#putExtras(android.content.Intent)">putExtras(Intent)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#removeExtra(java.lang.String)">removeExtra(String)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#getByteExtra(java.lang.String, byte)">getByteExtra(String, byte)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="putExtra(java.lang.String, char[])"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a> |
| </span> |
| <span class="sympad">putExtra</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> name, char[] value)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Add extended data to the intent. The name must include a package |
| prefix, for example the app com.android.contacts would use names |
| like "com.android.contacts.ShowAll".</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>name</td> |
| <td>The name of the extra data, with package prefix.</td> |
| </tr> |
| <tr> |
| <th>value</td> |
| <td>The char array data value.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>Returns the same Intent object, for chaining multiple calls |
| into a single statement.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#putExtras(android.content.Intent)">putExtras(Intent)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#removeExtra(java.lang.String)">removeExtra(String)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#getCharArrayExtra(java.lang.String)">getCharArrayExtra(String)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="putExtra(java.lang.String, java.lang.CharSequence[])"></A> |
| |
| <div class="jd-details api apilevel-8"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a> |
| </span> |
| <span class="sympad">putExtra</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> name, <a href="../../../reference/java/lang/CharSequence.html">CharSequence[]</a> value)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 8</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Add extended data to the intent. The name must include a package |
| prefix, for example the app com.android.contacts would use names |
| like "com.android.contacts.ShowAll".</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>name</td> |
| <td>The name of the extra data, with package prefix.</td> |
| </tr> |
| <tr> |
| <th>value</td> |
| <td>The CharSequence array data value.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>Returns the same Intent object, for chaining multiple calls |
| into a single statement.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#putExtras(android.content.Intent)">putExtras(Intent)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#removeExtra(java.lang.String)">removeExtra(String)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#getCharSequenceArrayExtra(java.lang.String)">getCharSequenceArrayExtra(String)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="putExtras(android.content.Intent)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a> |
| </span> |
| <span class="sympad">putExtras</span> |
| <span class="normal">(<a href="../../../reference/android/content/Intent.html">Intent</a> src)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Copy all extras in 'src' in to this intent.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>src</td> |
| <td>Contains the extras to copy.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#putExtra(java.lang.String, android.os.Bundle)">putExtra(String, Bundle)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="putExtras(android.os.Bundle)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a> |
| </span> |
| <span class="sympad">putExtras</span> |
| <span class="normal">(<a href="../../../reference/android/os/Bundle.html">Bundle</a> extras)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Add a set of extended data to the intent. The keys must include a package |
| prefix, for example the app com.android.contacts would use names |
| like "com.android.contacts.ShowAll".</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>extras</td> |
| <td>The Bundle of extras to add to this intent.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#putExtra(java.lang.String, android.os.Bundle)">putExtra(String, Bundle)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#removeExtra(java.lang.String)">removeExtra(String)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="putIntegerArrayListExtra(java.lang.String, java.util.ArrayList<java.lang.Integer>)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a> |
| </span> |
| <span class="sympad">putIntegerArrayListExtra</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> name, <a href="../../../reference/java/util/ArrayList.html">ArrayList</a><<a href="../../../reference/java/lang/Integer.html">Integer</a>> value)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Add extended data to the intent. The name must include a package |
| prefix, for example the app com.android.contacts would use names |
| like "com.android.contacts.ShowAll".</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>name</td> |
| <td>The name of the extra data, with package prefix.</td> |
| </tr> |
| <tr> |
| <th>value</td> |
| <td>The ArrayList<Integer> data value.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>Returns the same Intent object, for chaining multiple calls |
| into a single statement.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#putExtras(android.content.Intent)">putExtras(Intent)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#removeExtra(java.lang.String)">removeExtra(String)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#getIntegerArrayListExtra(java.lang.String)">getIntegerArrayListExtra(String)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="putParcelableArrayListExtra(java.lang.String, java.util.ArrayList<? extends android.os.Parcelable>)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a> |
| </span> |
| <span class="sympad">putParcelableArrayListExtra</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> name, <a href="../../../reference/java/util/ArrayList.html">ArrayList</a><? extends <a href="../../../reference/android/os/Parcelable.html">Parcelable</a>> value)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Add extended data to the intent. The name must include a package |
| prefix, for example the app com.android.contacts would use names |
| like "com.android.contacts.ShowAll".</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>name</td> |
| <td>The name of the extra data, with package prefix.</td> |
| </tr> |
| <tr> |
| <th>value</td> |
| <td>The ArrayList<Parcelable> data value.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>Returns the same Intent object, for chaining multiple calls |
| into a single statement.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#putExtras(android.content.Intent)">putExtras(Intent)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#removeExtra(java.lang.String)">removeExtra(String)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#getParcelableArrayListExtra(java.lang.String)">getParcelableArrayListExtra(String)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="putStringArrayListExtra(java.lang.String, java.util.ArrayList<java.lang.String>)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a> |
| </span> |
| <span class="sympad">putStringArrayListExtra</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> name, <a href="../../../reference/java/util/ArrayList.html">ArrayList</a><<a href="../../../reference/java/lang/String.html">String</a>> value)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Add extended data to the intent. The name must include a package |
| prefix, for example the app com.android.contacts would use names |
| like "com.android.contacts.ShowAll".</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>name</td> |
| <td>The name of the extra data, with package prefix.</td> |
| </tr> |
| <tr> |
| <th>value</td> |
| <td>The ArrayList<String> data value.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>Returns the same Intent object, for chaining multiple calls |
| into a single statement.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#putExtras(android.content.Intent)">putExtras(Intent)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#removeExtra(java.lang.String)">removeExtra(String)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#getStringArrayListExtra(java.lang.String)">getStringArrayListExtra(String)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="readFromParcel(android.os.Parcel)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| void |
| </span> |
| <span class="sympad">readFromParcel</span> |
| <span class="normal">(<a href="../../../reference/android/os/Parcel.html">Parcel</a> in)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p></p></div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="removeCategory(java.lang.String)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| void |
| </span> |
| <span class="sympad">removeCategory</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> category)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Remove a category from an intent.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>category</td> |
| <td>The category to remove.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#addCategory(java.lang.String)">addCategory(String)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="removeExtra(java.lang.String)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| void |
| </span> |
| <span class="sympad">removeExtra</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> name)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Remove extended data from the intent.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#putExtra(java.lang.String, android.os.Bundle)">putExtra(String, Bundle)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="replaceExtras(android.os.Bundle)"></A> |
| |
| <div class="jd-details api apilevel-3"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a> |
| </span> |
| <span class="sympad">replaceExtras</span> |
| <span class="normal">(<a href="../../../reference/android/os/Bundle.html">Bundle</a> extras)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 3</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Completely replace the extras in the Intent with the given Bundle of |
| extras.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>extras</td> |
| <td>The new set of extras in the Intent, or null to erase |
| all extras. |
| </td> |
| </tr> |
| </table> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="replaceExtras(android.content.Intent)"></A> |
| |
| <div class="jd-details api apilevel-3"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a> |
| </span> |
| <span class="sympad">replaceExtras</span> |
| <span class="normal">(<a href="../../../reference/android/content/Intent.html">Intent</a> src)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 3</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Completely replace the extras in the Intent with the extras in the |
| given Intent.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>src</td> |
| <td>The exact extras contained in this Intent are copied |
| into the target intent, replacing any that were previously there. |
| </td> |
| </tr> |
| </table> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="resolveActivity(android.content.pm.PackageManager)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/android/content/ComponentName.html">ComponentName</a> |
| </span> |
| <span class="sympad">resolveActivity</span> |
| <span class="normal">(<a href="../../../reference/android/content/pm/PackageManager.html">PackageManager</a> pm)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Return the Activity component that should be used to handle this intent. |
| The appropriate component is determined based on the information in the |
| intent, evaluated as follows: |
| |
| <p>If <code><a href="../../../reference/android/content/Intent.html#getComponent()">getComponent()</a></code> returns an explicit class, that is returned |
| without any further consideration. |
| |
| <p>The activity must handle the <code><a href="../../../reference/android/content/Intent.html#CATEGORY_DEFAULT">CATEGORY_DEFAULT</a></code> Intent |
| category to be considered. |
| |
| <p>If <code><a href="../../../reference/android/content/Intent.html#getAction()">getAction()</a></code> is non-NULL, the activity must handle this |
| action. |
| |
| <p>If <code><a href="../../../reference/android/content/Intent.html#resolveType(android.content.ContentResolver)">resolveType(ContentResolver)</a></code> returns non-NULL, the activity must handle |
| this type. |
| |
| <p>If <code><a href="../../../reference/android/content/Intent.html#addCategory(java.lang.String)">addCategory(String)</a></code> has added any categories, the activity must |
| handle ALL of the categories specified. |
| |
| <p>If <code><a href="../../../reference/android/content/Intent.html#getPackage()">getPackage()</a></code> is non-NULL, only activity components in |
| that application package will be considered. |
| |
| <p>If there are no activities that satisfy all of these conditions, a |
| null string is returned. |
| |
| <p>If multiple activities are found to satisfy the intent, the one with |
| the highest priority will be used. If there are multiple activities |
| with the same priority, the system will either pick the best activity |
| based on user preference, or resolve to a system class that will allow |
| the user to pick an activity and forward from there. |
| |
| <p>This method is implemented simply by calling |
| <code><a href="../../../reference/android/content/pm/PackageManager.html#resolveActivity(android.content.Intent, int)">resolveActivity(Intent, int)</a></code> with the "defaultOnly" parameter |
| true.</p> |
| <p> This API is called for you as part of starting an activity from an |
| intent. You do not normally need to call it yourself.</p></p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>pm</td> |
| <td>The package manager with which to resolve the Intent.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>Name of the component implementing an activity that can |
| display the intent.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#setComponent(android.content.ComponentName)">setComponent(ComponentName)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#getComponent()">getComponent()</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#resolveActivityInfo(android.content.pm.PackageManager, int)">resolveActivityInfo(PackageManager, int)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="resolveActivityInfo(android.content.pm.PackageManager, int)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/android/content/pm/ActivityInfo.html">ActivityInfo</a> |
| </span> |
| <span class="sympad">resolveActivityInfo</span> |
| <span class="normal">(<a href="../../../reference/android/content/pm/PackageManager.html">PackageManager</a> pm, int flags)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Resolve the Intent into an <code><a href="../../../reference/android/content/pm/ActivityInfo.html">ActivityInfo</a></code> |
| describing the activity that should execute the intent. Resolution |
| follows the same rules as described for <code><a href="../../../reference/android/content/Intent.html#resolveActivity(android.content.pm.PackageManager)">resolveActivity(PackageManager)</a></code>, but |
| you get back the completely information about the resolved activity |
| instead of just its class name.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>pm</td> |
| <td>The package manager with which to resolve the Intent.</td> |
| </tr> |
| <tr> |
| <th>flags</td> |
| <td>Addition information to retrieve as per |
| <code><a href="../../../reference/android/content/pm/PackageManager.html#getActivityInfo(android.content.ComponentName, int)">PackageManager.getActivityInfo()</a></code>.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>PackageManager.ActivityInfo</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#resolveActivity(android.content.pm.PackageManager)">resolveActivity(PackageManager)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="resolveType(android.content.ContentResolver)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| <span class="sympad">resolveType</span> |
| <span class="normal">(<a href="../../../reference/android/content/ContentResolver.html">ContentResolver</a> resolver)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Return the MIME data type of this intent. If the type field is |
| explicitly set, that is simply returned. Otherwise, if the data is set, |
| the type of that data is returned. If neither fields are set, a null is |
| returned.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>resolver</td> |
| <td>A ContentResolver that can be used to determine the MIME |
| type of the intent's data.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>The MIME type of this intent.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#getType()">getType()</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#resolveType(android.content.Context)">resolveType(Context)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="resolveType(android.content.Context)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| <span class="sympad">resolveType</span> |
| <span class="normal">(<a href="../../../reference/android/content/Context.html">Context</a> context)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Return the MIME data type of this intent. If the type field is |
| explicitly set, that is simply returned. Otherwise, if the data is set, |
| the type of that data is returned. If neither fields are set, a null is |
| returned.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>The MIME type of this intent.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#getType()">getType()</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#resolveType(android.content.ContentResolver)">resolveType(ContentResolver)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="resolveTypeIfNeeded(android.content.ContentResolver)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| <span class="sympad">resolveTypeIfNeeded</span> |
| <span class="normal">(<a href="../../../reference/android/content/ContentResolver.html">ContentResolver</a> resolver)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Return the MIME data type of this intent, only if it will be needed for |
| intent resolution. This is not generally useful for application code; |
| it is used by the frameworks for communicating with back-end system |
| services.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>resolver</td> |
| <td>A ContentResolver that can be used to determine the MIME |
| type of the intent's data.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>The MIME type of this intent, or null if it is unknown or not |
| needed. |
| </li></ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="setAction(java.lang.String)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a> |
| </span> |
| <span class="sympad">setAction</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> action)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Set the general action to be performed.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>action</td> |
| <td>An action name, such as ACTION_VIEW. Application-specific |
| actions should be prefixed with the vendor's package name.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>Returns the same Intent object, for chaining multiple calls |
| into a single statement.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#getAction()">getAction()</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="setClass(android.content.Context, java.lang.Class<?>)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a> |
| </span> |
| <span class="sympad">setClass</span> |
| <span class="normal">(<a href="../../../reference/android/content/Context.html">Context</a> packageContext, <a href="../../../reference/java/lang/Class.html">Class</a><?> cls)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Convenience for calling <code><a href="../../../reference/android/content/Intent.html#setComponent(android.content.ComponentName)">setComponent(ComponentName)</a></code> with the |
| name returned by a <code><a href="../../../reference/java/lang/Class.html">Class</a></code> object.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>packageContext</td> |
| <td>A Context of the application package implementing |
| this class.</td> |
| </tr> |
| <tr> |
| <th>cls</td> |
| <td>The class name to set, equivalent to |
| <code>setClassName(context, cls.getName())</code>.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>Returns the same Intent object, for chaining multiple calls |
| into a single statement.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#setComponent(android.content.ComponentName)">setComponent(ComponentName)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="setClassName(android.content.Context, java.lang.String)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a> |
| </span> |
| <span class="sympad">setClassName</span> |
| <span class="normal">(<a href="../../../reference/android/content/Context.html">Context</a> packageContext, <a href="../../../reference/java/lang/String.html">String</a> className)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Convenience for calling <code><a href="../../../reference/android/content/Intent.html#setComponent(android.content.ComponentName)">setComponent(ComponentName)</a></code> with an |
| explicit class name.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>packageContext</td> |
| <td>A Context of the application package implementing |
| this class.</td> |
| </tr> |
| <tr> |
| <th>className</td> |
| <td>The name of a class inside of the application package |
| that will be used as the component for this Intent.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>Returns the same Intent object, for chaining multiple calls |
| into a single statement.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#setComponent(android.content.ComponentName)">setComponent(ComponentName)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#setClass(android.content.Context, java.lang.Class<?>)">setClass(Context, Class<?>)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="setClassName(java.lang.String, java.lang.String)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a> |
| </span> |
| <span class="sympad">setClassName</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> packageName, <a href="../../../reference/java/lang/String.html">String</a> className)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Convenience for calling <code><a href="../../../reference/android/content/Intent.html#setComponent(android.content.ComponentName)">setComponent(ComponentName)</a></code> with an |
| explicit application package name and class name.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>packageName</td> |
| <td>The name of the package implementing the desired |
| component.</td> |
| </tr> |
| <tr> |
| <th>className</td> |
| <td>The name of a class inside of the application package |
| that will be used as the component for this Intent.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>Returns the same Intent object, for chaining multiple calls |
| into a single statement.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#setComponent(android.content.ComponentName)">setComponent(ComponentName)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#setClass(android.content.Context, java.lang.Class<?>)">setClass(Context, Class<?>)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="setClipData(android.content.ClipData)"></A> |
| |
| <div class="jd-details api apilevel-16"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| void |
| </span> |
| <span class="sympad">setClipData</span> |
| <span class="normal">(<a href="../../../reference/android/content/ClipData.html">ClipData</a> clip)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 16</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Set a <code><a href="../../../reference/android/content/ClipData.html">ClipData</a></code> associated with this Intent. This replaces any |
| previously set ClipData. |
| |
| <p>The ClipData in an intent is not used for Intent matching or other |
| such operations. Semantically it is like extras, used to transmit |
| additional data with the Intent. The main feature of using this over |
| the extras for data is that <code><a href="../../../reference/android/content/Intent.html#FLAG_GRANT_READ_URI_PERMISSION">FLAG_GRANT_READ_URI_PERMISSION</a></code> |
| and <code><a href="../../../reference/android/content/Intent.html#FLAG_GRANT_WRITE_URI_PERMISSION">FLAG_GRANT_WRITE_URI_PERMISSION</a></code> will operate on any URI |
| items included in the clip data. This is useful, in particular, if |
| you want to transmit an Intent containing multiple <code>content:</code> |
| URIs for which the recipient may not have global permission to access the |
| content provider. |
| |
| <p>If the ClipData contains items that are themselves Intents, any |
| grant flags in those Intents will be ignored. Only the top-level flags |
| of the main Intent are respected, and will be applied to all Uri or |
| Intent items in the clip (or sub-items of the clip). |
| |
| <p>The MIME type, label, and icon in the ClipData object are not |
| directly used by Intent. Applications should generally rely on the |
| MIME type of the Intent itself, not what it may find in the ClipData. |
| A common practice is to construct a ClipData for use with an Intent |
| with a MIME type of "*\/*".</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>clip</td> |
| <td>The new clip to set. May be null to clear the current clip. |
| </td> |
| </tr> |
| </table> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="setComponent(android.content.ComponentName)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a> |
| </span> |
| <span class="sympad">setComponent</span> |
| <span class="normal">(<a href="../../../reference/android/content/ComponentName.html">ComponentName</a> component)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>(Usually optional) Explicitly set the component to handle the intent. |
| If left with the default value of null, the system will determine the |
| appropriate class to use based on the other fields (action, data, |
| type, categories) in the Intent. If this class is defined, the |
| specified class will always be used regardless of the other fields. You |
| should only set this value when you know you absolutely want a specific |
| class to be used; otherwise it is better to let the system find the |
| appropriate class so that you will respect the installed applications |
| and user preferences.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>component</td> |
| <td>The name of the application component to handle the |
| intent, or null to let the system find one for you.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>Returns the same Intent object, for chaining multiple calls |
| into a single statement.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#setClass(android.content.Context, java.lang.Class<?>)">setClass(Context, Class<?>)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#setClassName(android.content.Context, java.lang.String)">setClassName(Context, String)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#setClassName(java.lang.String, java.lang.String)">setClassName(String, String)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#getComponent()">getComponent()</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#resolveActivity(android.content.pm.PackageManager)">resolveActivity(PackageManager)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="setData(android.net.Uri)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a> |
| </span> |
| <span class="sympad">setData</span> |
| <span class="normal">(<a href="../../../reference/android/net/Uri.html">Uri</a> data)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Set the data this intent is operating on. This method automatically |
| clears any type that was previously set by <code><a href="../../../reference/android/content/Intent.html#setType(java.lang.String)">setType(String)</a></code> or |
| <code><a href="../../../reference/android/content/Intent.html#setTypeAndNormalize(java.lang.String)">setTypeAndNormalize(String)</a></code>. |
| |
| <p><em>Note: scheme matching in the Android framework is |
| case-sensitive, unlike the formal RFC. As a result, |
| you should always write your Uri with a lower case scheme, |
| or use <code><a href="../../../reference/android/net/Uri.html#normalizeScheme()">normalizeScheme()</a></code> or |
| <code><a href="../../../reference/android/content/Intent.html#setDataAndNormalize(android.net.Uri)">setDataAndNormalize(Uri)</a></code> |
| to ensure that the scheme is converted to lower case.</em></p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>data</td> |
| <td>The Uri of the data this intent is now targeting.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>Returns the same Intent object, for chaining multiple calls |
| into a single statement.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#getData()">getData()</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#setDataAndNormalize(android.net.Uri)">setDataAndNormalize(Uri)</a></code></li><li><code><a href="../../../">ERROR(/android.net.Intent#normalize)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="setDataAndNormalize(android.net.Uri)"></A> |
| |
| <div class="jd-details api apilevel-16"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a> |
| </span> |
| <span class="sympad">setDataAndNormalize</span> |
| <span class="normal">(<a href="../../../reference/android/net/Uri.html">Uri</a> data)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 16</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Normalize and set the data this intent is operating on. |
| |
| <p>This method automatically clears any type that was |
| previously set (for example, by <code><a href="../../../reference/android/content/Intent.html#setType(java.lang.String)">setType(String)</a></code>). |
| |
| <p>The data Uri is normalized using |
| <code><a href="../../../reference/android/net/Uri.html#normalizeScheme()">normalizeScheme()</a></code> before it is set, |
| so really this is just a convenience method for |
| <pre> |
| setData(data.normalize()) |
| </pre></p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>data</td> |
| <td>The Uri of the data this intent is now targeting.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>Returns the same Intent object, for chaining multiple calls |
| into a single statement.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#getData()">getData()</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#setType(java.lang.String)">setType(String)</a></code></li><li><code><a href="../../../reference/android/net/Uri.html#normalizeScheme()">normalizeScheme()</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="setDataAndType(android.net.Uri, java.lang.String)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a> |
| </span> |
| <span class="sympad">setDataAndType</span> |
| <span class="normal">(<a href="../../../reference/android/net/Uri.html">Uri</a> data, <a href="../../../reference/java/lang/String.html">String</a> type)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>(Usually optional) Set the data for the intent along with an explicit |
| MIME data type. This method should very rarely be used -- it allows you |
| to override the MIME type that would ordinarily be inferred from the |
| data with your own type given here. |
| |
| <p><em>Note: MIME type and Uri scheme matching in the |
| Android framework is case-sensitive, unlike the formal RFC definitions. |
| As a result, you should always write these elements with lower case letters, |
| or use <code><a href="../../../reference/android/content/Intent.html#normalizeMimeType(java.lang.String)">normalizeMimeType(String)</a></code> or <code><a href="../../../reference/android/net/Uri.html#normalizeScheme()">normalizeScheme()</a></code> or |
| <code><a href="../../../reference/android/content/Intent.html#setDataAndTypeAndNormalize(android.net.Uri, java.lang.String)">setDataAndTypeAndNormalize(Uri, String)</a></code> |
| to ensure that they are converted to lower case.</em></p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>data</td> |
| <td>The Uri of the data this intent is now targeting.</td> |
| </tr> |
| <tr> |
| <th>type</td> |
| <td>The MIME type of the data being handled by this intent.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>Returns the same Intent object, for chaining multiple calls |
| into a single statement.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#setType(java.lang.String)">setType(String)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#setData(android.net.Uri)">setData(Uri)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#normalizeMimeType(java.lang.String)">normalizeMimeType(String)</a></code></li><li><code><a href="../../../reference/android/net/Uri.html#normalizeScheme()">normalizeScheme()</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#setDataAndTypeAndNormalize(android.net.Uri, java.lang.String)">setDataAndTypeAndNormalize(Uri, String)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="setDataAndTypeAndNormalize(android.net.Uri, java.lang.String)"></A> |
| |
| <div class="jd-details api apilevel-16"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a> |
| </span> |
| <span class="sympad">setDataAndTypeAndNormalize</span> |
| <span class="normal">(<a href="../../../reference/android/net/Uri.html">Uri</a> data, <a href="../../../reference/java/lang/String.html">String</a> type)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 16</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>(Usually optional) Normalize and set both the data Uri and an explicit |
| MIME data type. This method should very rarely be used -- it allows you |
| to override the MIME type that would ordinarily be inferred from the |
| data with your own type given here. |
| |
| <p>The data Uri and the MIME type are normalize using |
| <code><a href="../../../reference/android/net/Uri.html#normalizeScheme()">normalizeScheme()</a></code> and <code><a href="../../../reference/android/content/Intent.html#normalizeMimeType(java.lang.String)">normalizeMimeType(String)</a></code> |
| before they are set, so really this is just a convenience method for |
| <pre> |
| setDataAndType(data.normalize(), Intent.normalizeMimeType(type)) |
| </pre></p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>data</td> |
| <td>The Uri of the data this intent is now targeting.</td> |
| </tr> |
| <tr> |
| <th>type</td> |
| <td>The MIME type of the data being handled by this intent.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>Returns the same Intent object, for chaining multiple calls |
| into a single statement.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#setType(java.lang.String)">setType(String)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#setData(android.net.Uri)">setData(Uri)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#setDataAndType(android.net.Uri, java.lang.String)">setDataAndType(Uri, String)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#normalizeMimeType(java.lang.String)">normalizeMimeType(String)</a></code></li><li><code><a href="../../../reference/android/net/Uri.html#normalizeScheme()">normalizeScheme()</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="setExtrasClassLoader(java.lang.ClassLoader)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| void |
| </span> |
| <span class="sympad">setExtrasClassLoader</span> |
| <span class="normal">(<a href="../../../reference/java/lang/ClassLoader.html">ClassLoader</a> loader)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Sets the ClassLoader that will be used when unmarshalling |
| any Parcelable values from the extras of this Intent.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>loader</td> |
| <td>a ClassLoader, or null to use the default loader |
| at the time of unmarshalling. |
| </td> |
| </tr> |
| </table> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="setFlags(int)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a> |
| </span> |
| <span class="sympad">setFlags</span> |
| <span class="normal">(int flags)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Set special flags controlling how this intent is handled. Most values |
| here depend on the type of component being executed by the Intent, |
| specifically the FLAG_ACTIVITY_* flags are all for use with |
| <code><a href="../../../reference/android/content/Context.html#startActivity(android.content.Intent)">Context.startActivity()</a></code> and the |
| FLAG_RECEIVER_* flags are all for use with |
| <code><a href="../../../reference/android/content/Context.html#sendBroadcast(android.content.Intent)">Context.sendBroadcast()</a></code>. |
| |
| <p>See the |
| <a href="../../../guide/topics/fundamentals/tasks-and-back-stack.html">Tasks and Back |
| Stack</a> documentation for important information on how some of these options impact |
| the behavior of your application.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>flags</td> |
| <td>The desired flags.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>Returns the same Intent object, for chaining multiple calls |
| into a single statement.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#getFlags()">getFlags()</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#addFlags(int)">addFlags(int)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#FLAG_GRANT_READ_URI_PERMISSION">FLAG_GRANT_READ_URI_PERMISSION</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#FLAG_GRANT_WRITE_URI_PERMISSION">FLAG_GRANT_WRITE_URI_PERMISSION</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#FLAG_DEBUG_LOG_RESOLUTION">FLAG_DEBUG_LOG_RESOLUTION</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#FLAG_FROM_BACKGROUND">FLAG_FROM_BACKGROUND</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#FLAG_ACTIVITY_BROUGHT_TO_FRONT">FLAG_ACTIVITY_BROUGHT_TO_FRONT</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#FLAG_ACTIVITY_CLEAR_TASK">FLAG_ACTIVITY_CLEAR_TASK</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#FLAG_ACTIVITY_CLEAR_TOP">FLAG_ACTIVITY_CLEAR_TOP</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET">FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS">FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#FLAG_ACTIVITY_FORWARD_RESULT">FLAG_ACTIVITY_FORWARD_RESULT</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#FLAG_ACTIVITY_LAUNCHED_FROM_HISTORY">FLAG_ACTIVITY_LAUNCHED_FROM_HISTORY</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#FLAG_ACTIVITY_MULTIPLE_TASK">FLAG_ACTIVITY_MULTIPLE_TASK</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#FLAG_ACTIVITY_NEW_TASK">FLAG_ACTIVITY_NEW_TASK</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#FLAG_ACTIVITY_NO_ANIMATION">FLAG_ACTIVITY_NO_ANIMATION</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#FLAG_ACTIVITY_NO_HISTORY">FLAG_ACTIVITY_NO_HISTORY</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#FLAG_ACTIVITY_NO_USER_ACTION">FLAG_ACTIVITY_NO_USER_ACTION</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#FLAG_ACTIVITY_PREVIOUS_IS_TOP">FLAG_ACTIVITY_PREVIOUS_IS_TOP</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#FLAG_ACTIVITY_RESET_TASK_IF_NEEDED">FLAG_ACTIVITY_RESET_TASK_IF_NEEDED</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#FLAG_ACTIVITY_REORDER_TO_FRONT">FLAG_ACTIVITY_REORDER_TO_FRONT</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#FLAG_ACTIVITY_SINGLE_TOP">FLAG_ACTIVITY_SINGLE_TOP</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#FLAG_ACTIVITY_TASK_ON_HOME">FLAG_ACTIVITY_TASK_ON_HOME</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#FLAG_RECEIVER_REGISTERED_ONLY">FLAG_RECEIVER_REGISTERED_ONLY</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="setPackage(java.lang.String)"></A> |
| |
| <div class="jd-details api apilevel-4"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a> |
| </span> |
| <span class="sympad">setPackage</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> packageName)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 4</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>(Usually optional) Set an explicit application package name that limits |
| the components this Intent will resolve to. If left to the default |
| value of null, all components in all applications will considered. |
| If non-null, the Intent can only match the components in the given |
| application package.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>packageName</td> |
| <td>The name of the application package to handle the |
| intent, or null to allow any application package.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>Returns the same Intent object, for chaining multiple calls |
| into a single statement.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#getPackage()">getPackage()</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#resolveActivity(android.content.pm.PackageManager)">resolveActivity(PackageManager)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="setSelector(android.content.Intent)"></A> |
| |
| <div class="jd-details api apilevel-15"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| void |
| </span> |
| <span class="sympad">setSelector</span> |
| <span class="normal">(<a href="../../../reference/android/content/Intent.html">Intent</a> selector)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 15</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Set a selector for this Intent. This is a modification to the kinds of |
| things the Intent will match. If the selector is set, it will be used |
| when trying to find entities that can handle the Intent, instead of the |
| main contents of the Intent. This allows you build an Intent containing |
| a generic protocol while targeting it more specifically. |
| |
| <p>An example of where this may be used is with things like |
| <code><a href="../../../reference/android/content/Intent.html#CATEGORY_APP_BROWSER">CATEGORY_APP_BROWSER</a></code>. This category allows you to build an |
| Intent that will launch the Browser application. However, the correct |
| main entry point of an application is actually <code><a href="../../../reference/android/content/Intent.html#ACTION_MAIN">ACTION_MAIN</a></code> |
| <code><a href="../../../reference/android/content/Intent.html#CATEGORY_LAUNCHER">CATEGORY_LAUNCHER</a></code> with <code><a href="../../../reference/android/content/Intent.html#setComponent(android.content.ComponentName)">setComponent(ComponentName)</a></code> |
| used to specify the actual Activity to launch. If you launch the browser |
| with something different, undesired behavior may happen if the user has |
| previously or later launches it the normal way, since they do not match. |
| Instead, you can build an Intent with the MAIN action (but no ComponentName |
| yet specified) and set a selector with <code><a href="../../../reference/android/content/Intent.html#ACTION_MAIN">ACTION_MAIN</a></code> and |
| <code><a href="../../../reference/android/content/Intent.html#CATEGORY_APP_BROWSER">CATEGORY_APP_BROWSER</a></code> to point it specifically to the browser activity. |
| |
| <p>Setting a selector does not impact the behavior of |
| <code><a href="../../../reference/android/content/Intent.html#filterEquals(android.content.Intent)">filterEquals(Intent)</a></code> and <code><a href="../../../reference/android/content/Intent.html#filterHashCode()">filterHashCode()</a></code>. This is part of the |
| desired behavior of a selector -- it does not impact the base meaning |
| of the Intent, just what kinds of things will be matched against it |
| when determining who can handle it.</p> |
| |
| <p>You can not use both a selector and <code><a href="../../../reference/android/content/Intent.html#setPackage(java.lang.String)">setPackage(String)</a></code> on |
| the same base Intent.</p></p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>selector</td> |
| <td>The desired selector Intent; set to null to not use |
| a special selector. |
| </td> |
| </tr> |
| </table> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="setSourceBounds(android.graphics.Rect)"></A> |
| |
| <div class="jd-details api apilevel-7"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| void |
| </span> |
| <span class="sympad">setSourceBounds</span> |
| <span class="normal">(<a href="../../../reference/android/graphics/Rect.html">Rect</a> r)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 7</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Set the bounds of the sender of this intent, in screen coordinates. This can be |
| used as a hint to the receiver for animations and the like. Null means that there |
| is no source bounds. |
| </p></div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="setType(java.lang.String)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a> |
| </span> |
| <span class="sympad">setType</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> type)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Set an explicit MIME data type. |
| |
| <p>This is used to create intents that only specify a type and not data, |
| for example to indicate the type of data to return. |
| |
| <p>This method automatically clears any data that was |
| previously set (for example by <code><a href="../../../reference/android/content/Intent.html#setData(android.net.Uri)">setData(Uri)</a></code>). |
| |
| <p><em>Note: MIME type matching in the Android framework is |
| case-sensitive, unlike formal RFC MIME types. As a result, |
| you should always write your MIME types with lower case letters, |
| or use <code><a href="../../../reference/android/content/Intent.html#normalizeMimeType(java.lang.String)">normalizeMimeType(String)</a></code> or <code><a href="../../../reference/android/content/Intent.html#setTypeAndNormalize(java.lang.String)">setTypeAndNormalize(String)</a></code> |
| to ensure that it is converted to lower case.</em></p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>type</td> |
| <td>The MIME type of the data being handled by this intent.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>Returns the same Intent object, for chaining multiple calls |
| into a single statement.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#getType()">getType()</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#setTypeAndNormalize(java.lang.String)">setTypeAndNormalize(String)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#setDataAndType(android.net.Uri, java.lang.String)">setDataAndType(Uri, String)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#normalizeMimeType(java.lang.String)">normalizeMimeType(String)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="setTypeAndNormalize(java.lang.String)"></A> |
| |
| <div class="jd-details api apilevel-16"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/android/content/Intent.html">Intent</a> |
| </span> |
| <span class="sympad">setTypeAndNormalize</span> |
| <span class="normal">(<a href="../../../reference/java/lang/String.html">String</a> type)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 16</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Normalize and set an explicit MIME data type. |
| |
| <p>This is used to create intents that only specify a type and not data, |
| for example to indicate the type of data to return. |
| |
| <p>This method automatically clears any data that was |
| previously set (for example by <code><a href="../../../reference/android/content/Intent.html#setData(android.net.Uri)">setData(Uri)</a></code>). |
| |
| <p>The MIME type is normalized using |
| <code><a href="../../../reference/android/content/Intent.html#normalizeMimeType(java.lang.String)">normalizeMimeType(String)</a></code> before it is set, |
| so really this is just a convenience method for |
| <pre> |
| setType(Intent.normalizeMimeType(type)) |
| </pre></p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>type</td> |
| <td>The MIME type of the data being handled by this intent.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>Returns the same Intent object, for chaining multiple calls |
| into a single statement.</li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="../../../reference/android/content/Intent.html#getType()">getType()</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#setData(android.net.Uri)">setData(Uri)</a></code></li><li><code><a href="../../../reference/android/content/Intent.html#normalizeMimeType(java.lang.String)">normalizeMimeType(String)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="toString()"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| <span class="sympad">toString</span> |
| <span class="normal">()</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Returns a string containing a concise, human-readable description of this |
| object. Subclasses are encouraged to override this method and provide an |
| implementation that takes into account the object's type and data. The |
| default implementation is equivalent to the following expression: |
| <pre> |
| getClass().getName() + '@' + Integer.toHexString(hashCode())</pre> |
| <p>See <a href="../../../reference/java/lang/Object.html#writing_toString">Writing a useful |
| <code>toString</code> method</a> |
| if you intend implementing your own <code>toString</code> method.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>a printable representation of this object. |
| </li></ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="toURI()"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| <span class="sympad">toURI</span> |
| <span class="normal">()</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| <p> |
| <p class="caution"> |
| <strong>This method was deprecated |
| in API level 4</strong>.<br/> Use <code><a href="../../../reference/android/content/Intent.html#toUri(int)">toUri(int)</a></code> instead. |
| |
| </p> |
| <div class="jd-tagdata jd-tagdescr"><p>Call <code><a href="../../../reference/android/content/Intent.html#toUri(int)">toUri(int)</a></code> with 0 flags.</p></div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="toUri(int)"></A> |
| |
| <div class="jd-details api apilevel-4"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| <a href="../../../reference/java/lang/String.html">String</a> |
| </span> |
| <span class="sympad">toUri</span> |
| <span class="normal">(int flags)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 4</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Convert this Intent into a String holding a URI representation of it. |
| The returned URI string has been properly URI encoded, so it can be |
| used with <code><a href="../../../reference/android/net/Uri.html#parse(java.lang.String)">Uri.parse(String)</a></code>. The URI contains the |
| Intent's data as the base URI, with an additional fragment describing |
| the action, categories, type, flags, package, component, and extras. |
| |
| <p>You can convert the returned string back to an Intent with |
| <code><a href="../../../reference/android/content/Intent.html#getIntent(java.lang.String)">getIntent(String)</a></code>.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>flags</td> |
| <td>Additional operating flags. Either 0 or |
| <code><a href="../../../reference/android/content/Intent.html#URI_INTENT_SCHEME">URI_INTENT_SCHEME</a></code>.</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>Returns a URI encoding URI string describing the entire contents |
| of the Intent. |
| </li></ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <A NAME="writeToParcel(android.os.Parcel, int)"></A> |
| |
| <div class="jd-details api apilevel-1"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| |
| |
| |
| |
| void |
| </span> |
| <span class="sympad">writeToParcel</span> |
| <span class="normal">(<a href="../../../reference/android/os/Parcel.html">Parcel</a> out, int flags)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 1</a></div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Flatten this object in to a Parcel.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>out</td> |
| <td>The Parcel in which the object should be written.</td> |
| </tr> |
| <tr> |
| <th>flags</td> |
| <td>Additional flags about how the object should be written. |
| May be 0 or <code><a href="../../../reference/android/os/Parcelable.html#PARCELABLE_WRITE_RETURN_VALUE">PARCELABLE_WRITE_RETURN_VALUE</a></code>. |
| </td> |
| </tr> |
| </table> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| |
| |
| <!-- ========= METHOD DETAIL ======== --> |
| |
| |
| |
| <!-- ========= END OF CLASS DATA ========= --> |
| <A NAME="navbar_top"></A> |
| |
| <div id="footer" class="wrap" > |
| |
| |
| <div id="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>. |
| </div> |
| <div id="build_info"> |
| |
| Android 4.2 r1 — |
| <script src="../../../timestamp.js" type="text/javascript"></script> |
| <script>document.write(BUILD_TIMESTAMP)</script> |
| |
| </div> |
| |
| |
| <div id="footerlinks"> |
| |
| <p> |
| <a href="../../../about/index.html">About Android</a> | |
| <a href="../../../legal.html">Legal</a> | |
| <a href="../../../support.html">Support</a> |
| </p> |
| </div> |
| |
| </div> <!-- end footer --> |
| </div> <!-- jd-content --> |
| |
| </div><!-- end doc-content --> |
| |
| </div> <!-- end body-content --> |
| |
| |
| |
| |
| |
| |
| </body> |
| </html> |