Starting Activity on Startup
Hey friends, I want to know how to start a开发者_Python百科n activity on startup of the phone. ?
You need to register Broadcast receiver with intent filter "android.intent.action.BOOT_COMPLETED" Good example can can be found here http://www.androidcompetencycenter.com/2009/06/start-service-at-boot/
You have to register Your application for Broadcast
http://www.androidcompetencycenter.com/2009/01/basics-of-android-part-ii-intent-receivers/
精彩评论