Open Wi-Fi Network Detection

Possible duplicate:
android: determining the type of security of wireless networks in the range (without connecting to them)

Can someone help me see how to check an open network in the list of available networks.

I get a 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 to check open out?

+4
source share
1 answer
+1
source

Source: https://habr.com/ru/post/1393505/


All Articles