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 android device connect via wifi to my internal lan. .... In addition, my mobile carrier disabled usb tethering to the internet. Thus, a local access point gets around all the commercial carrier restrictions. .... Hope that helps.
On Fri, Jan 4, 2013 at 4:34 PM, Robert Greenwalt <rgreenw...@google.com>wrote: > 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 <b...@coolfone.comze.com> wrote: > >> 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.2 on android simulator, it successfully makes >>> contact to web server. However, it does not when I test it on the >>> actual android device using a usb connection and using eclipse. I am >>> forced to use the real live ip address, but I dont want to have to >>> deploy live for every little change i need to make when testing on >>> device. What options are available? >>> >> -- >> You received this message because you are subscribed to the Google >> Groups "Android Developers" group. >> To post to this group, send email to android-developers@googlegroups.com >> To unsubscribe from this group, send email to >> android-developers+unsubscr...@googlegroups.com >> For more options, visit this group at >> http://groups.google.com/group/android-developers?hl=en >> > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en