问题
how can i do programmatically scan for hidden Wireless Access Points, in android ?
getScanResults
give me only visible Access Points , but i need to discover hidden too.
When programmatically scanning Wi-Fi networks (using WifiManager.startScan()
and WifiManager.getScanResults()
), when the SSID broadcast is disabled on an access point and the access point has never been connected to the device, the ScanResult element for this access point does not appear in the list of access points returned.
https://code.google.com/p/android/issues/detail?id=10305
回答1:
If you could scan hidden Access Points, what would be the point of hiding them?
EDIT: Instead of being a smartass, I will try to to be at least a little bit helpful. The reason nobody has implemented this yet is because to sniff networks without connecting with them, your wireless card (or chip in the case of phones) needs to support monitor mode. Almost no phone manufacturers have unlocked this feature, and it's up to them to enable monitor mode in the drivers. Don't count on it though.
来源:https://stackoverflow.com/questions/22009538/android-how-to-scan-for-hidden-access-points