Code example for WifiP2pManager

Methods: cancelConnectremoveGroup

0
				+ " Owner Address is :" + info.groupOwnerAddress);
 
	} 
 
	public void disconnect() { 
		manager.cancelConnect(mChannel, new ActionListener() {
 
			@Override 
			public void onFailure(int arg0) {
 
			} 
 
			@Override 
			public void onSuccess() { 
			} 
 
		}); 
		manager.removeGroup(mChannel, new ActionListener() {
 
			@Override 
			public void onFailure(int arg0) {
			}