开发者

Set an android app/notification to run at boot

开发者 https://www.devze.com 2023-04-06 03:10 出处:网络
I have searched but can\'t find anything. Is there an offcial way to start app or j开发者_Go百科ust the notification of the app at boot?You should have the a service for your app that accepts the BOOT

I have searched but can't find anything. Is there an offcial way to start app or j开发者_Go百科ust the notification of the app at boot?


You should have the a service for your app that accepts the BOOT_COMPLETE intent.

Here is a great example of this being done:

http://androidgps.blogspot.com/2008/09/starting-android-service-at-boot-time.html

0

精彩评论

暂无评论...
验证码 换一张
取 消