I have connected my droid device via USB and use Eclipse to debug my application running on the device. Everything is in order, except that my application needs to connect to a web application running on the same computer (Windows XP, IE). The web address in IE was "http: // local: 4566 / MyApp /".
I tried setting up my Android app on "http://10.0.2.2:4566/MyApp" but no luck. The connection to the Android app is simply simply disconnected. The document under http://developer.android.com/guide/developing/tools/emulator.html says that the IP address may be different for devices (see the section "Network Address Space"), but there is no additional information about how to find what.
The question is, how do I connect to a local web application running on my host computer (Windows XP) from an Android application connected via USB debugged in Eclipse?
Appreciate any help.
thank you guna
source
share