accountmanager Questions

2

Solved

I am developing an Android application and I need to retrieve the Google account used on the phone. I want to do this for the C2DM, but I don't want to ask the user to enter in his/her Google email...
Tabulate asked 27/10, 2010 at 22:45

1

Solved

I have an app which uses AccountManager to store users' accounts. Users log in and sign up through my REST API using OAuth2.0 password-username credentials flow. The access tokens that users receiv...

2

Solved

This nice tutorial is a very good introduction to account authentication on Android and doing it by utilizing Android's AccountManager. However, I need to create a client app for an OAuth2 API usi...
Subjectivism asked 17/12, 2013 at 18:41

3

Solved

I have two apps that both use a same custom account type. Those two apps are completely independent and just share the account. When one of them starts, it checks for existing custom accounts and i...

4

Solved

When using AccountManager::getAuthTokenByFeatures, an Access Request screen is shown for the user to allow or deny access to the account. After a user allows access, subsequent calls (with the same...
Married asked 27/7, 2011 at 23:1

4

Solved

I have a SyncAdapter for my app, and an AccountManager to add my apps accounts to the Android Account Manager. My code for when I add an account to the Account Manager looks like: Bundle data = ne...
Clodhopper asked 18/6, 2012 at 20:32

1

I'm trying to add a new account (after a Facebook login + server validation) in AccountManager. The flow for this case is like this: User login with Facebook I got the details after the login is...
Handshaker asked 12/5, 2015 at 6:35

1

I try to implement an account manager in my app to avoid that the user has to log in each time he opens the app. So basically, I already have my Authentication Activity where the user can put its ...
Avelin asked 13/1, 2015 at 16:48

5

Solved

I'm writing an Android application, which uses AccountManager to get the token. From an android app I'm able to interact with Google Picasa - it works fine. What I would like to achieve is the fol...
Peripteral asked 23/3, 2012 at 18:34

1

everybody. I'm implementing an account authenticator using AbstractAccountAuthenticator and I need call an asynchronous method in the function getAuthToken, to authenticate a user. My code is li...
Tailback asked 1/10, 2014 at 12:45

2

Solved

I'm changing the name of a published app. Is there a quick and safe way to change the account name created via AccountManager.addAccountExplicitly so that existing info will remain intact for exis...
Inerrable asked 25/10, 2012 at 16:9

3

Solved

I've implemented my AccountManager authenticator and the service and the whole deal and it all seems to be working fine. There is, however, one little problem: I only want a single account for my ...
Scottiescottish asked 12/1, 2012 at 8:34

2

Solved

In my project want to read and write the data in server depends upon the authentication key(user). So far I planned to use shared preference to store user authentication key for further communica...

1

We're trying to implement GDK glassware auth; have uploaded our beta APK to the Google Glass team and successfully implemented our MyGlass login page. We are now attempting to access the token via ...

2

Solved

I created my own Android account authenticator by extending AbstractAccountAuthenticator and implementing addAccount() and getAuthToken(). Some of the methods in it are called by AccountManager, bu...
Leptosome asked 8/1, 2014 at 0:56

3

Solved

So, my question restated is when you go to Settings -> Accounts & Sync and select the an account that was created that your SyncAdapter is syncing with a cloud server, and select remove account...
Outflow asked 26/6, 2012 at 19:39

1

Solved

I have been working on an account manager in android to maintain a separate account for my app. I searched through many sites, but I couldn't understand the meaning of authTokenType. I want to know...
Furfuraceous asked 31/7, 2014 at 10:4

1

I am trying to display the application icon for the phone number which is associated with the application. I tried to follow this link but it is too difficult. Is there any library for this or any...
Kakaaba asked 11/2, 2014 at 11:49

0

I am developing an android app, using android studio (0.8.2) and API level 19. I have implemented authentication using AccountManager, but am running into an exception when attempting to retrieve ...
Fourpence asked 12/7, 2014 at 0:25

2

Solved

My requirement is to add contact to my custom account and this is working accordingly. The Settings -> + Add account screen shows the list of all applications which provides account management...

2

Solved

I would like to know if one should implement AccountManager to save user credentials such as username, email, passwords etc. I can't find a good reason to use it myself. I don't want other applica...

3

Solved

My application needs to synchronize some data from server. I added necessary classes (similarly to SampleSyncAdapter) now I can add account via "Settings/Sync and Accounts". But I want to have alre...
Charissa asked 5/10, 2011 at 17:8

1

Solved

I am using Android's Account Manager to authenticate my way into Gmail so I can send an e-mail from the device. During the send process, it appears (from the logs) that everything connects and aut...
Phalanger asked 4/3, 2014 at 23:30

1

I need to get the country(in app) which PlayStore is set to upon downloading my app. I only need to get this value on first launch upon installing my app after download from the playstore. I...
Foreleg asked 29/1, 2014 at 1:22

3

Solved

Created a test app using Eclipse to get the authToken from one of my google e-mail accounts on my device. Executing this prompted me with the allow access dialog where i press allow access: acco...
Mantoman asked 4/11, 2012 at 21:11

© 2022 - 2024 — McMap. All rights reserved.