开发者

how to check in my android app when switch on mobile device?

i want 开发者_如何学编程to get the event when mobile is switched on in my application. so, how i handle/get switched on event of mobile in my app, is it necessary to run my app in background?

can anyone help me?

Thanks in advance.


Have a look at the discussion in this thread:

Is it possible to write an Android broadcast receiver that detects when the phone wakes up?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜