François Droumaguet
unread,Apr 13, 2011, 11:28:34 AM4/13/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to android-platform
Hello,
I am currently working on a simulation of the WiFi environment on the
android emulator. I can simulate available WiFi networks, and connect
to them (it is of course not a real connection). What I want is to
have Internet access nonetheless.
On the emulator, I have Internet access from the beginning, when only
mobile is enabled. When I put WiFi on, I still have Internet access.
BUT when I CONNECT to one of my simulated WiFi networks, I don't have
it anymore.
What I want to know is WHERE does this happen in the source code?
I suspect that it is done when the ConnectivityService handles
connectivity change and tears down the MobileDataStateTracker. But I
don't see where exactly the connection drops.
Also, I want it to be clear : my goal is NOT to have Internet access
on the android emulator or to test applications which use WiFi. My
goal is to simulate WiFi connections with Internet access, and ONLY on
the emulator.