I have problems with the mlwifi library.
I can't delete the registered networks. This is my code, am I doing something wrong? My sdk = 29 and I use android 10 . I tried other sdk and other android versions but it doesn't work. Is there any other way to do this? Thanks in advance .
My code:
Dim wifi_scan As MLScan
Dim wifi As MLwifi
Dim sListSSIDS As List
Dim sRed() As String
sListSSIDS =wifi_scan.listSavedNetworks
For i=0 To sListSSIDS.Size - 1
Log(sListSSIDS.Get(i))
sRed = Regex.Split( ",", sListSSIDS.Get(i))
ssid=sRed(0).Replace(QUOTE ,"")
If ssid<>"drsoft_demo" Then
wifi.removeWifiAP ( ssid )
End If
Next
Return
I can't delete the registered networks. This is my code, am I doing something wrong? My sdk = 29 and I use android 10 . I tried other sdk and other android versions but it doesn't work. Is there any other way to do this? Thanks in advance .
My code:
Dim wifi_scan As MLScan
Dim wifi As MLwifi
Dim sListSSIDS As List
Dim sRed() As String
sListSSIDS =wifi_scan.listSavedNetworks
For i=0 To sListSSIDS.Size - 1
Log(sListSSIDS.Get(i))
sRed = Regex.Split( ",", sListSSIDS.Get(i))
ssid=sRed(0).Replace(QUOTE ,"")
If ssid<>"drsoft_demo" Then
wifi.removeWifiAP ( ssid )
End If
Next
Return