Code example for PlusClient

Methods: getAccountName

0
		/* 
		 * if (mConnectionProgressDialog.isShowing()) { 
		 * mConnectionProgressDialog.dismiss(); } 
		 */ 
 
		String accountName = mPlusClient.getAccountName();
		mPlusClient.loadPerson(this, "me");
		Log.d(TAG, "Display Name: " + accountName);
		Toast.makeText(this.getActivity(), "Connected:" + accountName, Toast.LENGTH_LONG).show();
 
	} 
 
	@Override 
	public void onDisconnected() { 
 
	} 
 
	@Override 
	public void onClick(View v) {
		if (v.getId() == R.id.sign_in_button && !mPlusClient.isConnected()) {
			if (mConnectionResult == null) {