1

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.

Hiren Dabhi
  • 3,693
  • 5
  • 37
  • 59

1 Answers1

1

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?

Community
  • 1
  • 1
jimkberry
  • 1,317
  • 7
  • 8