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.
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?