Code example for PlusClient

Methods: getAccountNamegetCurrentPerson

0
	} 
 
	@Override 
	public void onConnected(Bundle connectionHint) {
		mConnectionProgressDialog.dismiss();
		String accountName = mPlusClient.getAccountName();
		accountName += "    " + mPlusClient.getCurrentPerson();
		Toast.makeText(this, accountName + " is connected.", Toast.LENGTH_LONG)
				.show();
	} 
 
	@Override 
	public void onDisconnected() { 
		Log.d(TAG, "disconnected");
	} 
} 
Contextual code suggestions in your IDE  Get Codota for Java