I have a android project which feeds XML data from URL from web. I want to test this but I don’t own a web address.
Therefore I created a XML Page on ASP.NET project and put the URL on android project. But the localhost URL didn’t work.
How can I create a project in Visual Studio such that I can give the IP Address in the Android Project. I went through this tutorial about TCP Client but cannot resolve a solution for my problem. (I don’t have an IIS Server so please don’t give it as a solution)
If you are using real device via Wi-Fi network, your real host IP address should work. If you’re using emulator, then your host address is 10.0.2.2 (see documentation here).