Scan and connect to Wifi networks using Java

前端 未结 2 1030
盖世英雄少女心
盖世英雄少女心 2020-12-17 20:40

Need to write a client, which can scan the available WIFI networks and connects to best known using Java. This might be desktop client which does this job. Any pointers woul

2条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-17 21:16

    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.

提交回复
热议问题