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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T20:13:50+00:00 2026-06-13T20:13:50+00:00

Phonegap newbie here. Scenario about my application: it will need to be shipped containing

  • 0

Phonegap newbie here. Scenario about my application:

  1. it will need to be shipped containing some xml data (1000 xml blobs, total 15MB uncompressed)
  2. the user will be able to view and edit those xmls
  3. updates on the application should not overwrite the (possibly edited) xmls

Questions:

  • for the offline storage can I simply use the files of my application? Or should I move/copy those application bundled xmls to an offline storage? If yes, which one?
  • since this type of data is highly compressible, is there a way I can have them stored compressed both in step 1 (initial application package) and in step 2 in case I need an offline storage?

The solution to these questions need to be compatible with both iPhone, iPad and Android, hence the use of Phonegap.

  • 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-13T20:13:51+00:00Added an answer on June 13, 2026 at 8:13 pm

    If it’s 15 MB uncompressed, it’ll probably be too much to store in your app itself. You can store them in a database using the phonegap storage API’s but I don’t know if you can do any compression on this database.

    I would probably go for storing them as external files on the phone’s file system using the PhoneGap File API’s:

    http://docs.phonegap.com/en/2.1.0/cordova_file_file.md.html#File

    They are well supported on both ios and andoid platforms.

    As for compression, you can use a JS library such as JSZip in collaboration with the file system storage. I haven’t tried this myself but it should work.

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

Sidebar

Related Questions

I started application in PhoneGap(first for Android and after that I will made iPhone
My phonegap/iOS application has a file named data.js which contains an array. The application
I've got a newbie question about phoneGap and creating apps for iOs. If my
I'm using phonegap on android. Now I encouter some problems about showing dialog on
I'm a complete Phonegap newbie so go easy on me if you can :)
I am a newbie to Sencha Touch 2 . I am building an PhoneGap
I've read about phonegap which enables users to write web-based apps for android and
I have developed android phonegap application using phonegap 1.9.0.Its was working fine in android
I created application on PhoneGap for iOS and Android. But if I import it
With PhoneGap (Phonegap.com) You can create applications in HTML5 and run as a application

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.