Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8232045
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T17:41:58+00:00 2026-06-07T17:41:58+00:00

What is the simplest way to create a custom account on Android? So far

  • 0

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 reading the example from LastFm but certainly they did things a bit too much elaborately which I quite didn’t understand well since I’m just an Android beginner with the accounts.
I know its not as simple as calling:

final Account account = new Account(mUsername, your_account_type);
mAccountManager.addAccountExplicitly(account, mPassword, null);

because this would trow an exception.

So far I understood that I need to use an AccountAuthenticatorActivity and a service that works as authenticator.
Any help that would point me in the right direction would be much appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T17:41:59+00:00Added an answer on June 7, 2026 at 5:41 pm

    Did you checkout the sample sync adapter app? It’s a little complicated and convoluted, but if you stick with it you can get things working. I’ve got a slightly simpler implementation in an android app I’ve been working on if you want to check that out as well.

    Accounts are one of those things that I really wish android made a lot simpler. It used to be a poorly documented yet critical feature. They documentation seems to be getting better though.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

What is the simplest way to create a HTTP proxy with Python? As far
Would the simplest way to create a threadpool (or, at least obtain the code
What's the simplest/canonical way to create an empty file in C#/.NET? The simplest way
What is the simplest way to dynamically create a hidden input form field using
The simplest way to deal with python package installations, so far, to me, has
What's the simplest way to create and write to a (text) file in Java
what is the best and most simplest way to create tooltip text for textboxes
I am trying my hardest to find the simplest way to create a basic
What is the simplest way to create my own FTP server in C#? Some
I need to create ellipse with OpenGL. The simplest way I found to do

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.