Code example for WifiP2pManager

Methods: requestGroupInfo

0
	} 
 
	@Override 
	public void onSuccess() { 
		Log.e(TAG, "Create group succeeds.");
		wifiDirectManager.requestGroupInfo(wifiDirectChannel, this);
	} 
 
	@Override 
	public void onGroupInfoAvailable(WifiP2pGroup group) {
		if (isSensing == false)
			return; 
		Log.i(TAG, "***wifi direct group info available!");
		if (group == null) {
			new Thread(new Runnable() {
 
				@Override 
				public void run() { 
					try { 
						Thread.sleep(10 * 1000);