共用方式為


Settings.ActionAppOpenByDefaultSettings Field

Definition

Activity Action: Show the "Open by Default" page in a particular application's details page.

[Android.Runtime.Register("ACTION_APP_OPEN_BY_DEFAULT_SETTINGS", ApiSince=31)]
public const string ActionAppOpenByDefaultSettings;
[<Android.Runtime.Register("ACTION_APP_OPEN_BY_DEFAULT_SETTINGS", ApiSince=31)>]
val mutable ActionAppOpenByDefaultSettings : string

Field Value

Attributes

Remarks

Activity Action: Show the "Open by Default" page in a particular application's details page.

In some cases, a matching Activity may not exist, so ensure you safeguard against this.

Input: The Intent's data URI specifies the application package name to be shown, with the "package" scheme. That is "package:com.my.app".

Output: Nothing.

Java documentation for android.provider.Settings.ACTION_APP_OPEN_BY_DEFAULT_SETTINGS.

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