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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T11:06:38+00:00 2026-05-29T11:06:38+00:00

I am working on an app which reads an xml file generated on server

  • 0

I am working on an app which reads an xml file generated on server and sync the local database on device.I am trying to construct a Sync Manager which hold all the fields available on the server and add these fields for sync like a shopping cart. And after adding all the fields Sync all the fields added to the cart.

I have three questions:

  1. What would be the best method to do this?

  2. Can i read a particular tag in xml without parsing the whole Xml file on server?

  3. Condition for comparing fields on the local database?

  • 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-29T11:06:39+00:00Added an answer on May 29, 2026 at 11:06 am

    I made something similar. I don’t know in which programming language are you programming but I am using QT. So I wanted to connect to database. I have made approach like this. Write SQL scripts that will handle your xml code. For example you want to return only certain part of database and not all of it. Then I have wrote PHP scripts as a middle tier part of and application, something to handle connection and sent certain post parameters that will tell me what to send back or what to do in database. Then I have made script to convert everything to XML and send it back to QT and represent data in my GUI. Using scripts while working with database is good because you can change it to any database you want. For example I have been using it for Oracle database. As oracle database for android doesn’t have automatic sync I have made my scripts to handle all that. I hope my example did help you to understand the approach that I have been using. I can’t say like 100% it’s correct way but it’s defiently working correctly for me. Good luck!

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

Sidebar

Related Questions

I'm working on an Rails app which reads a CSV file on the server.
I am working on a Django app and I have a class which reads
we have WinForms app which stores data in SQL Server (2000, we are working
Hi I am trying to read an xml file from outside the web-app container,
I am currently loading text into my app from an xml file from server.
I am working on a project which uses a relational database (SQL Server 2008).
I'm working at an app which would make a POST ajax request to a
I am working on an app which calls a rest web service. Sometimes the
I have an MFC app which I have been working on for a few
i am working on a simple web app which has a user model 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.