Code example for WifiManager

Methods: addNetworkenableNetwork

0
		return (mWifiInfo == null) ? "NULL" : mWifiInfo.toString();
	} 
 
	// ���һ�����粢���� 
	public int addNetwork(WifiConfiguration wcg) {
		int wcgID = mWifiManager.addNetwork(mWifiConfiguration.get(3));
		mWifiManager.enableNetwork(wcgID, true);
		return wcgID;
	} 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE