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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T18:01:27+00:00 2026-06-04T18:01:27+00:00

I have profiles in my mobile app and in web project. We are currently

  • 0

I have profiles in my mobile app and in web project. We are currently thinking about how can we synchronize them. The point is, if person add something to mobile profile – we can just send a bundle of ids to webserver and server will add them as well. The same with removing items. But what is if person will removes in mobile profile without constant connection, then removes something inside his profile in webserver`s profile? And after that we have to synchronize it somehow.

I understand that solution of such issue has to be already found, but unfortunately I didn`t find anything helpful yet.

  • 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-04T18:01:29+00:00Added an answer on June 4, 2026 at 6:01 pm

    I’d recommend watching Virgil Dobjanschi’s Google I/0 2010 talk on designing RESTful client applications: here. It’s about an hour long, but very informative and helpful.

    Some key points to note are:

    • Use a SQLite database to act as a cache between your application and the webserver, so changes can be saved even there is no connection, then sent/received once you gain connection again.
    • Use a Service to handle REST calls, as it won’t be restricted by a single Activity’s lifecycle. This way your server requests can still be executed and properly handled if a user or the Android OS kills your Activity, a phone call pushes your application off the screen, etc. I’m using an Intent Service, as it handles threading for you.

    You also need to determine which syncing relationship is most suitable for your application. What I mean by that is “Which database should overwrite the other: The SQLite or the webserver?”. So when there are differences between the two, which data should be deemed “correct”? This is commonly referred to as master-slave.

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

Sidebar

Related Questions

We have a page where use can browse 2000 profiles max, we add 20
I currently have profiles on my website with a unordered list for the navigation,
Let's say I have two maven profiles for running projects web tests: 1. first
So on users profiles I will have banner space where they can upload a
I have trouble integrating jquery mobile for my django project. Especially the log-in functionality
Let's say I have a killer mobile app named X. I have lots of
I have a user and a profile model. One user can have many profiles.
I have made a web app and we are using imageflow And in the
I have an app that i can deploy on iPhone 3GS or 4 and
I have a fairly standard ASP.Net web application which is used via mobile safari

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.