Android enable disable wifi on phone

WifiManager mywifi = (WifiManager) getSystemService(Context.WIFI_SERVICE);
mywifi.setWifiEnabled(enabled);

Enjoyed this post? Share it!

 

Leave a comment

Your email address will not be published.