Hi Guys,
I am trying to get the IP Address assigned to my device for my local wifi network, but all I ever get is 127.0.0.0 even though I can see my device is connected to the wifi if I look in my device's android settings.
I use this code:
Any ideas?
Thanks in advance,
Jacques.
I am trying to get the IP Address assigned to my device for my local wifi network, but all I ever get is 127.0.0.0 even though I can see my device is connected to the wifi if I look in my device's android settings.
I use this code:
B4X:
Dim Sock as ServerSocket
Sock.Initialize(0,"")
Dim IP as string = Sock.GetMyWifiIP
Any ideas?
Thanks in advance,
Jacques.