简体   繁体   中英

Launching an application from onReceive() of BroadcastReceiver in Android

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.

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

Android Launching Contacts Application

Start Activity inside onReceive BroadcastReceiver

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM