Home
last modified time | relevance | path

Searched refs:intents (Results 1 – 25 of 195) sorted by relevance

12345678

/frameworks/support/v4/java/android/support/v4/app/
DTaskStackBuilder.java77 PendingIntent getPendingIntent(Context context, Intent[] intents, int requestCode, in getPendingIntent() argument
82 public PendingIntent getPendingIntent(Context context, Intent[] intents, int requestCode, in getPendingIntent() argument
84 Intent topIntent = new Intent(intents[intents.length - 1]); in getPendingIntent()
91 public PendingIntent getPendingIntent(Context context, Intent[] intents, int requestCode, in getPendingIntent() argument
93 intents[0] = new Intent(intents[0]).addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | in getPendingIntent()
97 intents, flags); in getPendingIntent()
102 public PendingIntent getPendingIntent(Context context, Intent[] intents, int requestCode, in getPendingIntent() argument
104 intents[0] = new Intent(intents[0]).addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | in getPendingIntent()
108 intents, flags, options); in getPendingIntent()
321 Intent[] intents = mIntents.toArray(new Intent[mIntents.size()]); in startActivities() local
[all …]
/frameworks/base/core/java/android/app/
DTaskStackBuilder.java301 Intent[] intents = new Intent[mIntents.size()]; in getIntents() local
302 if (intents.length == 0) return intents; in getIntents()
304 intents[0] = new Intent(mIntents.get(0)).addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | in getIntents()
307 for (int i = 1; i < intents.length; i++) { in getIntents()
308 intents[i] = new Intent(mIntents.get(i)); in getIntents()
310 return intents; in getIntents()
DPendingIntent.java394 @NonNull Intent[] intents, @Flags int flags) { in getActivities() argument
395 return getActivities(context, requestCode, intents, flags, null); in getActivities()
444 @NonNull Intent[] intents, @Flags int flags, @Nullable Bundle options) { in getActivities() argument
446 String[] resolvedTypes = new String[intents.length]; in getActivities()
447 for (int i=0; i<intents.length; i++) { in getActivities()
448 intents[i].migrateExtraStreamToClipData(); in getActivities()
449 intents[i].prepareToLeaveProcess(); in getActivities()
450 resolvedTypes[i] = intents[i].resolveTypeIfNeeded(context.getContentResolver()); in getActivities()
456 null, null, requestCode, intents, resolvedTypes, flags, options, in getActivities()
470 @NonNull Intent[] intents, int flags, Bundle options, UserHandle user) { in getActivitiesAsUser() argument
[all …]
DInstrumentation.java1528 IBinder token, Activity target, Intent[] intents, Bundle options) { in execStartActivities() argument
1529 execStartActivitiesAsUser(who, contextThread, token, target, intents, options, in execStartActivities()
1542 IBinder token, Activity target, Intent[] intents, Bundle options, in execStartActivitiesAsUser() argument
1550 if (am.match(who, null, intents[0])) { in execStartActivitiesAsUser()
1561 String[] resolvedTypes = new String[intents.length]; in execStartActivitiesAsUser()
1562 for (int i=0; i<intents.length; i++) { in execStartActivitiesAsUser()
1563 intents[i].migrateExtraStreamToClipData(); in execStartActivitiesAsUser()
1564 intents[i].prepareToLeaveProcess(); in execStartActivitiesAsUser()
1565 resolvedTypes[i] = intents[i].resolveTypeIfNeeded(who.getContentResolver()); in execStartActivitiesAsUser()
1568 .startActivities(whoThread, who.getBasePackageName(), intents, resolvedTypes, in execStartActivitiesAsUser()
[all …]
/frameworks/base/docs/html/training/basics/intents/
Dindex.jd2 page.tags=intents,activity
26 href="http://android-developers.blogspot.com/2009/11/integrating-application-with-intents.html">
28 <li><a href="{@docRoot}guide/components/intents-filters.html">Intents and Intent
42 android.content.Intent} to identify and start the appropriate app component. Using intents even
51 make your app able to respond to intents from other apps.</p>
57 <dd>Shows how you can create implicit intents to launch other apps that can perform an
63 intent filters that declare the implicit intents your app accepts.</dd>
Dfilters.jd2 page.tags=intents
40 filters and adds the information to an internal catalog of intents supported by all installed apps.
50 <p>In order to properly define which intents your activity can handle, each intent filter you add
81 supported by the system, but most are rarely used. However, all implicit intents are defined with
121 android.content.Intent#ACTION_SENDTO} intents. In this case, you must define two separate
145 <p class="note"><strong>Note:</strong> In order to receive implicit intents, you must include the
148 android.app.Activity#startActivityForResult startActivityForResult()} treat all intents as if they
150 in your intent filter, no implicit intents will resolve to your activity.</p>
153 intents that perform social sharing behaviors, see the lesson about <a
182 // Handle intents with image data ...
[all …]
Dsending.jd2 page.tags=intents
37 Your First App</a>, you must use intents to navigate between activities in your own app. You
49 <p>Implicit intents do not declare the class name of the component to start, but instead declare an
71 <p>Here are a couple other intents and their action and {@link android.net.Uri} data
92 <p>Other kinds of implicit intents require "extra" data that provide different data types,
102 <p>Here are some more intents that add extra data to specify the desired action:</p>
142 <p>Although the Android platform guarantees that certain intents will resolve to one of the
175 <img src="{@docRoot}images/training/basics/intents-choice.png" alt="" />
/frameworks/base/docs/html/distribute/engage/
Dintents.jd3 page.tags="engagement, intents"
12 <img src="{@docRoot}images/distribute/engage-intents.png">
20 href="{@docRoot}training/basics/intents/index.html">Interacting with Other Apps</a>
29 <li> Familiarize yourself with actions commonly accomplished with intents, such as
37 data-query="collection:distribute/engage/intents"
/frameworks/support/v4/java/android/support/v4/content/
DContextCompat.java72 public static boolean startActivities(Context context, Intent[] intents) { in startActivities() argument
73 return startActivities(context, intents, null); in startActivities()
103 public static boolean startActivities(Context context, Intent[] intents, in startActivities() argument
107 ContextCompatJellybean.startActivities(context, intents, options); in startActivities()
110 ContextCompatHoneycomb.startActivities(context, intents); in startActivities()
/frameworks/base/docs/html/training/sharing/
Dindex.jd2 page.tags=intents,share
16 <li>Experience with <a href="{@docRoot}guide/components/intents-filters.html">Intents and
38 applications with intents.</dd>
41 <dd>Learn how to set up your application to receive text and binary data from intents.</dd>
Dreceive.jd26 <li><a href="{@docRoot}guide/components/intents-filters.html">Intents and
45 <p>Intent filters inform the system what intents an application component is willing to accept.
48 lesson, you create intent filters in order to be able to receive intents with this action. You
51 href="{@docRoot}guide/components/intents-filters.html#ifs">&lt;intent-filter&gt;</a></code>
76 please read <a href="{@docRoot}guide/components/intents-filters.html#ifs">Intents and Intent
114 // Handle other intents, such as being started from the home screen
/frameworks/support/v4/jellybean/android/support/v4/content/
DContextCompatJellybean.java25 public static void startActivities(Context context, Intent[] intents, Bundle options) { in startActivities() argument
26 context.startActivities(intents, options); in startActivities()
/frameworks/support/v4/honeycomb/android/support/v4/app/
DTaskStackBuilderHoneycomb.java28 Intent[] intents, int flags) { in getActivitiesPendingIntent() argument
29 return PendingIntent.getActivities(context, requestCode, intents, flags); in getActivitiesPendingIntent()
/frameworks/support/v4/honeycomb/android/support/v4/content/
DContextCompatHoneycomb.java29 static void startActivities(Context context, Intent[] intents) { in startActivities() argument
30 context.startActivities(intents); in startActivities()
/frameworks/support/v4/jellybean/android/support/v4/app/
DTaskStackBuilderJellybean.java27 Intent[] intents, int flags, Bundle options) { in getActivitiesPendingIntent() argument
28 return PendingIntent.getActivities(context, requestCode, intents, flags, options); in getActivitiesPendingIntent()
/frameworks/base/docs/html-intl/intl/ko/training/basics/intents/
Dindex.jd2 page.tags=intents,activity
24 …<li><a href="http://android-developers.blogspot.com/2009/11/integrating-application-with-intents.h…
26 <li><a href="{@docRoot}guide/components/intents-filters.html">인텐트 및 인텐트
/frameworks/base/docs/html/guide/topics/manifest/
Dcategory-element.jd15 <a href="{@docRoot}guide/components/intents-filters.html">Intents and
30 <p class="note"><strong>Note:</strong> In order to receive implicit intents, you must include the
33 {@link android.app.Activity#startActivityForResult startActivityForResult()} treat all intents
35 If you do not declare it in your intent filter, no implicit intents will resolve to
/frameworks/base/docs/html/training/enterprise/
Dapp-compatibility.jd58 <li>By default, most intents do not cross from one profile to the other. If an
65 some common intents on the managed profile.</li>
69 settings), so it is not safe to attach file URIs to intents.</li>
75 <p>On a device with a managed profile, there are restrictions on whether intents
82 <p>The profile administrator can choose which intents are
85 to know in advance <em>which</em> intents are allowed to cross this boundary. The
98 resolving intents, see <a
99 href="{@docRoot}guide/components/intents-common.html">Common Intents</a>.)</p>
176 way to make sure that your app handles intents properly: not firing intents that
192 <li>Configure which intents are allowed to cross from one profile to
[all …]
/frameworks/base/docs/html-intl/intl/zh-tw/training/basics/intents/
Dindex.jd24 …<li><a href="http://android-developers.blogspot.com/2009/11/integrating-application-with-intents.h…
26 <li><a href="{@docRoot}guide/components/intents-filters.html">意圖和意圖篩選器</a>
/frameworks/base/docs/html-intl/intl/ru/training/basics/intents/
Dindex.jd24 …<li><a href="http://android-developers.blogspot.com/2009/11/integrating-application-with-intents.h…
26 <li><a href="{@docRoot}guide/components/intents-filters.html">Объекты Intent и фильтры
/frameworks/base/docs/html-intl/intl/ja/training/basics/intents/
Dindex.jd24 …<li><a href="http://android-developers.blogspot.com/2009/11/integrating-application-with-intents.h…
26 <li><a href="{@docRoot}guide/components/intents-filters.html">インテントとインテントフィルタ</a>
/frameworks/base/docs/html-intl/intl/zh-cn/training/basics/intents/
Dindex.jd24 …<li><a href="http://android-developers.blogspot.com/2009/11/integrating-application-with-intents.h…
26 <li><a href="{@docRoot}guide/components/intents-filters.html">意向和意向过滤器</a>
/frameworks/base/test-runner/src/android/test/
DIsolatedContext.java65 List<Intent> intents = mBroadcastIntents; in getAndClearBroadcastIntents() local
67 return intents; in getAndClearBroadcastIntents()
/frameworks/base/docs/html/training/auto/messaging/
Dindex.jd233 You define the read action and reply action intents types for your app and the {@link
235 example demonstrates how to declare these intents and their associated receivers.
259 intents. You can choose whatever you like as the action names, but it's best
324 <h4 id="conversation-intents">Create conversation read and reply intents</h4>
327 Unread conversation objects contain intents for reading and replying to a conversation. You
423 of this intent is discussed in the <a href="#conversation-intents">Creating conversation read and
424 reply intents</a> section.
464 pending intents you created in the previous step.</p>
503 <a href="#conversation-intents">Create conversation read and reply
504 intents</a>.</dd>
[all …]
/frameworks/base/core/java/android/content/
DContextWrapper.java363 public void startActivities(Intent[] intents) { in startActivities() argument
364 mBase.startActivities(intents); in startActivities()
368 public void startActivities(Intent[] intents, Bundle options) { in startActivities() argument
369 mBase.startActivities(intents, options); in startActivities()
374 public void startActivitiesAsUser(Intent[] intents, Bundle options, UserHandle userHandle) { in startActivitiesAsUser() argument
375 mBase.startActivitiesAsUser(intents, options, userHandle); in startActivitiesAsUser()

12345678