Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Updating a local db from the web
Forum Update on Monday, May 27th 2025

Updating a local db from the web

Scheduled Pinned Locked Moved Mobile and Embedded
1 Posts 1 Posters 494 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    fp615
    wrote on 4 Feb 2014, 14:59 last edited by
    #1

    I'd like to write a small app for android that should be used mostly when there is no way to have an internet connection.
    Before leaving office/home I start the update and then go use it. What I don't understand fully how to do it the db update.
    My idea is that on the software I use for populating the db I create a function to "export" the data in sequentially numbered batches, each with max 200 records. The client on the mobile knows the last batch installed and ask for the following ones. The data is in an easy to use format, compressed, and the local db is populated. The db on the mobile is 99.99% readonly and appendonly but there may be changes to old records, so I think I can put some SQL instructions in a batch file to execute on the mobile...

    I ask this since I don't know if Android, or Qt, have an integrated way to do batch updates to a db.

    1 Reply Last reply
    0

    1/1

    4 Feb 2014, 14:59

    • Login

    • Login or register to search.
    1 out of 1
    • First post
      1/1
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved