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. database sqlite doubt

db = dbHelper.getWritableDatabase();
        table = db.rawQuery("select * from PROJECTS", null);
        boolean f = false;
        taskList = new ArrayList<String>();
        while (table.moveToNext()) {
            if (table.getString(1).equals(selectedProject)) {
                f = true;

this is a part of my code...
point is i ve created the tables properly n wen i print the column count n
row count, its all updated...
also durin insert (not shown), i ve checked the return, n it returns the
there is an exception at the line:                " if
(table.getString(1).equals(selectedProject)) { "     in the above code...

any ideas that might help me to remove the exception???


2. youtube on android

Hi All,

I want to playback youtube videos on android. I came to know (from the
below mentioned link) that adobe demostrated flash player for android,
but they haven't released the code yet.

Is there an alternative way to playback youtube video's on android ?
Is there an application that supports flash content playback on
android already (though I couldn't find any on "android market" or
related sites) or any development work is underway ?

Thanks in advance,



3. Building Android for custom hardware

4. Please enable SVG Support in the Android Webkit Browser

5. HttpUrlConnection.getOutputStream() not working on emulator windows xp

6. Database problem

7. How many Google engineers working on Android?