Code example for PlusClient

Methods: getAccountName

0
		} 
	} 
	 
	@Override 
	public void onConnected(Bundle connectionHint) {
		String accountName = mPlusClient.getAccountName();
		Toast.makeText(this, accountName + " is connected.", Toast.LENGTH_LONG).show();
		mConnectionProgressDialog.dismiss();
	} 
	 
	@Override 
	public void onDisconnected() { 
		Log.d(TAG, "disconnected");
	} 
 
}