1

Is it possible to Launch an application or activity from onRecieve() of a BroadcastReceiver in Android?
I want to launch an activity when the wi-Fi is turned on. If it is possible please explain how to do that. I am expecting a sample code for that..

Thanks in advance.

mmBs
  • 8,421
  • 6
  • 38
  • 46
Anu
  • 1,884
  • 14
  • 30

1 Answers1

1

there are tons of examples here... you just need the class name.

Android Launching Contacts Application

Start Activity inside onReceive BroadcastReceiver

Community
  • 1
  • 1
Ran
  • 4,117
  • 4
  • 44
  • 70