共用方式為


Intent.ActionMyPackageReplaced Field

Definition

Broadcast Action: A new version of your application has been installed over an existing one.

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

Field Value

Implements

Attributes

Remarks

Broadcast Action: A new version of your application has been installed over an existing one. This is only sent to the application that was replaced. It does not contain any additional data; to receive it, just use an intent filter for this action.

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

Java documentation for android.content.Intent.ACTION_MY_PACKAGE_REPLACED.

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