Reputation: 448
I want to test my app on a android device, I have a local webservice (ASP.net) that is hosted in my laptop in local, when I plug my device, the app works in it but it cannot receive data from my local webservice, how can I get the data sent to the device just like in the emulator PS: the app works properly in the emulator. thank you
Upvotes: 0
Views: 414
Reputation: 69505
The emulator uses your laptop's network interfaces, hence it can access webservice directly. Your device needs to connect to your laptop via its own connectivity options (celluar network, WiFi, possibly bluetooth).
I have a few ideas how to get there:
Set up a WiFi access point on your laptop and connect your device with it
Check these URLs how to set up a hosted network (hotspot) on Windows 7:
Upvotes: 2