wpa

Android: extracting wifi capabilities with contains

≡放荡痞女 提交于 2019-11-28 02:00:01
问题 I'm trying to know the type security of the scanned networks, and i'm getting result like this : [WPA-PSK-TKIP+CCMP][WPA2-PSK-TKIP+CCMP][ESS] [WPA2-PSK-CCMP][WPS][ESS] And i used this code : // Constants used for different security types public static final String WPA = "WPA"; public static final String WEP = "WEP"; public static final String WPA2 = "WPA2"; public static final String OPEN = "Open"; final String cap = results.get(position).capabilities; final String[] securityModes = { WEP,