Topodroid-X

881 views
Skip to first unread message

Garry Petrie

unread,
Jul 2, 2022, 1:16:03 PM7/2/22
to topo...@googlegroups.com
I was able to install latest, July 2, version 6.1.x on an older S3 tablet using Android 9. I noticed the subfolders, SVG, TDR, etc, are now sorted by cave survey. I also finally realized the TDR folder is for the drawings, not the shot data. I learned this by creating a one-shot survey without a map and looked for the touched files. There were none! Where is the catalog of surveys and shot data stored, in the SQL file in the root directory? Next up, S8 and Android 12.

Garry Petrie

Balambér Hakapesz

unread,
Jul 2, 2022, 1:42:25 PM7/2/22
to topo...@googlegroups.com
https://github.com/marcocorvi/topodroid/blob/master/manual.pdf

newest:

https://github.com/marcocorvi/topodroid/blob/master/assets/man/manual00.htm:

TopoDroid private folder

The TopoDroid private folder, "Android/data/com.topodroid.TDX/files", contains the folders of the drawing tools, "point", "line", and "area", and the device database "device10.sqlite" with the calibration data, the exported calibration files (folder "ccsv"), the DistoX2 firmware files (folder "bin"), and the DistoX memory dumps (folder "dump").

This folder, and its content, is deleted when the app is uninstalled, unless you check the box to keep the app data.

TopoDroid survey folders

The TopoDroid base directory is "Documents/TDX", in the external primary storage. It contains the project folder "TopoDroid". The project folder contains the database "distox14.sqlite", the "zip" folder, a folder "tmp" for temporary files , and is populated with a folder for each survey that is created.

This folder and its subfolders are not deleted when the app is uninstalled.

FOLDERS

Survey data

Survey data and sketches are saved in the "TopoDroid" subfolder of TDX.
Each survey has a subfolder under "TopoDroid".
The "TopoDroid" folder contains the database, "distox14.sqlite", the survey folders, and the folder of the cave projects, "thconfig",
...

Importing old surveys

TopoDroidX (v.6) can be installed together with the old v. 5.1.40 because they use different base folders.
Old v.5.1.40 surveys can be imported in v.6 from their zip archives created with the old TopoDroid.
They can also be created with the . http://marcocorvi.altervista.org/caving/speleoapps/speleoapks/TopoDroidZipScript.html zip_script

N.B. TopoDroid v.5.1.40 cannot import v.6 zip archives, because of changes in the database.

Android 12: http://marcocorvi.altervista.org/HowtoGrantStorageAccess.pdf

B.



On Sat, Jul 2, 2022 at 7:16 PM Garry Petrie <dynam...@gmail.com> wrote:
I was able to install latest, July 2, version 6.1.x on an older S3 tablet using Android 9. I noticed the subfolders, SVG, TDR, etc, are now sorted by cave survey. I also finally realized the TDR folder is for the drawings, not the shot data. I learned this by creating a one-shot survey without a map and looked for the touched files. There were none! Where is the catalog of surveys and shot data stored, in the SQL file in the root directory? Next up, S8 and Android 12.

Garry Petrie

--
You received this message because you are subscribed to the Google Groups "TopoDroid" group.
To unsubscribe from this group and stop receiving emails from it, send an email to topodroid+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/topodroid/CANbKGSMWLa6r5RHmsdjVZ3FxekNQ%3DLM8_bGrY5hsfRPBnfu4VQ%40mail.gmail.com.

Garry Petrie

unread,
Jul 3, 2022, 3:15:42 PM7/3/22
to topo...@googlegroups.com
I don't see any files in the "private android" area. Given the survey catalog and shot data are in the distox14.sqlite, I can imagine the difficulty merging data from another android device. I guess this is a design choice not easily gone back from.

Balambér Hakapesz

unread,
Jul 3, 2022, 3:53:04 PM7/3/22
to topo...@googlegroups.com
image.png
Android's default file manager does not show the contents of the folder.

You can copy the TDX folder to another Android device, you just need to install TopoDroid of the same version. Distox14.sqlite can also be copied as a file.
The survey opened in TopoDroid can be extracted into a ZIP file and imported into another project.
Although this can also be read into a newer TopoDroid version.

B.


Marco Corvi

unread,
Jul 6, 2022, 3:34:45 AM7/6/22
to topo...@googlegroups.com


On Sun, Jul 3, 2022, 9:15 PM Garry Petrie <dynam...@gmail.com> wrote:
I don't see any files in the "private android" area.

most "files" app show a windows-like "educated" view of the filesystem.
i believe this goes back to goggle choice to hide the underlying filesystem(s) in favour of storage (docs/images/etc).

Given the survey catalog and shot data are in the distox14.sqlite, I can imagine the difficulty merging data from another android device. I guess this is a design choice not easily gone back from.

the choice of a db was motivated by the need to store the shot data received from the distox before they are acknowledged to the distox.

sqlite is a one-file db.
merging data of two databases requires solving conflicts.
importing zip archives is a way to solve them, one step at a time (the import fails if the conflict requires user choices).
Reply all
Reply to author
Forward
0 new messages