How to use an account using AccountManager across different apps?
up vote
0
down vote
favorite
I'm trying to create a system like Google where you have a Google-like account that can be used across different apps, even system ones that have android:sharedUserId="android.uid.system"
but I haven't been able to figure it out. I didn't want to create an Authenticator activity so I tried to use addAccountExplictly
but it gives me an error java.lang.SecurityException: uid 1000 cannot explicitly add accounts of type: com.example
.
What is the best way to go about this?
I don't have an activity either, only login dialog / fragment that I could use.
android accountmanager
add a comment |
up vote
0
down vote
favorite
I'm trying to create a system like Google where you have a Google-like account that can be used across different apps, even system ones that have android:sharedUserId="android.uid.system"
but I haven't been able to figure it out. I didn't want to create an Authenticator activity so I tried to use addAccountExplictly
but it gives me an error java.lang.SecurityException: uid 1000 cannot explicitly add accounts of type: com.example
.
What is the best way to go about this?
I don't have an activity either, only login dialog / fragment that I could use.
android accountmanager
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I'm trying to create a system like Google where you have a Google-like account that can be used across different apps, even system ones that have android:sharedUserId="android.uid.system"
but I haven't been able to figure it out. I didn't want to create an Authenticator activity so I tried to use addAccountExplictly
but it gives me an error java.lang.SecurityException: uid 1000 cannot explicitly add accounts of type: com.example
.
What is the best way to go about this?
I don't have an activity either, only login dialog / fragment that I could use.
android accountmanager
I'm trying to create a system like Google where you have a Google-like account that can be used across different apps, even system ones that have android:sharedUserId="android.uid.system"
but I haven't been able to figure it out. I didn't want to create an Authenticator activity so I tried to use addAccountExplictly
but it gives me an error java.lang.SecurityException: uid 1000 cannot explicitly add accounts of type: com.example
.
What is the best way to go about this?
I don't have an activity either, only login dialog / fragment that I could use.
android accountmanager
android accountmanager
asked Nov 9 at 23:54
John61590
5811724
5811724
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53234749%2fhow-to-use-an-account-using-accountmanager-across-different-apps%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown