android-account Questions

12

Solved

Can anybody tell me how to maintain session for a user login. For example when the user sign- in to an application they have to be signed in unless the user logouts or uninstall the application sim...
Rebarebah asked 19/12, 2013 at 10:8

1

Recently I see an increase of error reported from Firebase Crashlytic on the following Caused by java.lang.SecurityException: uid 10172 cannot explicitly add accounts of type: com.mypackage.account...
Dashpot asked 30/6, 2020 at 11:47

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

3

I have a similar problem like this AccountManager getUserData returning null despite it being set But the solutions did not work for me My Authenticator.java public class Authenticator extends A...
Niko asked 24/2, 2015 at 9:13

3

Solved

I'm trying to let the user pick an Email account using the following code: Intent intent = AccountPicker.newChooseAccountIntent(null, null, new String[]{"com.google"}, false, null, null, null, nu...
Anaximander asked 4/3, 2014 at 14:11

3

Solved

I have an app that uses Android AccountManager (package name: com.mycompany.accounts), that adds accounts to the device and provides a login screen. I have another app (com.mycomp.actualapp), that ...

1

I have created a custom account type for two applications that I am developing. Now I am looking for a way for both apps to take advantage of this single account service. The documentation recommen...
Vapid asked 10/11, 2017 at 16:58

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 ...

1

I develop an app which needs to do 2 things: Create a user account (like WhatsApp). Whenever there is a new contact entry, if the contact is using my app, then immediately in the Contacts applica...

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...

3

Google's Android docs (http://developer.android.com/reference/android/accounts/AccountManager.html#addAccountExplicitly(android.accounts.Account, java.lang.String, android.os.Bundle)) say: Retur...

3

I have implemented a sync adapter in my app which requires an account to be added in the device account settings. I followed the same approach given in the Android docs. It works fine till Marshmal...

2

Solved

I have two apps that work with a same account type. I want below page to be shown when the user opens the second app for first time and one account exists: But nothing happens when I run this co...
Deipnosophist asked 5/9, 2015 at 13:40

2

I want to get a name / ID of the user making a purchase. I would like to do without AccountManager if possible, as its use requires an extra permission. Even with AccountManager I don't see a way t...

2

Solved

I don't know it is the correct question or not.How can we get the lo-gin id of the user from which it has been lo-gin to the Google Play Store in Android.Is this possible or not.
Biggers asked 4/9, 2013 at 12:28

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...

1

I am developing an app and the requirement is to show the app icon in native contact app of android for the contacts who are also using my app i.e. they have installed and registered on my app. I w...
Underwing asked 2/7, 2015 at 9:42

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...

2

Solved

I have a private app which works totally offline (i.e. no server data sent/recieved), however I have a need to restrict it only to users with a valid Google account on their phone. I can get make s...
Obtund asked 3/4, 2014 at 16:38

1

Solved

I've created a custom account type and I can successfully create contacts of that type in the android ContactsContract ContentProvider. But I'm having a lot of trouble figuring out how to get my cu...

1

Solved

I don't understand how method confirmCredentials works. I've never seen any options in the Android UI like “Confirm Credentials” or something like, there are only “Create account” and “Remove accou...
Marchelle asked 18/2, 2012 at 12:11

1

Solved

My app allows people to use and manage their data regardless they're logged in. Though, as I uniquely identify each device, I want to sync data from my anonymous users (not logged ones) as well. So...
Serration asked 30/8, 2012 at 21:7

1

Solved

What is the simplest way to create a custom account on Android? So far I've read the documentation: Creating a Custom Account Type, but it certainly didn't help a lot (too vague info). I tried read...
Regularly asked 9/7, 2012 at 23:7

1

Solved

Is there are way to use fragments with the AccountAuthenticatorActivity when I'm using the Support Package? AccountAuthenitactorActivity does not subclass the FragmentActivity class and therefore I...
1

© 2022 - 2024 — McMap. All rights reserved.