Http://10.0.2.2 Works On The Android Emulator But Not On Android Device Used As A Emulator
I connected my android device via USB to use it as a emulator, if I access the URL from eclipse emulator it works but the same if I access from device as emulator it gives connecti
Solution 1:
You're making an assumption here that the device act likes an emulator. It's definitely running your application independently, not emulating or simulating. You'll have to adjust the IP address to your computer's IP address that the phone can see from its network, cellular or Wifi.
Post a Comment for "Http://10.0.2.2 Works On The Android Emulator But Not On Android Device Used As A Emulator"