Possible Duplicate:
Is there on install event in android?
An intent which i might catch with a broadcast receiver?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
From Android Developer Site:
(API level 1)
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:
EXTRA_UIDcontaining the integer uid assigned to the new package.EXTRA_REPLACINGis set to true if this is following anACTION_PACKAGE_REMOVEDbroadcast for the same package.This is a protected intent that can only be sent by the system.
Constant Value:
"android.intent.action.PACKAGE_ADDED"