[android-beginners] Re: Android and Windows Host file
did you try localhost? as the address (or 127.0.0.1) On Tue, Dec 9, 2008 at 7:17 AM, isisagate [EMAIL PROTECTED] wrote: I am trying to develop an Android app that connects to a tomcat web service and want to be able to load it off my local machine. In my host file on my windows dev machine I have the service's URL defined and tomcat running, however when i try to load the page it says it cannot find it. I read that the Android emulator is not setup to use the host file. Is there a way I can get it to use the host file, or add the url entry to android so it will connect to the server hosted on the same machine the emulator is hosted on. -- Brad Fuller --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Android and Windows Host file
your best bet at this point would be to run a DNS cache on your machine that reads your HOSTS file then use the -dns-server option to make the emulated system connect to it. On Tue, Dec 9, 2008 at 7:17 AM, isisagate [EMAIL PROTECTED] wrote: I am trying to develop an Android app that connects to a tomcat web service and want to be able to load it off my local machine. In my host file on my windows dev machine I have the service's URL defined and tomcat running, however when i try to load the page it says it cannot find it. I read that the Android emulator is not setup to use the host file. Is there a way I can get it to use the host file, or add the url entry to android so it will connect to the server hosted on the same machine the emulator is hosted on. Any ideas? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---