Android Integrate Google Sign In


  • 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