Home
last modified time | relevance | path

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

1234567

/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/
DPendingIntent.java374 @NonNull Intent[] intents, @Flags int flags) { in getActivities() argument
375 return getActivities(context, requestCode, intents, flags, null); in getActivities()
424 @NonNull Intent[] intents, @Flags int flags, @Nullable Bundle options) { in getActivities() argument
426 String[] resolvedTypes = new String[intents.length]; in getActivities()
427 for (int i=0; i<intents.length; i++) { in getActivities()
428 intents[i].migrateExtraStreamToClipData(); in getActivities()
429 intents[i].prepareToLeaveProcess(); in getActivities()
430 resolvedTypes[i] = intents[i].resolveTypeIfNeeded(context.getContentResolver()); in getActivities()
436 null, null, requestCode, intents, resolvedTypes, flags, options, in getActivities()
450 @NonNull Intent[] intents, int flags, Bundle options, UserHandle user) { in getActivitiesAsUser() argument
[all …]
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()
DInstrumentation.java1516 IBinder token, Activity target, Intent[] intents, Bundle options) { in execStartActivities() argument
1517 execStartActivitiesAsUser(who, contextThread, token, target, intents, options, in execStartActivities()
1530 IBinder token, Activity target, Intent[] intents, Bundle options, in execStartActivitiesAsUser() argument
1538 if (am.match(who, null, intents[0])) { in execStartActivitiesAsUser()
1549 String[] resolvedTypes = new String[intents.length]; in execStartActivitiesAsUser()
1550 for (int i=0; i<intents.length; i++) { in execStartActivitiesAsUser()
1551 intents[i].migrateExtraStreamToClipData(); in execStartActivitiesAsUser()
1552 intents[i].prepareToLeaveProcess(); in execStartActivitiesAsUser()
1553 resolvedTypes[i] = intents[i].resolveTypeIfNeeded(who.getContentResolver()); in execStartActivitiesAsUser()
1556 .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/support/v4/java/android/support/v4/content/
DContextCompat.java70 public static boolean startActivities(Context context, Intent[] intents) { in startActivities() argument
71 return startActivities(context, intents, null); in startActivities()
101 public static boolean startActivities(Context context, Intent[] intents, in startActivities() argument
105 ContextCompatJellybean.startActivities(context, intents, options); in startActivities()
108 ContextCompatHoneycomb.startActivities(context, intents); in startActivities()
/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/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/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/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/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/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
Dintent-filter-element.jd28 <dd itemprop="description">Specifies the types of intents that an activity, service, or broadcast
32 intents of the advertised type, while filtering out those that are not
44 <a href="{@docRoot}guide/components/intents-filters.html">Intents
98 to handling intents of the type described by the filter. This attribute has
/frameworks/base/docs/html/training/enterprise/
Dapp-compatibility.jd56 <li>By default, most intents do not cross from one profile to the other. If an
63 some common intents on the managed profile.</li>
67 settings), so it is not safe to attach file URIs to intents.</li>
73 <p>On a device with a managed profile, there are restrictions on whether intents
80 <p>The profile administrator can choose which intents are
83 to know in advance <em>which</em> intents are allowed to cross this boundary. The
96 resolving intents, see <a
97 href="{@docRoot}guide/components/intents-common.html">Common Intents</a>.)</p>
174 way to make sure that your app handles intents properly: not firing intents that
190 <li>Configure which intents are allowed to cross from one profile to
[all …]
/frameworks/base/docs/html/training/auto/messaging/
Dindex.jd154 You define the read action and reply action intents types for your app and the {@link
156 example demonstrates how to declare these intents and their associated receivers.
276 of this intent is discussed in the <a href="#conversation-intents">Creating conversation read and
277 reply intents</a> section.
316 <h4 id="conversation-intents">Create conversation read and reply intents</h4>
319 Unread conversation objects contain intents for reading and replying to a conversation. You
394 pending intents you created in the previous step.</p>
432 When your create and dispatch a notification for messaging, you specify intents to be triggered
441 objects that handle these intents.</p>
444 For more information about intents, see <a href=
[all …]
/frameworks/base/test-runner/src/android/test/
DIsolatedContext.java65 List<Intent> intents = mBroadcastIntents; in getAndClearBroadcastIntents() local
67 return intents; in getAndClearBroadcastIntents()
/frameworks/base/core/java/android/content/
DContextWrapper.java344 public void startActivities(Intent[] intents) { in startActivities() argument
345 mBase.startActivities(intents); in startActivities()
349 public void startActivities(Intent[] intents, Bundle options) { in startActivities() argument
350 mBase.startActivities(intents, options); in startActivities()
355 public void startActivitiesAsUser(Intent[] intents, Bundle options, UserHandle userHandle) { in startActivitiesAsUser() argument
356 mBase.startActivitiesAsUser(intents, options, userHandle); in startActivitiesAsUser()
/frameworks/base/docs/html/training/wearables/apps/
Dvoice.jd40 The Android Wear platform provides several voice intents that are based on user actions such
63 <p>Here is a list of the voice intents supported by the Wear platform:</p>
214 For documentation on registering for platform intents and accessing the extras information
215 contained in them, see <a href="{@docRoot}guide/components/intents-common.html">Common intents</a>.
220 If none of the platform voice intents work for you, you can start your apps directly with
/frameworks/base/docs/html/training/app-indexing/
Ddeep-linking.jd13 <li><a href="#handling-intents">Read Data from Incoming Intents</a></li>
19 <li><a href="{@docRoot}guide/components/intents-filters.html">Intents and Intent Filters</a></li>
20 <li><a href="{@docRoot}training/basics/intents/filters.html">Allow Other Apps to Start Your Activit…
86 <p>To learn more about defining intent filters, see <a href="{@docRoot}training/basics/intents/filt…
88 <h2 id="handling-intents">Read Data from Incoming Intents</h2>
/frameworks/base/docs/html-intl/intl/zh-cn/training/monitoring-device-state/
Dmanifest-receivers.jd23 <li><a href="{@docRoot}guide/components/intents-filters.html">intent 和 intent 过滤器</a>
/frameworks/base/docs/html-intl/intl/ja/training/monitoring-device-state/
Dmanifest-receivers.jd23 <li><a href="{@docRoot}guide/components/intents-filters.html">インテントとインテント フィルタ</a>
/frameworks/base/docs/html-intl/intl/ko/training/monitoring-device-state/
Dmanifest-receivers.jd23 <li><a href="{@docRoot}guide/components/intents-filters.html">인텐트 및 인텐트 필터</a>

1234567