Questions tagged [accountpicker]

Common account picker similar to the standard framework account picker introduced in ICS.

Documentation: http://developer.android.com/reference/com/google/android/gms/common/AccountPicker.html

Returns an intent to an Activity that prompts the user to choose from a list of accounts. The caller will then typically start the activity by calling startActivityForResult(intent, ...);.

On success the activity returns a Bundle with the account name and type specified using keys KEY_ACCOUNT_NAME and KEY_ACCOUNT_TYPE.

20 questions
0
votes
0 answers

How to add a cancel button for google signIn accountPicker dialog box in android

I am new to android. I am trying to make an android application with authentication by google signIn using firebase. I want to add an additional button to the google signIn accountPicker. This is my code: public class MainActivity extends…
0
votes
1 answer

How to dismiss Google account chooser screen in my android app when my app goes to background and then comes back

I have implemented Google sign-in in my application. When I tap the sign in with google button my screen is as the screenshot displayed below. Lists all accounts signed in my phone.Screenshot Then I press my Home button and my app goes to…
0
votes
1 answer

Android AccountPicker 'Add account' doesen't refresh the options

When my app starts, I'd like to ask my users either to create an Account or to choose from existing ones. I've implemented an Authenticator (extended AccountAuthenticatorActivity, AbstractAccountAuthenticator, made a Service) It seems to be working,…
Bence Gedai
  • 1,461
  • 2
  • 13
  • 25
0
votes
0 answers

newChooseAccountIntent force open dialog in android 6.0

I use this function for account chose and pick get user's email. private void pickUserAccount() { String[] accountTypes = new String[]{"com.google"}; try { // request account Intent intent = AccountPicker …
Yury Finchenko
  • 1,035
  • 13
  • 19
0
votes
1 answer

How to get the device primary Gmail id to edit text field

I want to automatically add device primary gmail id in the edit text field whenever user open the login page. this is my emailview mEmailView = (EditText)findViewById(R.id.account_email); I have mentioned the permission in the Main fest…
1
2