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 Service
s 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! :)
精彩评论