I am trying to use following:
WifiManager wm = (WifiManager) getSystemService(Context.WIFI_SERVICE);
but whenever i use following it throws an error
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?