Skip to content

Instantly share code, notes, and snippets.

@ianbarber
Created February 17, 2014 22:35
Show Gist options
  • Save ianbarber/9060618 to your computer and use it in GitHub Desktop.
Save ianbarber/9060618 to your computer and use it in GitHub Desktop.
new GoogleApiClient.Builder(this)
.addApi(Drive.API)
.addScope(Drive.SCOPE_FILE)
.addApi(Plus.API, plusOptions)
.addScope(Plus.SCOPE_PLUS_LOGIN)
.addConnectionCallbacks(this)
.addOnConnectionFailedListener(this)
.build();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment