Questions tagged [accountmanager]

AccountManager keeps track of cloud login information on Android devices. It uses plugins to communicate with different kinds of services, and the user only has to enter the information once. Applications don't need to deal with passwords, and may instead ask for permission to gain access to specific accounts.

As a part of Google's Android SDK, the AccountManager can be used create a separation of the cloud account information entered by the user and the applications that make use of it. Since web services are constructed differently from each other, AccountManager uses plugins (authenticators) in order to communicate with them.

An application can ask for permission to access a certain account. If successful, the application receives a token, and never has to deal with the actual password. The user can find a list of all accounts that are used on the device under Settings > Accounts & sync, and may at any time remove an account that shouldn't be accessed anymore.

519 questions
0
votes
1 answer

Android contact manipulation

I'm developing an IM app on Android. The aim is to have multi accounts and protocols compatibility. I'm looking for a way to get the best status of a contact on Android. I've got a list of account types supported. I have a function that takes a…
grea09
  • 57
  • 9
-1
votes
2 answers

Autoadd account after application is installed

Is there any way to add automatically account just after installation my application (but it was not started yet).
Solvek
  • 5,158
  • 5
  • 41
  • 64
-1
votes
1 answer

which authentication method is better for dealing with Google api and Google accounts on android?

follow the link: http://code.google.com/p/google-api-java-client/wiki/Authentication There are 4 methods there, which are: 1. OAuth 1.0a 2. OAuth 2.0 draft 10 (JavaDoc, specification) 3. Android AccountManager 4. ClientLogin (legacy method that…
-1
votes
1 answer

Android list of Accounts is empty

I am on a project that I need to list all accounts (Gmail, Exchange, etc.) in the users device. First things first; my code snippet is below; public class MainActivity extends AppCompatActivity { public static final int PERMS_REQUEST_CODE = 1; …
Taner
  • 4,511
  • 3
  • 18
  • 14
-1
votes
1 answer

Android AccountManager :Which account is being used?

I am using android account manager for my app. It allows multiple accounts and every account has it's own specific data. What I want to know is; How to determine which account is being used by account manager Is there a way to set specific account…
-1
votes
1 answer

Android: Adding SyncAdapters to existing Account

I want to split up functionality from a bigger SyncAdapter to the corresponding Apps. Therefore i now have a single App which contains the Authenticator and a SyncAdapter which syncs core data. The plan is now, that other Apps also contain…
cwiesner
  • 934
  • 1
  • 8
  • 24
-1
votes
1 answer

my current/total of downloads are not showing on google developer account

I have created my account two days ago but total download is not showing, but the number of people that rated the app is both showing on google play and the developer account
-2
votes
1 answer

AndroidBootstrap: Authentication - how does it work?

I was trying to use http://www.androidbootstrap.com/ to bootstrap a new Android application. It creates a project with Otto, Dagger, Butterknife, Retrofit, and some other nifty stuff while also creating sample code on how to use it. It's really…
EpicPandaForce
  • 79,669
  • 27
  • 256
  • 428
-2
votes
1 answer

Android App Development: How to get Google Gmail account credentials to send email without user intervention

I'm trying to create an android Application, that send email automatically I dont want user to enters gmail or password, that use default gmail account in his android device to send email automatically... if there is any full example or any thing…
1 2 3
34
35