accountmanager Questions
2
Solved
I'm trying to use AccountManager.confirmCredentials method for user verification in my app. I'm using it like that:
AccountManager am = AccountManager.get(ctx);
am.confirmCredentials(account, nu...
Disinterested asked 31/7, 2019 at 10:38
4
Solved
I'm working on an Android app that uses the AccountManager to store accounts & credentials. One problem I've been having is that even though I pass in a bunch of String values to the AccountMan...
Boysenberry asked 18/5, 2012 at 18:8
2
The app I'm currently developing has recently been showing problems when users update to 7.1.1 om Sony mobiles
On a Sony XZ we can see this in the log when trying to addAccountExplicitly:
Account...
Absorbing asked 27/4, 2017 at 17:36
1
I am trying to dd my application the "Accounts Section" of the settings. So that when the user clicks on Add account , my app name is visible. The complete code can be found here
I have created an...
Breeze asked 22/11, 2015 at 7:13
7
I am trying to remove a custom account in AccountManager.
This is my code :
final Handler handler = new Handler ();
AccountManagerCallback<Boolean> callback = new AccountManagerCallback&l...
Delphinus asked 11/3, 2013 at 9:39
3
I'm writing an app targeted at Lollipop and above. This is my first Android app.
I'm trying to get a list of all the accounts that are associated with the device. Here is my code:
public void getAl...
Toaster asked 28/1, 2016 at 0:0
2
Solved
setAccountAuthenticatorResult can be called from the Activity, which extends AccountAuthenticatorActivity. My activity extends that, but launches ASyncTask and hence this setAccountAuthenticatorRes...
Epistemology asked 2/4, 2011 at 13:28
1
In Android Oreo, AccountManager.getAccountsByType("com.google"); returns null.
Its, working fine in below Android 8 versions.
Below is my code:
private static Account getAccount(AccountManager a...
Anagoge asked 8/3, 2018 at 9:32
2
Solved
I am integrating my app with android default Contacts application.I would like to show an option "xyz using MyApp" inside every Contacts Detail.I am able to see my app in Accounts Section with an o...
Platitude asked 20/10, 2018 at 11:36
2
What we want to achieve: cross app single sign on
We have 2 apps (app A and app B) that we would like to share the same user account. That is, when a user logs into app A, they will be automatical...
Reconcilable asked 21/3, 2017 at 10:0
2
With the following code that retrieves the user's Google account, gmail, I was wondering why I get null from devices like mine (that of course runs on my gmail), whereas it works on my mom's device...
Chelyuskin asked 20/4, 2016 at 16:55
1
I am working on an app that will need to get authorization via OAuth2 from a 3rd party web service (3rd party meaning it's not Google and I don't own it).
This article:
http://developer.android.c...
Phagocytosis asked 29/4, 2013 at 3:46
5
Solved
I am working on a project, and I have to fill the EditText automatically with the user's primary email, I am considering primary email as the email that associated with google play store. I have re...
Mapp asked 8/9, 2015 at 6:48
2
Solved
Hey guys im trying to add an account with androids accountManager, I keep getting this stack trace below.
Guys I cant post all of my code cause I break the limit that Stack Overflow allows me to e...
Nameless asked 6/9, 2016 at 1:36
3
Solved
I'm about to implement login along with user authentication in my app.
My first idea was to do it manually, register username and password with the server, get auth token, save it and use it in su...
Mirk asked 10/8, 2015 at 9:9
3
Solved
When i login with [email protected] in my application.It generate account successfully with my email like this
Now i logout and login with different email like [email protected] then it ...
Euhemerus asked 11/3, 2017 at 5:4
1
Solved
I have a question about authentication using the Android Account Manager. We have a backend and an Android app and the user should log into our backend using his Facebook account. Currently we show...
Khudari asked 23/2, 2015 at 15:45
2
I'm trying to work out the best solution for a particular situation I'm in, and am having trouble working out the best option. It's a tricky setup, so might be a fun challenge for you Android exper...
Cyprus asked 23/2, 2017 at 9:6
2
Solved
I currently have my Android app set up to use the AccountManager feature of Android, using a SyncAdapter and an authenticated account to performs syncs automatically.
I only have 1 sync adapter ru...
Runt asked 23/6, 2015 at 8:49
3
Solved
I have created sync adapter for android that syncs data with my server. I works fine, but now I want to be able to change my username and password without removing and adding the account again. How...
Aric asked 26/4, 2013 at 11:30
4
I've seen AccountManager in the Android SDK and that it is used for storing account information. Thus, I cannot find any general discussion of what it is intended for. Does anyone know of any helpf...
Zaremski asked 27/4, 2010 at 10:20
4
Solved
I'm experimenting with Android AccountManager.
I have an Account authentication service that shows UI to enter username/password.
I go to Settings/Accounts/Add Account, choose my new account type...
Mendelian asked 24/4, 2012 at 14:56
1
I'm using accountmanager in my application.
I check first for an account, to see if it exists. if it does not, it is added explicitly. The Code crashes in addaccountexplicitly()
Account[] accounts...
Defloration asked 20/5, 2016 at 13:46
2
Solved
why we use Accountmanager.addAccount() when we can create account with all parameters with Accountmanager.addAccountExplicitly().
I googled and find out when we use Accountmanager.addAccount() it...
Corotto asked 1/4, 2016 at 9:55
2
Solved
Is there a way to get some kind of notification/broadcast/etc. when a custom account is removed from "Accounts & sync settings"?
The application I have can facilitate multiple users on a devi...
Bradlybradman asked 20/5, 2011 at 15:35
1 Next >
© 2022 - 2024 — McMap. All rights reserved.