Aracılığıyla paylaş


Intent.CategoryBrowsable Field

Definition

Activities that can be safely invoked from a browser must support this category.

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

Field Value

Implements

Attributes

Remarks

Activities that can be safely invoked from a browser must support this category. For example, if the user is viewing a web page or an e-mail and clicks on a link in the text, the Intent generated execute that link will require the BROWSABLE category, so that only activities supporting this category will be considered as possible actions. By supporting this category, you are promising that there is nothing damaging (without user intervention) that can happen by invoking any matching Intent.

Java documentation for android.content.Intent.CATEGORY_BROWSABLE.

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