Constructing a WifiConfiguration from a ScanResult or: Interpreting ScanResult's 'capabilities' String

前端 未结 1 1887
星月不相逢
星月不相逢 2021-02-20 03:25

Do any of you Android gurus out there know of any open source code to create a WifiConfiguration from a given ScanResult? It would be helpful. Indeed, line 483 (/624) of my capt

1条回答
  •  独厮守ぢ
    2021-02-20 04:19

    I found this project https://code.google.com/p/android-wifi-connecter/ and the following files in particular very helpful:

    https://code.google.com/p/android-wifi-connecter/source/browse/src/com/farproc/wifi/connecter/Wifi.java https://code.google.com/p/android-wifi-connecter/source/browse/src/com/farproc/wifi/connecter/ConfigurationSecuritiesV8.java


    EDIT - new links

    https://github.com/mkch/android-wifi-connecter/blob/master/src/com/farproc/wifi/connecter/Wifi.java https://github.com/mkch/android-wifi-connecter/blob/master/src/com/farproc/wifi/connecter/ConfigurationSecuritiesV8.java

    0 讨论(0)
提交回复
热议问题