Created
March 28, 2011 13:25
-
-
Save mstefanko/890439 to your computer and use it in GitHub Desktop.
Enable/disable wifi
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
WifiManager wifi = (WifiManager) getSystemService(Context.WIFI_SERVICE); | |
wifi.setWifiEnabled(enabled); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment