Problem in using Wifi manager

Problems with WiFi, SQLite ,Bluetooth, WiMax, Proxies, etc...

Problem in using Wifi manager

Postby anirudha » Fri Nov 21, 2008 11:43 am

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);

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?
anirudha
Freshman
Freshman
 
Posts: 2
Joined: Fri Nov 21, 2008 10:56 am

Top

Return to Networking & Database Problems

Who is online

Users browsing this forum: Yahoo [Bot] and 5 guests