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 8334603
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T03:24:27+00:00 2026-06-09T03:24:27+00:00

For an app I need to develop, I need to be able to sync

  • 0

For an app I need to develop, I need to be able to sync with both gmail and facebook data using a SyncAdapter. I’m hoping to sync with the local facebook and gmail apps (if available) instead their remote servers. Syncing with the local apps would mean less battery usage, less network usage, faster syncing, etc. Of course, if needed, I will set the correct permissions.

My questions:

  • If any of the apps (gmail/facebook) are available, is it possible to query them for data (messages, events, etc.)?
  • If not, is it possible to get an authentication token (or any kind of credential) from them that will allow me to query the server without the user needing to put in a username and password of each of them again?
  • If that’s possible, is it also possible to automatically sync immediately after either of the facebook or gmail apps sync, so that I get new data as soon as they do?

If none of these are available, I guess I’ll need to fetch the data myself, so that’s not relevant for this question.

  • 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-09T03:24:28+00:00Added an answer on June 9, 2026 at 3:24 am

    I can’t speak for Facebook, but the GMail app doesn’t allow this. It used to work previously, but they have since secured it so that only Google apps can query the email content provider. The best you can do is get the number of messages with the labels API. You can get an authentication token (ClientLogin or OAuth2) for Google services using the standard Android AccountManager. You will then have to use it to connect to the particular API to get the actual data.

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

Sidebar

Related Questions

I need to develop a native app both on iOS and Android. It is
I develop apps for jailbroken phones, and I need my app to be backgrounded
I need to develop an app using Java wrapper for OpenGL LWJGL .The app
I need to develop an app that runs side by side with a django-app.
I need to develop an android app that achieves the following: Create an activity
I need to develop a point of sale app that will be used on
For an ios app I try to develop, I need to get a listing
need help regarding USSD Gateway. I have to develop an app, which will directly
My App need to save some data (around 100 double fields that is stored
I need to develop a basic web app very quickly (1 week) for a

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.