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:
- The application is used for tracking (daily) the body measurements of weight, waist, chest, ++
- The measurement types are divided in separately tabs and are not dependent on/related to each other
- Entities contains small amount of data, 4-5 attributes
- 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)
- None advanced queries are going to be used. Mainly reading (all data elements) and adding new measurements.
- 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?