开发者

starting android application

开发者 https://www.devze.com 2023-01-15 11:28 出处:网络
I want my app开发者_JAVA技巧lication to be started whenever the phone is turned on or restarted. can anyone give me some suggestions regarding this please.

I want my app开发者_JAVA技巧lication to be started whenever the phone is turned on or restarted. can anyone give me some suggestions regarding this please.

thanks kaisar


You can set a broadcast receiver which can notify that the device boot is complete

android:name="android.intent.action.BOOT_COMPLETED"

Check this link out

http://www.androidcompetencycenter.com/2009/06/start-service-at-boot/

0

精彩评论

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