Created
May 21, 2013 02:40
-
-
Save jacklund/5617181 to your computer and use it in GitHub Desktop.
Getting the wireless interface in Android
This file contains 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 wifiManager = (WifiManager)(getContext().getSystemService(Context.WIFI_SERVICE)); | |
if (wifiManager.isWifiEnabled()) { | |
String wifiInterface = Utils.getProp("wifi.interface"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment