共用方式為


Intent.ActionView Field

Definition

Activity Action: Display the data to the user.

[Android.Runtime.Register("ACTION_VIEW")]
public const string ActionView;
[<Android.Runtime.Register("ACTION_VIEW")>]
val mutable ActionView : string

Field Value

Implements

Attributes

Remarks

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.

Input: #getData is URI from which to retrieve data.

Output: nothing.

Java documentation for android.content.Intent.ACTION_VIEW.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to