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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T11:16:52+00:00 2026-06-09T11:16:52+00:00

I need to store my android app content and want tips on what storage

  • 0

I need to store my android app content and want tips on what storage i should use. SQLite database or XML file(s)?

Some characteristics of the app and the data:

  1. The application is used for tracking (daily) the body measurements of weight, waist, chest, ++
  2. The measurement types are divided in separately tabs and are not dependent on/related to each other
  3. Entities contains small amount of data, 4-5 attributes
  4. The amount of data is expected to be moderate. Maximum (30 measurement in the months x 5 measurement types = 150 measurements in months/1800 in the year)
  5. None advanced queries are going to be used. Mainly reading (all data elements) and adding new measurements.
  6. I want to enable easy sharing/exporting of the measurement data to for instance dropbox or email.

I guess that there are none performance issues storing the data in XML-file with these requirements/characteristics. If so, should I separate each measurement type in separately XML-file and where on the mobile device should I store the files?

  • 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-09T11:16:55+00:00Added an answer on June 9, 2026 at 11:16 am

    I would read over the Storage Options you have available on Android to try to dig up some more information.

    What you described, one time writing to files that are in drop box seems like writing out to an XML file that is saved in your dropbox seems like a good choice. No complexed queries, just read in one record at a time.

    However, I feel it wouldn’t be that much more work to go with a SQL database. And this would be way more flexible in the long run. Right now you don’t want to do queries, but you may some day. Plus you won’t have to worry about splitting your data into several files and parsing things. Parsing can quickly become bothersome when you try scaling.

    What I would recommend is to write a ContentProvider and then put all your details in there. That way your program won’t care about how the data is stored in case you want to change it later because the Provider does all heavy lifting for you. I would much rather use a CursorAdapter than anything else, and your get from using SQLite. Plus all the new CursorLoader keep up the performance of you application.

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

Sidebar

Related Questions

I need some help to store a Object in an SQLite database using Android.I
in my app i use Using an existing sqlite database and i need to
I need to store locally on android devices some images I get from the
I'm writing a mobile app and I need Android to store in a variable
im building an android app and i need to save some files locally on
I'm creating my first android app that will make use of SQlite. I have
1) Our Android app will store data in a built-in SQLite DB. I see
I am writing an Android app and I need to download a csv file
I need store just 10 arrays in my app, which I can change from
I need to store GPS coordinates in a database. I've heard that floats are

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.