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;
	} 
} 
Contextual code suggestions in your IDE  Get Codota for Java