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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T12:04:55+00:00 2026-06-17T12:04:55+00:00

I have apps that sync DB from sqlite to sqlserver in a website. The

  • 0

I have apps that sync DB from sqlite to sqlserver in a website. The problem is that I need to sync both sides (server side and phone side).
It means when user insert/update/delete any data from web it should be reflected in phones and also when any change is made in phone’s DB it should be reflected on website.

Currently I’m using simple method. Which master tables are controlled by website and transaction are in Android phones. So when syncing process done. It remove all the master data from Android db and recreate all stuff. So it take a process. I only need that changes made on master tables on website and changes reflects on phone, that’s the method which i looking for.
Same way Android phone have transaction record when syncing, it remove all data form website and recreate.

So, how can i get only those records which is newly inserted or updated or deleted from Android phone as well as website….help me please…

  • 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-17T12:04:58+00:00Added an answer on June 17, 2026 at 12:04 pm

    I can give you a rough idea.

    Use webserveices for this.

    1)On server side save time stamp for every record that have modified (saved/deleted/updated).
    2)Create a table which holds the table name and time stamp and records modified.
    3)Your sever should generate all the data (operations performed) when pinged by phone with time stamp. (use flags (delete,update,insert) with records.

    At Phone end

    1) check the flag and do db operations accordingly.

    The above is one part.

    Now for synching data from phone to server

    1) create a datapost method (better use json and post method of webservie), with data to be operated on with appropriate flags like that of above said method.
    2)Process the server data after getting the data from phone.

    But your design should also consider when single record on server can be modified by many users. If this is the requirement, then better directly do it from webapp, use webview on client side.

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

Sidebar

Related Questions

I have a website that has one database I have also Desktop apps that
I have 2 MVC apps that need to connect to a 3rd application. The
I have a set of apps that all need to synchronize with a webservice:
I have 2 apps that I want to make communicate via named pipes on
I have two apps that use custom URL schemes to switch between each other.
I have seen several apps that make use of a UISplitViewController inside a tab.
Say I have two Java apps that I wrote: Ping.jar and Pong.jar and they
You've probably seen web apps that have an email dropbox. Users can send email
I have seen a few OSX apps that have a Special Characters menu item
Consider the apps that large blogs have (which work pretty much like an RSS

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.