Launch application without an interface to receive boot_completed

后端 未结 1 1898
陌清茗
陌清茗 2020-12-19 18:43

I have developed a Service for Android that starts when BOOT_COMPLETED is received.It works fine on versions prior to 3.1.

I newer versions tough I understand the ap

相关标签:
1条回答
  • 2020-12-19 19:38

    You add a user interface, in the form of an activity that the user can launch. Besides, this is where you need to:

    • Allow the user to stop and start your service, since the user may not want your service to be running 24x7 and you do not want the user to have to resort to Force Close

    • Display your documentation

    • Display your license agreement

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