共用方式為


Intent.ActionPackageFirstLaunch Field

Definition

Broadcast Action: Sent to the installer package of an application when that application is first launched (that is the first time it is moved out of the stopped state).

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

Field Value

Implements

Attributes

Remarks

Broadcast Action: Sent to the installer package of an application when that application is first launched (that is the first time it is moved out of the stopped state). The data contains the name of the package.

When the application is first launched, the application itself doesn't receive this broadcast.

<p class="note">This is a protected intent that can only be sent by the system.

Java documentation for android.content.Intent.ACTION_PACKAGE_FIRST_LAUNCH.

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