开发者

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

开发者 https://www.devze.com 2023-03-11 02:31 出处:网络
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?

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

精彩评论

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

关注公众号