Possible Duplicate:
android: Determine security type of wifi networks in range (without connecting to them)
Could someone help me see how to check for an open network in the list of available networks.
I am getting the list of networks.
List<ScanResult> results = wifiDemo.wifi.getScanResults();
ScanResult bestSignal = null;
for (ScanResult result : results) {
if (bestSignal == null
|| WifiManager.compareSignalLevel(bestSignal.level, result.level) < 0)
bestSignal = result;
}
How can I check for the open auth?