可能重复:
android: Determine security type of wifi networks in range (without connecting to them)
有人可以帮我看看如何检查可用网络列表中的开放网络。
我正在获取网络列表。
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;
}
如何查看open auth?