I have an receiver which is registered in AndroidManifest, but it seems like it can’t receive intents when application is killed, assume I have some misunderstanding in Android process life-cycle?
Thanks for any help.
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.
If the user goes into Settings and force-stops your application, on Android 3.1 and higher your
BroadcastReceiverswill no longer work. You are returned to the same state you are in when your app is first installed — something must manually run a component (e.g., user launches an activity from the home screen) before yourBroadcastReceiverswill work again.