[android-developers] Re: Will the browser in the ADT emulator use my desktop network connection for browsing sites?

2012-04-18 Thread David Karr
On Tuesday, April 17, 2012 9:31:47 PM UTC-7, Gene wrote:

 Yes.  The emulator uses the host NIC as though it's a WiFi service 
 provider. All the apps respond accordingly. 

 Not sure if this will be important for you, but the emulated settings 
 for Proxy and DNS for that emulated ISP all function by manipulating 
 the emulator GUI.  If you're on an enterprise LAN this might be 
 important.  There are emulator command-line flags for DNS and proxy, 
 but I found it necessary to set both these _and_ the GUI device 
 settings for our ELAN.  This was not easy to figure out. 


I tried to set this up.  I installed the SDK on my work laptop. I created a 
Phone_IceCreamSandwich AVD and started it up. When I started the emulator 
browser, it never completed displaying the default home page. I then 
stopped the emulator and restarted with a -http-proxy setting. When I 
brought up the browser, it was able to display the default home page. 
However, when I entered a different public URL in the browser, it just 
exited the browser app and went back to the home screen. I tried this 
several times, even with different public URLs, with the same result.

I don't know what I would set for a DNS server.

What are the GUI device settings?


 On Apr 17, 3:39 pm, David Karr davidmichaelk...@gmail.com wrote: 
  I can't test this right now, but if I start up an emulator instance on 
  my desktop, if I bring up the browser on the emulator, will that use 
  my desktop network connection for DNS and resolving urls?  If my 
  desktop is connected to VPN, I want the browser on the phone to be 
  able to view a page inside our firewall.

-- 
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

[android-developers] Re: Will the browser in the ADT emulator use my desktop network connection for browsing sites?

2012-04-17 Thread Gene
Yes.  The emulator uses the host NIC as though it's a WiFi service
provider. All the apps respond accordingly.

Not sure if this will be important for you, but the emulated settings
for Proxy and DNS for that emulated ISP all function by manipulating
the emulator GUI.  If you're on an enterprise LAN this might be
important.  There are emulator command-line flags for DNS and proxy,
but I found it necessary to set both these _and_ the GUI device
settings for our ELAN.  This was not easy to figure out.

On Apr 17, 3:39 pm, David Karr davidmichaelk...@gmail.com wrote:
 I can't test this right now, but if I start up an emulator instance on
 my desktop, if I bring up the browser on the emulator, will that use
 my desktop network connection for DNS and resolving urls?  If my
 desktop is connected to VPN, I want the browser on the phone to be
 able to view a page inside our firewall.

-- 
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