Android How to scan for hidden access points

大憨熊 提交于 2019-12-11 18:15:28

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!