I want to be able to activate a broadcast receiver right when an app is installed from the play store. What is the best way to do this?
Share
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.
This is not supported on any version of Android. And, on Android 3.1+, none of your
BroadcastReceivers will run until something explicitly runs one of your components, such as the user launching an activity of yours from the home screen’s launcher.