107 Contributors: 3 Monday, March 20, 2017
Licensed under: CC-BY-SA
Not affiliated with Stack Overflow
Rip Tutorial:
Roadmap: roadmap
Download eBook

Integrate Google Sign In

Download android eBook


  • newInstance() - To create single instance of Google Helper
  • initGoogleSignIn() - To initialize Google log in
  • getGoogleAccountDetails() - To get logged in Account details
  • signOut() - To log out user
  • getGoogleClient() - To get GoogleApiClient used


TAGA String used while logging
GoogleSignInHelperA static reference for helper
AppCompatActivityAn Activity reference
GoogleApiClientA reference of GoogleAPIClient
RC_SIGN_INAn integer represents activity result constant
isLoggingOutA boolean to check if log-out task is running or not

Related Examples