Home
last modified time | relevance | path

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

1234567891011

/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()
324 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.java424 @NonNull Intent[] intents, @Flags int flags) { in getActivities() argument
425 return getActivities(context, requestCode, intents, flags, null); in getActivities()
474 @NonNull Intent[] intents, @Flags int flags, @Nullable Bundle options) { in getActivities() argument
476 String[] resolvedTypes = new String[intents.length]; in getActivities()
477 for (int i=0; i<intents.length; i++) { in getActivities()
478 intents[i].migrateExtraStreamToClipData(); in getActivities()
479 intents[i].prepareToLeaveProcess(context); in getActivities()
480 resolvedTypes[i] = intents[i].resolveTypeIfNeeded(context.getContentResolver()); in getActivities()
486 null, null, requestCode, intents, resolvedTypes, flags, options, in getActivities()
500 @NonNull Intent[] intents, int flags, Bundle options, UserHandle user) { in getActivitiesAsUser() argument
[all …]
DInstrumentation.java1539 IBinder token, Activity target, Intent[] intents, Bundle options) { in execStartActivities() argument
1540 execStartActivitiesAsUser(who, contextThread, token, target, intents, options, in execStartActivities()
1553 IBinder token, Activity target, Intent[] intents, Bundle options, in execStartActivitiesAsUser() argument
1561 if (am.match(who, null, intents[0])) { in execStartActivitiesAsUser()
1572 String[] resolvedTypes = new String[intents.length]; in execStartActivitiesAsUser()
1573 for (int i=0; i<intents.length; i++) { in execStartActivitiesAsUser()
1574 intents[i].migrateExtraStreamToClipData(); in execStartActivitiesAsUser()
1575 intents[i].prepareToLeaveProcess(who); in execStartActivitiesAsUser()
1576 resolvedTypes[i] = intents[i].resolveTypeIfNeeded(who.getContentResolver()); in execStartActivitiesAsUser()
1579 .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/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/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/java/android/support/v4/content/
DContextCompat.java79 public static boolean startActivities(Context context, Intent[] intents) { in startActivities() argument
80 return startActivities(context, intents, null); in startActivities()
110 public static boolean startActivities(Context context, Intent[] intents, in startActivities() argument
114 ContextCompatJellybean.startActivities(context, intents, options); in startActivities()
117 ContextCompatHoneycomb.startActivities(context, 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/work/
Dmanaged-profiles.jd51 <li>By default, most intents do not cross from one profile to the other. If an
58 some common intents on the managed profile.</li>
62 settings), so it is not safe to attach file URIs to intents.</li>
68 <p>On a device with a managed profile, there are restrictions on whether intents
75 <p>The profile administrator can choose which intents are
78 to know in advance <em>which</em> intents are allowed to cross this boundary. The
91 resolving intents, see <a
92 href="{@docRoot}guide/components/intents-common.html">Common Intents</a>.)</p>
169 way to make sure that your app handles intents properly: not firing intents that
185 <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/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/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/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/docs/html/training/auto/messaging/
Dindex.jd239 You define the read action and reply action intents types for your app and the {@link
241 example demonstrates how to declare these intents and their associated receivers.
265 intents. You can choose whatever you like as the action names, but it's best
330 <h4 id="conversation-intents">Create conversation read and reply intents</h4>
333 Unread conversation objects contain intents for reading and replying to a conversation. You
429 of this intent is discussed in the <a href="#conversation-intents">Creating conversation read and
430 reply intents</a> section.
470 pending intents you created in the previous step.</p>
509 <a href="#conversation-intents">Create conversation read and reply
510 intents</a>.</dd>
[all …]
/frameworks/base/test-runner/src/android/test/
DIsolatedContext.java69 List<Intent> intents = mBroadcastIntents; in getAndClearBroadcastIntents() local
71 return intents; in getAndClearBroadcastIntents()
/frameworks/base/core/java/android/content/
DContextWrapper.java388 public void startActivities(Intent[] intents) { in startActivities() argument
389 mBase.startActivities(intents); in startActivities()
393 public void startActivities(Intent[] intents, Bundle options) { in startActivities() argument
394 mBase.startActivities(intents, options); in startActivities()
399 public void startActivitiesAsUser(Intent[] intents, Bundle options, UserHandle userHandle) { in startActivitiesAsUser() argument
400 mBase.startActivitiesAsUser(intents, options, userHandle); in startActivitiesAsUser()

1234567891011