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
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Android Emulator Proxy Server

  • 16-09-2011 1: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 ??


Comments

  • Registered Users, Registered Users 2 Posts: 648 ✭✭✭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


Advertisement