How to start a Service when .apk is Installed for the first time

后端 未结 10 1841
遇见更好的自我
遇见更好的自我 2020-11-22 10:33

In my Application I am not having any UI part, so I need to start a Service as soon as the Applicaton gets installed on the Device. I saw many links from which the answer wa

10条回答
  •  无人共我
    2020-11-22 11:01

    HEY I think using a BroadcastRecivier to automatically start the app on restart of device hence it will automatically start on device start.Hope this will help

提交回复
热议问题