Wednesday, March 26, 2014

android get WIFI signal getConnectionInfo () problem


WifiManager wifi_service = (WifiManager) getSystemService (WIFI_SERVICE);
WifiInfo wifiInfo = wifi_service.getConnectionInfo ();
if (wifiInfo.getBSSID ()! = null)
{
/ **** /
}

I DEBUG program, wifi_service is worth it. But a walk
WifiInfo wifiInfo = wifi_service.getConnectionInfo (); hung up.
So why a call getConnectionInfo () hung up.
WIFI is open.

Great God, please help thank you.
<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->

No comments:

Post a Comment