Interconnecting emulators by networ

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


Sponsored Links
 Hello,

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:

https://review.source.android.com/13244
This patch enables the extra network card in the OS and sets up
multicast routing on this card.

https://review.source.android.com/13243
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:

https://review.source.android.com/13107
This patch fixes networking for QEMU network cards using the "socket"
driver.

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

Regards,
Dries Harnie

-- 



Other Threads

1. setOnTouchListener

I've created a view that extends MapActivity called myMapActivity.  I
need to get the latitude and longitude when a user taps the map.  I
can capture it by creating an overlay which extends ItemizedOverlay,
and overriding onTouchEvent(...).

But how do I bubble that up to the MapActivity view?  I feel like
there should be a myItemizedOverly.setOnTouchListener (blah,
myCallback);   in myMapActivity.

OR, should I be capturing it directly in myMapActivity?  If so, how?
Thanks

-- 

2. Help needed for Context object: GPS implementation

In my application I want to start GPS. I have to pass context object
to it. Can I start my GPS listener from one activity and can fetch
coordinate in some other activity?
We get locationManager object using Context. Now if I have get
LocationManager using first activity's context then can't I use the
same locationManager to fetch the coordinates.






-- 

3. Backcase GarminAsus A10

4. ListView elements not clickable in all area

5. Launcher icon gets scaled on X10 Mini

6. Very simple query <INTENT>

7. Contact API problem with save datas