ACTION_PACKAGE_ADDED constant

String const ACTION_PACKAGE_ADDED

Broadcast Action: A new application package has been installed on the device. The data contains the name of the package. Note that the newly installed package does not receive this broadcast.

May include the following extras:

  • {@link #EXTRA_UID} containing the integer uid assigned to the new package.
  • {@link #EXTRA_REPLACING} is set to true if this is following an {@link #ACTION_PACKAGE_REMOVED} broadcast for the same package.

This is a protected intent that can only be sent by the system.

Implementation

static const String ACTION_PACKAGE_ADDED =
    "android.intent.action.PACKAGE_ADDED";