android-authenticator 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

I want to refresh my access token when it gets expired. I have implemented Authenticator as shown below: @Singleton class TokenAuthenticator( val authService: Lazy<AuthService>, private val...

3

Solved

Is it possible to use the default security settings, which user has set to the phone, as a locking or login mechanism for my app too? I mean like when we reset the phone, it asks for phone password...
Maharani asked 5/4, 2015 at 10:43

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

3

Solved

I followed this description to add my sync adapter. But there is a litte bug :-( When I open Settings -> Account -> Add account and select my account I get this error message java.lang.IllegalAr...
Androcles asked 13/12, 2015 at 17:52

2

Solved

Is it possible to set the theme of picker dialog ? import com.google.android.gms.common.AccountPicker; .... String[] accountTypes = new String[]{"com.google"}; Intent intent = AccountPicker.newCho...

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

3

Solved

I've followed the quickstart example from Google to setup the GMail API: https://developers.google.com/gmail/api/quickstart/android My app successfully requests the GET_ACCOUNTS permission and all...

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

3

Solved

I'm trying to connect my Android app to an IIS server using the HttpUrlConnection class. My server needs the user to be authenticate, so it is sending the following challenge to the client : WWW...
Sailer asked 18/6, 2013 at 18:15

1

I am building an android app where I need to authenticate the user via an username and password (on the backed) using the Fingerprint api. Here's my understanding what I need to do in the simplest...

0

I am working on a project in which I want to detect the changes in the Contacts. So I have created Account with Account manager and trying to find the changes in the contact list using DIRTY flag. ...

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

1

I have custom authenticator. And put account information like it shown below: final AccountManager am = AccountManager.get(AuthActivity.this); final Bundle result = new Bundle(); final Bundle user...
Dorset asked 4/1, 2016 at 21:4

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

Solved

I want to read in my code preferences I have set via the authenticator xml file. I found Can't access preferences set in account-authenticator in Android and How can access preferences set in a...
Sonyasoo asked 24/6, 2015 at 14:39

1

I have an app I've built for a client that uses a custom AccountAuthenticator. It works wonderfully and it does what the client wants. However, that is only the first app in what will be a collec...
Kurdish asked 16/9, 2014 at 20:45

0

I need to get value of CheckBoxPreference and SwitchPreference. In account_preferences.xml i have: <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" > <Prefe...
Shaunna asked 3/2, 2014 at 13:5

2

Solved

I am digging through the GitHub android app source code. I am trying to find out how do they force the LoginActivity to show up when the app is first started. In their manifest they seem to have ...
Paean asked 20/12, 2013 at 15:42

1

I have a webview with authentication, in which the authentication message keeps popping up for the webview fragment when called.The authentication popup is the fault code 410 (already signed in: si...

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

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

© 2022 - 2024 — McMap. All rights reserved.