Code example for WifiP2pManager

Methods: requestConnectionInfo

0
			} 
		}); 
	} 
 
	private void notifyConnect() { 
		mWifiP2pManager.requestConnectionInfo(this.channel,
				new ConnectionInfoListener() {
					public void onConnectionInfoAvailable(WifiP2pInfo info) {
						if (observerList != null) {
							for (ManagerP2pDeivce f : observerList) {
								f.hasConnect(info);
							} 
						} 
					} 
				}); 
	} 
 
	@Override 
	public void notifyDeviceChange() { 
		getPeerDevice(serverFlag);
	}