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

  • Home
  • SEARCH
  • 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 4024676
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T10:45:04+00:00 2026-05-20T10:45:04+00:00

I need to fetch some data over the cloud from my app. I’ve watched

  • 0

I need to fetch some data over the cloud from my app. I’ve watched the google IO video on RESTful android apps @ http://www.youtube.com/watch?v=xHXn3Kg2IQE&t=43m58s It recommends in the final slides to use a SyncAdapter to integrate with the Android System.

Later I learned that one has to use an Account to implement SyncAdapter. My app does not use an account. Users can freely download data without registration. Can I still use SyncAdapter? Is there a stock dummy account that I could use?

Edit: I do have a content provider for my app so that’s not a problem

Edit2: I’ve just looked at the Weather and Stock apps under Settings -> Accounts & Sync. You can see that they allow syncing, but don’t have a remove account button. On the other hand, Google, Facebook and Skype apps allow syncing PLUS they have a remove account button. This means Weather and Stock don’t use accounts, whereas Google, Facebook and Skype do.

The tutorials I found @ http://ericmiles.wordpress.com/2010/09/22/connecting-the-dots-with-android-syncadapter/ and @ http://www.c99.org/2010/01/23/writing-an-android-sync-provider-part-1/ say that one MUST have an account to use Sync Adapter. :S ???

  • 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-05-20T10:45:05+00:00Added an answer on May 20, 2026 at 10:45 am

    I have created a contact sync adapter where I don’t have a account authorization and or configuration screens. It wasn’t that hard. I don’t think having to deal with the Android Account stuff was that much of a deal.

    Quote from your tutorial link:

    The bad news is that there is no
    “stock” functionality to give you an
    easy way to provide an Account to the
    system. However, in the same Sync
    Adapter Example that comes with the
    SDK there is a lot of code you can
    borrow to give you Account
    functionality. Unless you desire a
    custom credentials screen, you can
    heist all the code in the
    com.example.android.samplesync.authenticator
    package with only a few minor changes.

    So it’s basically just a copy and paste from the example, that’s pretty much what I did and it worked fine.

    I don’t know for sure but all the adapters that don’t have “Remove Account” seems to be built-in ROM adapters on all the devices I’ve looked at. I’m not sure you have to worried about it.

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

Sidebar

Related Questions

I have the following Query and i need the query to fetch data from
Usually, I need to retrieve data from a table in some range; for example,
I need to access some data from an MS Access database and retrieve some
need ask you about some help. I have web app running in Net 2.0.
I've got a situation which I want to fetch data from a database, and
i'm currently working on an app for the android os that requires to fetch
I tried to send some services to fetch data in the creationComplete handler. Then
I need to set the fetch mode on my hibernate mappings to be eager
I need some help figuring out why the following scenario does not work. I'm
I have some basic questions about core data (which I am new to) and

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.