src/com/closedcircles/client/activities/LoginActivity.java
/* Starts an appropriate intent or dialog for user interaction to resolve
     * the current error preventing the user from being signed in.  This could
     * be a dialog allowing the user to select an account, an activity allowing
     * the user to consent to the permissions being requested by your app, a
     * setting to enable device networking, etc.
     */
Starts an appropriate intent or dialog for user interaction to resolve
the current error preventing the user from being signed in.  This could
be a dialog allowing the user to select an account, an activity allowing
the user to consent to the permissions being requested by your app, a
setting to enable device networking, etc.
Starts an appropriate intent or dialog for user interaction to resolve the current error preventing the user from being signed in . This could be a dialog allowing the user to select an account an activity allowing the user to consent to the permissions being requested by your app a setting to enable device networking etc .
private void resolveSignInError() {
        if (mSignInIntent != null) {
            try {
                mSignInProgress = STATE_IN_PROGRESS;
                startIntentSenderForResult(mSignInIntent.getIntentSender(),
                        RC_SIGN_IN, null, 0, 0, 0);
            } catch (SendIntentException e) {
                Log.i(TAG, "Sign in intent could not be sent: "
                        + e.getLocalizedMessage());
                mSignInProgress = STATE_SIGN_IN;
                mGoogleApiClient.connect();
            }
        } else {
            showDialog(DIALOG_PLAY_SERVICES_ERROR);
        }
    }
private void resolveSignInError ( ) { if ( mSignInIntent != null ) { try { mSignInProgress = STATE_IN_PROGRESS ; startIntentSenderForResult ( mSignInIntent . getIntentSender ( ) , RC_SIGN_IN , null , 0 , 0 , 0 ) ; } catch ( SendIntentException e ) { Log . i ( TAG , "Sign in intent could not be sent: " + e . getLocalizedMessage ( ) ) ; mSignInProgress = STATE_SIGN_IN ; mGoogleApiClient . connect ( ) ; } } else { showDialog ( DIALOG_PLAY_SERVICES_ERROR ) ; } }
Starts an appropriate intent or dialog for user interaction to resolve
 the current error preventing the user from being signed in.
Starts an appropriate intent or dialog for user interaction to resolve the current error preventing the user from being signed in .
// We have an intent which will allow our user to sign in or // resolve an error.  For example if the user needs to // select an account to sign in with, or if they need to consent // to the permissions your app is requesting. // Send the pending intent that we stored on the most recent // OnConnectionFailed callback.  This will allow the user to // resolve the error currently preventing our connection to // Google Play services. // The intent was canceled before it was sent.  Attempt to connect to // get an updated ConnectionResult. // Google Play services wasn't able to provide an intent for some // error types, so we show the default Google Play services error // dialog which may still start an intent on our behalf if the // user can resolve the issue.