Re: [android-developers] Re: using IP address 10.0.2.2 for android simulator works, but how do I point to localhost when testing on android device?

2013-01-07 Thread Jason Gates
Hi, I run a small local area network (LAN) for development and testing (a couple desktops and a laptop). ... My internet provider complains if I run a http server that is exposed to the internet. Therefore, I set up a wireless access point that is restricted to my development lan. I then have my an

Re: [android-developers] Re: using IP address 10.0.2.2 for android simulator works, but how do I point to localhost when testing on android device?

2013-01-04 Thread Robert Greenwalt
I think you can use USB tethering (provided your device/carrier let you) and use the local ip assigned to the PC's side of the usb link. Wifi should also work. On Fri, Jan 4, 2013 at 2:27 PM, bob wrote: > Maybe use an Ethernet cable to connect your web server to your Wifi router? > > > You nee

[android-developers] Re: using IP address 10.0.2.2 for android simulator works, but how do I point to localhost when testing on android device?

2013-01-04 Thread bob
Maybe use an Ethernet cable to connect your web server to your Wifi router? You need to put the web server on the Wifi LAN. On Friday, January 4, 2013 3:58:53 PM UTC-6, John Merlino wrote: > > I have ruby on rails web server that my android application talks to. > When I connect to 10.0.2.