I'm creating an Android app that has a SQLite database (nodes.db
) and a folder with .png
images (which relative filepaths are stored at the db).
In order to enable exporting/importing this db together with images (one .db
and many .pngs
in a single file), I'm thinking about creating a .tar
-like file.
- How is it done? (packing / unpacking
.tar
files programatically on Android) - Are there any better solutions? (other than creating the
.tar
file)