开发者

App starts after phone reset

I've seen that some apps only start working after a phone reset. Usually are apps that will run silent on the phone. The first time they run they'll ask for some info or prefs. How does t开发者_如何学运维hose guys do it?


Welcome to SO!

These "apps" running at startup are basically Services that the Android framework invokes on startup. If you want your app to be invoked at startup.

Instead of Service, you could also call an Activity http://www.androidcompetencycenter.com/2009/06/start-service-at-boot/

BTW, a similar question was posted here. To avoid your question being blocked/closed, it's best to follow the guidelines here.

Happy Coding! :)

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜