andreynovikov / trekarta

Simple, responsive map for your trek. You decide how to journey today, not the application!
https://trekarta.info
GNU General Public License v3.0
176 stars 25 forks source link

Move Trekarta's data to less restrictive folder #231

Open ptzlion opened 8 months ago

ptzlion commented 8 months ago

It's convenient to sync all Trekarta's data files (additional maps, tracks and waypoints) with third-party sync app like Resilio Sync. On earlier Android the data was in ./Trekarta - a folder that is simply accessible by other apps. On Android 9 the data resides in folder ./Android/data/mobi.maptrek but is still accessible by other apps. However on Android 13 (and some prev versions) the folder ./Android/data is protected folder and a sync app can not get access to Trekarta's data. Is there any way to move the data back to ./Trekarta? Thank you.

andreynovikov commented 8 months ago

No, it's the restriction added in recent versions of Android. There is a slightly difficult and not user friendly option to implement this with interactive access requests but I'm not sure that Resilio Sync will be able to read such a folder either.

ptzlion commented 8 months ago

Total Commander is able to gain access to such folders. Resilio Sync is not. :-( That's why i'm looking for some way to move necessary folders somewhere closer to root of storage. How do other apps store their data not in ./Android/data...? Take a look at AlReader - this app create folder ./AlReader and store it's data there. And there is a folder ./AlReader/sync in which AlReader stores a bookmarks. And i do sync this folder with Resilio Sync.

andreynovikov commented 8 months ago

Screenshot_20240126_185012_Google Play Store.jpg

As I explained, this is prohibited in modern versions.

serrq commented 7 months ago

You can create another volume with Anemo (fdroid).