Interconnecting emulators by networ

by Dries Harnie » Sun, 31 Jan 2010 04:14:39 GMT

Sponsored Links

As part of my work on the Android platform I needed emulators to 'see'
each other.
I asked around on the #android IRC channel and apparently this was the
best place to announce my patches.

Currently, emulators are all separated from the real world because
they are in a private subnet, not connected to the outside world.
These patches install a second network card which allows emulators to
talk among themselves.

I have uploaded the patches to Gerrit:
This patch enables the extra network card in the OS and sets up
multicast routing on this card.
This patch enables the -my-ip option in the emulator. If this option
is not given, the emulator works exactly like it does now.

During development I also noticed that the "socket" networking of QEMU
is broken. I have fixed this in a separate patch but I did not know
how to make the other patches depend on it:
This patch fixes networking for QEMU network cards using the "socket"

If this was not the correct place to publish this information, please
let me know and steer me in the right direction :)

Dries Harnie


Other Threads

1. Accessing default "Messaging" settings

I am trying to access the default "Messaging" app's settings from my
app, and i would like to be able to modify those settings as well. But
I can't find any examples on how to do this. Any ideas?


2. How to start android emulator in a different port

I am  beginner in Android ,how to start  the emulator in a different
port using eclipse Run Configuration
Under 'Additional Emulator Command Line Options ' I tried with
different options and failed
emulator -port 5556
port 5556
emulator -5556
and so on ,but nothing worked out for me .I could appreciate if
someone points me with the right command


3. How to know the gateway address in PDP connection?

4. HP Android Samsung Langsung Melejit

5. Netbook Nokia Pakai Android?

6. getFromLocationName always throws IOException first time, but is successful second time with same input

7. How to Make your owrn SDK with full calss library(function)