Code example for WifiP2pManager

Methods: discoverPeers

0
 
	} 
 
	public void searchPeers() { 
 
		manager.discoverPeers(mChannel, new ActionListener() {
 
			@Override 
			public void onFailure(int arg0) {
				Log.d("director", "peers discovery failed ");
 
			} 
 
			@Override 
			public void onSuccess() { 
				Log.d("director", "peers discovery success ");
			} 
 
		}); 
	} 
Stop searching for code, let great code find you!  Add Codota to your java IDE