How to get the name of currently connected WiFi network in Android with BroadcastReceiver [duplicate]
问题 This question already has answers here : How to get name of wifi-network out of android using android API? (3 answers) Closed 6 years ago . In my implementation of BroadcastReceiver I want to run some Activity when user is connected to WiFi network with specific name. How can I do that? How can I get the Wifi network name in BroadcastReceiver? And how can I find out that this is wifi connection? Thank you! I already has a code: public class ConnectionChangeReceiver extends BroadcastReceiver {