On Fri, Jul 2, 2010 at 10:22 AM, Lamia Hannoun <[email protected]> wrote: > I actually want to deploy my app on a real phone after deploying it on a an > emulator.the problem is that i access to a web service (.net) hosted on my > machine , i used the address 10.0.2.2 to test it on emulator and everythg > went well, when i install my app on my htc i couldn't access to my web > service, i tried to change the address by using a real machine IP connected > to a LAN but it didn't work!!! > > Do u have any ideas to solve that issue.
Use a real IP address instead of 10.0.2.2. The instructions regarding 10.0.2.2 came from a documentation page regarding the emulator. A real device is not the emulator. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training...At Your Office: http://commonsware.com/training -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

