Monday, June 11, 2012

Android: Wifi Get SSID example


       WifiManager wifiManager = (WifiManager)
                    getSystemService(Context.WIFI_SERVICE);
       WifiInfo wifiInfo = wifiManager.getConnectionInfo();
       String ssid = wifiInfo.getSSID();

No comments:

Post a Comment