hello,

I am trying to use following:

WifiManager wm = (WifiManager) getSystemService
(Context.WIFI_SERVICE);

but whenever i use following it throws an error

wm.setWifiEnabled(true);

at the same time
wm.isWiFiEnabled() returns false.

I have added <uses-permission> for accessing wifi state into manifest
file.

Can i use wifi of underlying machine using emulator as emulator dont
have dedicated wifi adapter?

if yes, it is possible use underlying systems wifi adapter through
emulator, can you tell me how to do it?
I want to obtain IP address in the emulator, assigned to wifi adapter
assigned by dhcp server after i connect to Wifi AP.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to