I have setup a web service in my android device. Now I want to send request to android from a pc through WiFi. I need the ip address of my android device to access it from a pc in the same network. How will I find the IP through my code?
Can anyone help me?
Thanks in advance..
To get device ip address use this method:
if this method returns null, there is no connection available.
If the method returns a string, this string contains the ip address currently used by the device independent of 3G or WiFi.