Scan and connect to Wifi networks using Java

可紊 提交于 2019-11-29 06:31:08

You'll have to rely on a JNI library since you can't access a wireless device directly in Java.

jWlanScan for Windows.

I suggest you to act upon your operating system. And for each of the supporting operating system try to analyse the results of the command lines needed to connect the wireless devices. It is quite straight forward and You will not have to work with JNI libraries.

For example for windows you can see the ones introduced here, here and here and for the linux it is still easier.

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