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,126
  • 6
  • 40
  • 44
Anu
  • 1,874
  • 13
  • 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,037
  • 3
  • 42
  • 66