Code example for WifiInfo

Methods: toString

0
		return (mWifiInfo == null) ? "NULL" : mWifiInfo.getBSSID();
	} 
 
	// �õ�WifiInfo��������Ϣ�� 
	public String getWifiInfo() {
		return (mWifiInfo == null) ? "NULL" : mWifiInfo.toString();
	} 
 
	// ���һ�����粢���� 
	public int addNetwork(WifiConfiguration wcg) {
		int wcgID = mWifiManager.addNetwork(mWifiConfiguration.get(3));
		mWifiManager.enableNetwork(wcgID, true);
		return wcgID;
	} 
} 
Connect your IDE to all the code out there  Get Codota for Java