BOOT_COMPLETED not called on Honeycomb after export

后端 未结 1 2008
名媛妹妹
名媛妹妹 2021-01-01 04:49

I have a very weird problem, and none of the questions already on the website have an answer or the same problem.

I have an app that receives BOOT_COMPLETED.

相关标签:
1条回答
  • 2021-01-01 05:17

    This works as intended, assuming you are using android 3.1. and later.

    Applications installed on 3.1 and later are in the stopped state after installation. They have to be explicitly started by the user at least once to get out of that.

    Applications in stopped state don't receive any broadcast intents, including BOOT_COMPLETED.

    See Android 3.1. - API Overview - Launch controls on stopped applications

    0 讨论(0)
提交回复
热议问题