Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Android Emulator Proxy Server

  • 16-09-2011 02:39PM
    #1
    Registered Users, Registered Users 2 Posts: 80
    ✭✭


    Hi i'm new to android development.

    Just wondering has anyone had any issues getting the emulator to connect to the internet?

    In work we use the internet through a proxy server. so i have entered the proxy details into the Virtial Device. I have run the emulator as administrator.
    I have even used the adb shell and inserted into the system table with no luck.

    Anybody got any suggestions ??


Welcome!

It looks like you're new here. Sign in or register to get started.

Comments

  • Registered Users, Registered Users 2 Posts: 662 Freddio
    ✭✭✭


    If your machine connects to the net then the emulator should


  • Registered Users, Registered Users 2 Posts: 21,611 Sam Vimes
    ✭✭✭✭


    To get this to work in the past I've had to modify any web requests to use the proxy. Something like this:

    String PROXY = "1.2.3.4";
    HttpHost PROXY_HOST = new HttpHost(PROXY, 80);
    httpclient.getParams().setParameter(ConnRoutePNames.DEFAULT_PROXY, PROXY_HOST);


  • Registered Users, Registered Users 2 Posts: 80 terry_s
    ✭✭


    Thanks for the reply will give it a shot.

    Terry


Welcome!

It looks like you're new here. Sign in or register to get started.
Advertisement