Quote from: orux on February 27, 2024, 07:15:26 AM
Hello!
The tracks databases, the oruxmapstracks.db files, cannot be in any folder.
They can only be in two locations:
--/Android/data/com.orux..../tracklogs/ if the app has not been authorized to access all the files
--/sdcard/oruxmaps/tracklogs/ if the app has been authorized to access all files.
It is a delicate file, it requires very quick access. SDs, although fast, are x10 or even slower than internal storage.
The directory that is managed in configuration > app storage > Tracks directory is for the gpx, kml,... but not for the databases.
orux
Thank you very much for explanation. Sorry for late reply, I've had pretty difficult few weeks in my life and I completely forgot about OruxMaps and biking in general.
It's been a while, but from what I remember, here is what likely happened: I moved everything to SD using button in OruxMaps. Then I was confused why not everything got moved and I assumed that the process got somehow interrupted. So I have moved rest manually. What then followed could only be describing as chaos and moving files around and backing stuff up and recovering backups and changing settings manually. Knowing that database file location is constant explains everything.
May I suggest adding information dialog that would explain what exactly would happen when you press migrate to SD and warning dialog to inform user to keep the database file on it's current location when you tap the "tracklogs" button to change path? Maybe it would save few sleepless nights for someone else . Having option to change the paths just calls for someone moving things around and doing something unexpected.