Iam getting error
An error occurred:
(Line: 133) If WiFi_Only And WiFi_IP = "127.0.0.1" Then
java.lang.RuntimeException: Cannot parse: as boolean
An error occurred:
(Line: 133) If WiFi_Only And WiFi_IP = "127.0.0.1" Then
java.lang.RuntimeException: Cannot parse: as boolean
B4X:
Dim Server As ServerSocket
Dim WiFi_IP As String
Dim Network_IP As String
Dim WiFi_Only As String
Server.Initialize(21341,"Net")
Network_IP = Server.GetMyIP
WiFi_IP = Server.GetMyWifiIP
Server.Close
If WiFi_Only And WiFi_IP = "127.0.0.1" Then
ToastMessageShow("No WiFi connection", True)
End If
If WiFi_IP = "127.0.0.1" And Network_IP = "127.0.0.1" And Not(WiFi_Only) Then
ToastMessageShow("No Internet connection", True)
End If