Lines Matching defs:Intent

52  * can be used with {@link Context#startActivity(Intent) startActivity} to
54 * {@link android.content.Context#sendBroadcast(Intent) broadcastIntent} to
60 * <p>An Intent provides a facility for performing late runtime binding between the code in
68 * <a href="{@docRoot}guide/topics/intents/intents-filters.html">Intents and Intent Filters</a>
73 * <h3>Intent Structure</h3>
135 * all of the other Intent attributes become optional.</p>
167 * <p>There are a variety of standard Intent action and category constants
168 * defined in the Intent class, but applications can also define their own.
181 * <h3>Intent Resolution</h3>
199 * know what to do with it. This is handled by the process of <em>Intent
200 * resolution</em>, which maps an Intent to an {@link android.app.Activity},
205 * Intent against all of the &lt;intent-filter&gt; descriptions in the
211 * <p>There are three pieces of information in the Intent that are used for
221 * <li> <p>The <b>type</b> is retrieved from the Intent's data, if not
222 * already supplied in the Intent. Like the action, if a type is
226 * type is included in the Intent, instead the <b>scheme</b> of the
314 * the Intent), and the LAUNCHER category says that this entry point should be
432 * the Intent), but here we show a way you can publish alternative
477 * <p>These are the current standard actions that Intent defines for launching
507 * <p>These are the current standard actions that Intent defines for receiving
531 * clarify an Intent via {@link #addCategory}.
593 * <p>These are the possible flags that can be used in the Intent via
597 public class Intent implements Parcelable, Cloneable {
673 * <p>Output: An Intent representing the shortcut. The intent must contain three
674 * extras: SHORTCUT_INTENT (value: Intent), SHORTCUT_NAME (value: String),
682 * @see android.content.Intent.ShortcutIconResource
688 * The name of the extra used to define the Intent of a shortcut.
709 * @see android.content.Intent.ShortcutIconResource
717 * @see Intent#ACTION_CREATE_SHORTCUT
718 * @see Intent#EXTRA_SHORTCUT_ICON_RESOURCE
815 * the permissions to be granted on the ACTION_CHOOSER Intent
821 * As a convenience, an Intent of this form can be created with the
825 * a {@link #EXTRA_INTENT} field containing the Intent being executed,
835 * Convenience function for creating a {@link #ACTION_CHOOSER} Intent.
837 * <p>Builds a new {@link #ACTION_CHOOSER} Intent that wraps the given
845 * @param target The Intent that the user will be selecting an activity
848 * @return Return a new Intent object that you can hand to
849 * {@link Context#startActivity(Intent) Context.startActivity()} and
852 public static Intent createChooser(Intent target, CharSequence title) {
853 Intent intent = new Intent(ACTION_CHOOSER);
894 * data you want and launch it with {@link Context#startActivity(Intent)}.
912 * accomplished by requiring the {@link #CATEGORY_OPENABLE} in the Intent.
958 * <p>Note: this Intent <strong>cannot</strong> be used to call emergency
1016 * it will be copied there for you when calling {@link Context#startActivity(Intent)}.
1054 * it will be copied there for you when calling {@link Context#startActivity(Intent)}.
1112 * <p>Input: get*Extra field {@link #EXTRA_INTENT} is an Intent
1324 * invoking the Intent. For this to work you must start the installer with
1332 * {@link #ACTION_VIEW} to indicate the URI from which the local APK in the Intent
1340 * {@link #ACTION_VIEW} to indicate the HTTP referrer URI associated with the Intent
1590 * that is being installed does <em>not</em> receive this Intent.
1830 * contents of the Intent.
1985 * The path to the mount point for the removed media is contained in the Intent.mData field.
1992 * The path to the mount point for the unmounted media is contained in the Intent.mData field.
1999 * The path to the mount point for the checking media is contained in the Intent.mData field.
2006 * The path to the mount point for the checking media is contained in the Intent.mData field.
2013 * The path to the mount point for the mounted media is contained in the Intent.mData field.
2014 * The Intent contains an extra with name "read-only" and Boolean value to indicate if the
2022 * The path to the mount point for the shared media is contained in the Intent.mData field.
2029 * The path to the mount point for the previously shared media is contained in the Intent.mData field.
2037 * The path to the mount point for the removed media is contained in the Intent.mData field.
2044 * The path to the mount point for the unmountable media is contained in the Intent.mData field.
2052 * The path to the mount point for the media to be ejected is contained in the Intent.mData field.
2059 * The path to the directory being scanned is contained in the Intent.mData field.
2066 * The path to the scanned directory is contained in the Intent.mData field.
2073 * The path to the file is contained in the Intent.mData field.
2273 * <p>The Intent will have the following extra value:</p>
2275 * <li><em>{@link android.content.Intent#EXTRA_PHONE_NUMBER}</em> -
2292 * <p>Any BroadcastReceiver receiving this Intent <em>must not</em>
2303 * permission to receive this Intent.</p>
2352 * {@link BroadcastReceiver#onReceive(Context, Intent)}, rather start a
2353 * maintenance service by {@link Context#startService(Intent)}. Also
2383 * {@link BroadcastReceiver#onReceive(Context, Intent)}, rather stop the
2434 * contain an extra {@link #EXTRA_RESTRICTIONS_INTENT}, which is of type <code>Intent</code>.
2611 * Intent when initiating an action -- it is for use in intent filters
2619 * and clicks on a link in the text, the Intent generated execute that
2624 * matching Intent.
2778 * <p>NOTE: This should not be used as the primary key of an Intent,
2782 * Intent with this category in the selector.</p>
2790 * <p>NOTE: This should not be used as the primary key of an Intent,
2794 * Intent with this category in the selector.</p>
2802 * <p>NOTE: This should not be used as the primary key of an Intent,
2806 * Intent with this category in the selector.</p>
2814 * <p>NOTE: This should not be used as the primary key of an Intent,
2818 * Intent with this category in the selector.</p>
2826 * <p>NOTE: This should not be used as the primary key of an Intent,
2830 * Intent with this category in the selector.</p>
2839 * <p>NOTE: This should not be used as the primary key of an Intent,
2843 * Intent with this category in the selector.</p>
2851 * <p>NOTE: This should not be used as the primary key of an Intent,
2855 * Intent with this category in the selector.</p>
2863 * <p>NOTE: This should not be used as the primary key of an Intent,
2867 * Intent with this category in the selector.</p>
2876 * <p>NOTE: This should not be used as the primary key of an Intent,
2880 * Intent with this category in the selector.</p>
2898 * A constant CharSequence that is associated with the Intent, used with
2907 * A constant String that is associated with the Intent, used with
2915 * A content: URI holding a stream of data associated with the Intent,
2941 * An Intent describing the choices you would like shown with
2953 * A Parcelable[] of {@link Intent} or
2963 * triggered the creation of the Intent it is in.
2976 * Used as a boolean extra field in {@link android.content.Intent#ACTION_PACKAGE_REMOVED} or
2977 * {@link android.content.Intent#ACTION_PACKAGE_CHANGED} intents to override the default action
2984 * {@link android.content.Intent#ACTION_NEW_OUTGOING_CALL}, or the actual
2985 * number to call in a {@link android.content.Intent#ACTION_CALL}.
2990 * Used as an int extra field in {@link android.content.Intent#ACTION_UID_REMOVED}
2992 * extra in {@link android.content.Intent#ACTION_PACKAGE_REMOVED} or
2993 * {@link android.content.Intent#ACTION_PACKAGE_CHANGED} for the same
3004 * Used as a boolean extra field in {@link android.content.Intent#ACTION_PACKAGE_REMOVED}
3013 * Used as a boolean extra field in {@link android.content.Intent#ACTION_PACKAGE_REMOVED}
3021 * Used as a boolean extra field in {@link android.content.Intent#ACTION_PACKAGE_REMOVED}
3039 * Used as an int extra field in {@link android.content.Intent#ACTION_DOCK_EVENT}
3041 * {@link android.content.Intent#EXTRA_DOCK_STATE_UNDOCKED},
3042 * {@link android.content.Intent#EXTRA_DOCK_STATE_DESK}, or
3043 * {@link android.content.Intent#EXTRA_DOCK_STATE_CAR}, or
3044 * {@link android.content.Intent#EXTRA_DOCK_STATE_LE_DESK}, or
3045 * {@link android.content.Intent#EXTRA_DOCK_STATE_HE_DESK}.
3050 * Used as an int value for {@link android.content.Intent#EXTRA_DOCK_STATE}
3056 * Used as an int value for {@link android.content.Intent#EXTRA_DOCK_STATE}
3062 * Used as an int value for {@link android.content.Intent#EXTRA_DOCK_STATE}
3068 * Used as an int value for {@link android.content.Intent#EXTRA_DOCK_STATE}
3074 * Used as an int value for {@link android.content.Intent#EXTRA_DOCK_STATE}
3106 * This field is part of {@link android.content.Intent#ACTION_PACKAGE_CHANGED},
3116 * {@link android.content.Intent#ACTION_EXTERNAL_APPLICATIONS_AVAILABLE},
3117 * {@link android.content.Intent#ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE}
3125 * {@link android.content.Intent#ACTION_EXTERNAL_APPLICATIONS_AVAILABLE},
3126 * {@link android.content.Intent#ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE}
3169 * the {@link #getClipData()} part of the result Intent.
3207 // Intent flags (see mFlags variable).
3210 * If set, the recipient of this Intent will be granted permission to
3211 * perform read operations on the Uri in the Intent's data and any URIs
3212 * specified in its ClipData. When applying to an Intent's ClipData,
3214 * in Intent items will be granted; only the grant flags of the top-level
3215 * Intent are used.
3219 * If set, the recipient of this Intent will be granted permission to
3220 * perform write operations on the Uri in the Intent's data and any URIs
3221 * specified in its ClipData. When applying to an Intent's ClipData,
3223 * in Intent items will be granted; only the grant flags of the top-level
3224 * Intent are used.
3228 * Can be set by the caller to indicate that this Intent is coming from
3296 * Intent, regardless of whether there is already an existing task running
3314 * all of the other activities on top of it will be closed and this Intent
3315 * will be delivered to the (now on top) old activity as a new Intent.
3318 * If D calls startActivity() with an Intent that resolves to the component
3320 * Intent, resulting in the stack now being: A, B.
3329 * Intent will be delivered to the current instance's onNewIntent().
3427 * If set in an Intent passed to {@link Context#startActivity Context.startActivity()},
3432 * If D calls startActivity() with an Intent that resolves to the component
3441 * If set in an Intent passed to {@link Context#startActivity Context.startActivity()},
3453 * If set in an Intent passed to {@link Context#startActivity Context.startActivity()},
3461 * If set in an Intent passed to {@link Context#startActivity Context.startActivity()},
3476 * by {@link Intent#filterEquals(Intent) Intent.filterEquals} returning
3531 * Intent vs. all others that should be treated as raw URIs. When used
3548 private Intent mSelector;
3556 public Intent() {
3562 public Intent(Intent o) {
3579 this.mSelector = new Intent(o.mSelector);
3588 return new Intent(this);
3591 private Intent(Intent o, boolean all) {
3603 * Make a clone of only the parts of the Intent that are relevant for
3606 public Intent cloneFilter() {
3607 return new Intent(this, false);
3618 * @param action The Intent action, such as ACTION_VIEW.
3620 public Intent(String action) {
3637 * @param action The Intent action, such as ACTION_VIEW.
3638 * @param uri The Intent data URI.
3640 public Intent(String action, Uri uri) {
3659 * @see #Intent(String, android.net.Uri , Context, Class)
3661 public Intent(Context packageContext, Class<?> cls) {
3667 * This is equivalent using {@link #Intent(String, android.net.Uri)} to
3668 * construct the Intent and then calling {@link #setClass} to set its
3677 * @param action The Intent action, such as ACTION_VIEW.
3678 * @param uri The Intent data URI.
3683 * @see #Intent(String, android.net.Uri)
3684 * @see #Intent(Context, Class)
3688 public Intent(String action, Uri uri,
3697 * is the Intent that is started when the application's is launched from
3699 * same way, it is important that they use an Intent structured the same
3702 * <p>The returned Intent has the given Activity component as its explicit
3706 * to do that through {@link #addFlags(int)} on the returned Intent.
3708 * @param mainActivity The main activity component that this Intent will
3710 * @return Returns a newly created Intent that can be used to launch the
3716 public static Intent makeMainActivity(ComponentName mainActivity) {
3717 Intent intent = new Intent(ACTION_MAIN);
3724 * Make an Intent for the main activity of an application, without
3726 * the activity. This results in a final Intent that is structured
3729 * same way, it is important that they use an Intent structured the same
3732 * <p>The returned Intent has {@link #ACTION_MAIN} as its action, and includes the
3735 * to do that through {@link #addFlags(int)} on the returned Intent.
3737 * @param selectorAction The action name of the Intent's selector.
3738 * @param selectorCategory The name of a category to add to the Intent's
3740 * @return Returns a newly created Intent that can be used to launch the
3743 * @see #setSelector(Intent)
3745 public static Intent makeMainSelectorActivity(String selectorAction,
3747 Intent intent = new Intent(ACTION_MAIN);
3749 Intent selector = new Intent();
3757 * Make an Intent that can be used to re-launch an application's task
3766 * @return Returns a newly created Intent that can be used to relaunch the
3769 public static Intent makeRestartActivityTask(ComponentName mainActivity) {
3770 Intent intent = makeMainActivity(mainActivity);
3771 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK
3772 | Intent.FLAG_ACTIVITY_CLEAR_TASK);
3781 public static Intent getIntent(String uri) throws URISyntaxException {
3788 * {@link #toUri}. If the Intent was not generate by toUri(), its data
3794 * @param uri The URI to turn into an Intent.
3798 * @return Intent The newly created Intent object.
3801 * it bad (as parsed by the Uri class) or the Intent data within the
3806 public static Intent parseUri(String uri, int flags) throws URISyntaxException {
3812 Intent intent = new Intent(ACTION_VIEW);
3824 if (i == -1) return new Intent(ACTION_VIEW, Uri.parse(uri));
3826 // old format Intent URI
3827 if (!uri.startsWith("#Intent;", i)) return getIntentOld(uri);
3830 Intent intent = new Intent(ACTION_VIEW);
3831 Intent baseIntent = intent;
3836 i += "#Intent;".length();
3838 // loop over contents of Intent, all name=value;
3887 intent = new Intent();
3914 // The Intent had a selector; fix it up.
3939 throw new URISyntaxException(uri, "illegal Intent URI format", i);
3943 public static Intent getIntentOld(String uri) throws URISyntaxException {
3944 Intent intent;
3962 intent = new Intent(action);
4093 intent = new Intent(ACTION_VIEW, Uri.parse(uri));
4254 * Return the specific selector associated with this Intent. If there is
4259 public Intent getSelector() {
4264 * Return the {@link ClipData} associated with this Intent. If there is
4275 * any Parcelable values from the extras of this Intent.
4296 * Returns true if the Intent's extras contain a parcelled file descriptor.
4297 * @return true if the Intent contains a parcelled file descriptor.
4820 * Retrieve the application package name this Intent is limited to. When
4821 * resolving an Intent, if non-null this limits the resolution to only
4824 * @return The name of the application package for the Intent.
4865 * <p>The activity must handle the {@link Intent#CATEGORY_DEFAULT} Intent
4895 * @param pm The package manager with which to resolve the Intent.
4921 * Resolve the Intent into an {@link ActivityInfo}
4927 * @param pm The package manager with which to resolve the Intent.
4961 * @return Returns the same Intent object, for chaining multiple calls
4966 public Intent setAction(String action) {
4985 * @return Returns the same Intent object, for chaining multiple calls
4990 * @see android.net.Intent#normalize
4992 public Intent setData(Uri data) {
5013 * @return Returns the same Intent object, for chaining multiple calls
5020 public Intent setDataAndNormalize(Uri data) {
5041 * @return Returns the same Intent object, for chaining multiple calls
5049 public Intent setType(String type) {
5068 * setType(Intent.normalizeMimeType(type))
5073 * @return Returns the same Intent object, for chaining multiple calls
5080 public Intent setTypeAndNormalize(String type) {
5100 * @return Returns the same Intent object, for chaining multiple calls
5109 public Intent setDataAndType(Uri data, String type) {
5125 * setDataAndType(data.normalize(), Intent.normalizeMimeType(type))
5131 * @return Returns the same Intent object, for chaining multiple calls
5140 public Intent setDataAndTypeAndNormalize(Uri data, String type) {
5151 * predefined Intent categories, or a custom category in your own
5154 * @return Returns the same Intent object, for chaining multiple calls
5160 public Intent addCategory(String category) {
5185 * Set a selector for this Intent. This is a modification to the kinds of
5186 * things the Intent will match. If the selector is set, it will be used
5187 * when trying to find entities that can handle the Intent, instead of the
5188 * main contents of the Intent. This allows you build an Intent containing
5193 * Intent that will launch the Browser application. However, the correct
5199 * Instead, you can build an Intent with the MAIN action (but no ComponentName
5204 * {@link #filterEquals(Intent)} and {@link #filterHashCode()}. This is part of the
5206 * of the Intent, just what kinds of things will be matched against it
5210 * the same base Intent.</p>
5212 * @param selector The desired selector Intent; set to null to not use
5215 public void setSelector(Intent selector) {
5218 "Intent being set as a selector of itself");
5228 * Set a {@link ClipData} associated with this Intent. This replaces any
5231 * <p>The ClipData in an intent is not used for Intent matching or other
5233 * additional data with the Intent. The main feature of using this over
5237 * you want to transmit an Intent containing multiple <code>content:</code>
5243 * of the main Intent are respected, and will be applied to all Uri or
5244 * Intent items in the clip (or sub-items of the clip).
5247 * directly used by Intent. Applications should generally rely on the
5248 * MIME type of the Intent itself, not what it may find in the ClipData.
5249 * A common practice is to construct a ClipData for use with an Intent
5266 * @return Returns the same Intent object, for chaining multiple calls
5273 public Intent putExtra(String name, boolean value) {
5289 * @return Returns the same Intent object, for chaining multiple calls
5296 public Intent putExtra(String name, byte value) {
5312 * @return Returns the same Intent object, for chaining multiple calls
5319 public Intent putExtra(String name, char value) {
5335 * @return Returns the same Intent object, for chaining multiple calls
5342 public Intent putExtra(String name, short value) {
5358 * @return Returns the same Intent object, for chaining multiple calls
5365 public Intent putExtra(String name, int value) {
5381 * @return Returns the same Intent object, for chaining multiple calls
5388 public Intent putExtra(String name, long value) {
5404 * @return Returns the same Intent object, for chaining multiple calls
5411 public Intent putExtra(String name, float value) {
5427 * @return Returns the same Intent object, for chaining multiple calls
5434 public Intent putExtra(String name, double value) {
5450 * @return Returns the same Intent object, for chaining multiple calls
5457 public Intent putExtra(String name, String value) {
5473 * @return Returns the same Intent object, for chaining multiple calls
5480 public Intent putExtra(String name, CharSequence value) {
5496 * @return Returns the same Intent object, for chaining multiple calls
5503 public Intent putExtra(String name, Parcelable value) {
5519 * @return Returns the same Intent object, for chaining multiple calls
5526 public Intent putExtra(String name, Parcelable[] value) {
5542 * @return Returns the same Intent object, for chaining multiple calls
5549 public Intent putParcelableArrayListExtra(String name, ArrayList<? extends Parcelable> value) {
5565 * @return Returns the same Intent object, for chaining multiple calls
5572 public Intent putIntegerArrayListExtra(String name, ArrayList<Integer> value) {
5588 * @return Returns the same Intent object, for chaining multiple calls
5595 public Intent putStringArrayListExtra(String name, ArrayList<String> value) {
5611 * @return Returns the same Intent object, for chaining multiple calls
5618 public Intent putCharSequenceArrayListExtra(String name, ArrayList<CharSequence> value) {
5634 * @return Returns the same Intent object, for chaining multiple calls
5641 public Intent putExtra(String name, Serializable value) {
5657 * @return Returns the same Intent object, for chaining multiple calls
5664 public Intent putExtra(String name, boolean[] value) {
5680 * @return Returns the same Intent object, for chaining multiple calls
5687 public Intent putExtra(String name, byte[] value) {
5703 * @return Returns the same Intent object, for chaining multiple calls
5710 public Intent putExtra(String name, short[] value) {
5726 * @return Returns the same Intent object, for chaining multiple calls
5733 public Intent putExtra(String name, char[] value) {
5749 * @return Returns the same Intent object, for chaining multiple calls
5756 public Intent putExtra(String name, int[] value) {
5772 * @return Returns the same Intent object, for chaining multiple calls
5779 public Intent putExtra(String name, long[] value) {
5795 * @return Returns the same Intent object, for chaining multiple calls
5802 public Intent putExtra(String name, float[] value) {
5818 * @return Returns the same Intent object, for chaining multiple calls
5825 public Intent putExtra(String name, double[] value) {
5841 * @return Returns the same Intent object, for chaining multiple calls
5848 public Intent putExtra(String name, String[] value) {
5864 * @return Returns the same Intent object, for chaining multiple calls
5871 public Intent putExtra(String name, CharSequence[] value) {
5887 * @return Returns the same Intent object, for chaining multiple calls
5894 public Intent putExtra(String name, Bundle value) {
5910 * @return Returns the same Intent object, for chaining multiple calls
5921 public Intent putExtra(String name, IBinder value) {
5936 public Intent putExtras(Intent src) {
5957 public Intent putExtras(Bundle extras) {
5966 * Completely replace the extras in the Intent with the extras in the
5967 * given Intent.
5969 * @param src The exact extras contained in this Intent are copied
5972 public Intent replaceExtras(Intent src) {
5978 * Completely replace the extras in the Intent with the given Bundle of
5981 * @param extras The new set of extras in the Intent, or null to erase
5984 public Intent replaceExtras(Bundle extras) {
6005 * here depend on the type of component being executed by the Intent,
6009 * {@link Context#sendBroadcast(Intent) Context.sendBroadcast()}.
6018 * @return Returns the same Intent object, for chaining multiple calls
6047 public Intent setFlags(int flags) {
6058 * @return Returns the same Intent object, for chaining multiple calls
6063 public Intent addFlags(int flags) {
6070 * the components this Intent will resolve to. If left to the default
6072 * If non-null, the Intent can only match the components in the given
6078 * @return Returns the same Intent object, for chaining multiple calls
6084 public Intent setPackage(String packageName) {
6097 * type, categories) in the Intent. If this class is defined, the
6107 * @return Returns the same Intent object, for chaining multiple calls
6116 public Intent setComponent(ComponentName component) {
6128 * that will be used as the component for this Intent.
6130 * @return Returns the same Intent object, for chaining multiple calls
6136 public Intent setClassName(Context packageContext, String className) {
6148 * that will be used as the component for this Intent.
6150 * @return Returns the same Intent object, for chaining multiple calls
6156 public Intent setClassName(String packageName, String className) {
6170 * @return Returns the same Intent object, for chaining multiple calls
6175 public Intent setClass(Context packageContext, Class<?> cls) {
6244 * being defined, the following pieces of data in the Intent are
6256 * <li> selector, as set by {@link #setSelector(Intent)}.
6272 * <p>For example, consider Intent A with {data="foo", categories="bar"}
6273 * and Intent B with {action="gotit", data-type="some/thing",
6276 * <p>Calling A.fillIn(B, Intent.FILL_IN_DATA) will result in A now
6280 * @param other Another Intent whose values are to be used to fill in
6289 public int fillIn(Intent other, int flags) {
6322 mSelector = new Intent(other.mSelector);
6360 Log.w("Intent", "Failure filling in extras", e);
6367 * Wrapper class holding an Intent and implementing comparisons on it for
6370 * simple calls to {@link Intent#filterEquals(Intent)} filterEquals()} and
6371 * {@link android.content.Intent#filterHashCode()} filterHashCode()}
6372 * on the wrapped Intent.
6375 private final Intent mIntent;
6378 public FilterComparison(Intent intent) {
6384 * Return the Intent that this FilterComparison represents.
6385 * @return Returns the Intent held by the FilterComparison. Do
6388 public Intent getIntent() {
6395 Intent other = ((FilterComparison)obj).mIntent;
6413 * @param other The other Intent to compare against.
6418 public boolean filterEquals(Intent other) {
6527 b.append("Intent { ");
6538 b.append("Intent { ");
6549 b.append("Intent { ");
6670 * Convert this Intent into a String holding a URI representation of it.
6673 * Intent's data as the base URI, with an additional fragment describing
6676 * <p>You can convert the returned string back to an Intent with
6683 * of the Intent.
6716 uri.append("#Intent;");
6834 public static final Parcelable.Creator<Intent> CREATOR
6835 = new Parcelable.Creator<Intent>() {
6836 public Intent createFromParcel(Parcel in) {
6837 return new Intent(in);
6839 public Intent[] newArray(int size) {
6840 return new Intent[size];
6845 protected Intent(Parcel in) {
6873 mSelector = new Intent(in);
6885 * an Intent object. The given XML parser should be located at the tag
6897 * @return An Intent object matching the XML data.
6901 public static Intent parseIntent(Resources resources, XmlPullParser parser, AttributeSet attrs)
6903 Intent intent = new Intent();
6906 com.android.internal.R.styleable.Intent);
6970 * be normalized before they are used to create an Intent.
6992 * Prepare this {@link Intent} to leave an app process.
7012 mData.checkFileUriExposed("Intent.getData()");
7036 final Intent target = getParcelableExtra(EXTRA_INTENT);