Setting up a proxy server for android emulator

by Gath » Thu, 15 Oct 2009 00:59:40 GMT


Sponsored Links
 Guys,

I want to start Android Emulator with internet support but am unable
to use the brower on the emulator, it seems like it is not connected.
This is the command am using to start the emulator

emulator -avd myavd -http-proxy  http://168.192.10.1 :3100

Please note am using an IPAddress instead of machine name on my proxy
server name. Is this possible with the emulator?

Or what am i doing wrong?

Am using Android SDK 1.6

Gath

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Application that loops every minute - how to efficiently do it

Hi,
Does Android have a special way to loop an application every 1 minute?
Or do you know of any applications (with source) that I could look at?

Apparently if I use Thread.sleep(1000*60); the application may time
out on me and need me to click a wait button - I just want it to keep
looping forever. Apparently the when you sleep() a thread it stops
running for the time given.

I'm using it to ensure that my internet connection isn't ever open for
more than a minute something like this:

while (true) {
    if (getConnectionOpenTime()>1minute) {
      closeConneection();
    }
    Thread.sleep()1000*60;
}

The connection gets re-opened elsewhere so this needs to keep looping.

Cheers,
--~--~---------~--~----~------------~-------~--~----~

2. Buffering Background Image - Graphics Advice Sought

I sorted this out.

i++







--~--~---------~--~----~------------~-------~--~----~

3. Alert dialog in Android-SDK-1.1-Release 1

4. Home screen customization WRT certification

5. libhardware_legacy and flashlight.c

6. Performance: pre-instantiate activities on app launch? Good practice or not?

7. Some question about OrientationListener and the way of sensor( sensorlistener, sensormanager..... ) init