Scanning for WiFi with Java [closed]

旧城冷巷雨未停 提交于 2019-12-10 17:29:20

问题


How would one go about scanning for WiFi networks with Java? I have been looking on google but the only snippets I could find were for the Android OS.


回答1:


As far as I know, standard (non-Android, J2SE) Java doesn't permit this:

  • Finding SSID of a wireless network with Java

Android, as you know, has a Wifi SDK:

  • http://developer.android.com/reference/android/net/wifi/WifiManager.html

As does Windows/.Net:

  • How to scan the wireless devices which exist on the network

  • http://msdn.microsoft.com/en-us/library/bb204766%28v=vs.85%29.aspx



来源:https://stackoverflow.com/questions/7125752/scanning-for-wifi-with-java

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