Hi to all,
I have problems with WiFiConfiguration set on Android API 23
using the code below I get this error
(RuntimeException) java.lang.RuntimeException: Field: allowedKeyManagement.set not found in: android.net.wifi.WifiConfiguration
can someone help me ?
thanks a lot
I have problems with WiFiConfiguration set on Android API 23
using the code below I get this error
(RuntimeException) java.lang.RuntimeException: Field: allowedKeyManagement.set not found in: android.net.wifi.WifiConfiguration
can someone help me ?
thanks a lot
B4X:
Dim wc As JavaObject
wc.InitializeNewInstance("android.net.wifi.WifiConfiguration", Null)
wc.SetField("SSID", "TestAP")
wc.SetField("preSharedKey", "testpassword")
wc.SetField("hiddenSSID", False)
wc.SetField("status", 1)
wc.SetField("allowedKeyManagement.set", "WifiConfiguration.KeyMgmt.WPA_PSK")