开发者

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/

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜