Code example for WifiManager

Methods: getConfiguredNetworksgetScanResultsstartScan

0
		//�������úõ�ָ��ID������ 
		mWifiManager.enableNetwork(mWifiConfiguration.get(index).networkId, true);
	} 
	public void StartScan() 
	{ 
		mWifiManager.startScan();
		//�õ�ɨ������ 
		mWifiList = mWifiManager.getScanResults();
		//�õ����úõ��������� 
		mWifiConfiguration = mWifiManager.getConfiguredNetworks();
	} 
	//�õ������б� 
	public List<ScanResult> GetWifiList()
	{ 
		return mWifiList;
	} 
	//�鿴ɨ������ 
	public StringBuilder LookUpScan()
	{ 
		StringBuilder stringBuilder = new StringBuilder();
Contextual code suggestions in your IDE  Get Codota for Java