Track exports on Android 11+

Guest shared this problem 5 months ago
Solved

I'm running Locus Map v3.59.0 on a phone with Android 12. I'm aware of all the restrictions of access to the file system starting with Android 11+.

But anyway I tried to Automatic export tracks into a folder just below the phones main directory, e.g. "Mainstorage > Locus Export". And to my surprise this (partially) worked! The tracks' .gpx file has been created. What is missing is the sub folder containing the media (photos, videos) I recored during tracking. During automatic export a message popped up:"Unable to create a directory"

So my question: Why is Locus allowed to write files but not to create a directory within the mainstorage? And would it be possible to enabale creating directories too despite Android 11+ restrictions?

(Of course the export including creation of tracks' media directory to Locus' private folder is working. But I'm intersted if this still could be done to a custom folder of the mainstorage too)


Replies (3)

photo
1

Hello,

thank you for the feedback.

It will be fixed in the next version.

Regards,


Zdenek, Locus team

photo
1

Thanks!

So is Locus v3 on Android 11+ able/allowed to read and write from any custom folder in the mainstorage dispite Andoids' restrictions?

photo
1

Hello,

no, A11+ security restrictions still apply. But internal memory can be used in some cases.

It is a little bit complicated, but for Export, there is a workaround, and it (should) works properly.


Zdenek, Locus team

Leave a Comment
 
Attach a file