This object is in archive! 

Folder setting lost after restart of the phone

Nils shared this problem 6 years ago
Closed

After each restart of my phone I need to correct the folder settings for vector data (see attachment). As workaround I stored both data in the same folder, but it didn't fix it.

Replies (9)

photo
1

Hi Nils,

your attachment didn't arrive. Could you please post it once more?

photo
1

Next try for the attachment

photo
1

Hi Nils,

that "invalid value" folder - do you set it as it is on the screenshot or some other way? It looks like your phone doesn't accept this settings. Try some other, e.g. storage/xxxx-yyyy/LocusExt/MapsVector (xxxx-yyyy is your external SD card code)

photo
1

Hi,

sorry for the late answer. I was not at home during past days.

When I select the paths, it looks different (see new screenshot). It work well with this path settings. But when I restart the phone, it changes to the path settings in the first screenshot.

photo
1

Good day Nils,

as an app developer, I do not have a good news. I remember that I've already seen the same problem once or twice and unfortunately, I was never able to fix it.

If you restart your device and as soon as possible start Locus Map, same problem happen? If so, may you immediately after this (after you check that problem is there), create a log by this method? There is a small chance that in log will be something useful, but we may try it. Otherwise, I'll have to suggest to you, to keep default map settings and if it's essential for you to have maps on SD card, use our alternative approach over external maps.

Thank you for understanding.

photo
1

Hi,I just sent the link to the logfile via mail.

Thanks, Nils

photo
1

Good day Nils,

thanks for a log. There seems to be only useful information, it's on line 13963

ActivityManager: Permission Denial: opening provider com.android.externalstorage.ExternalStorageProvider from ProcessRecord{e5f91f3 8015:menion.android.locus.pro/u0a305} (pid=8015, uid=10305) requires android.permission.MANAGE_DOCUMENTS
This say, that Locus try to access defined "External directory", but does not have required permission. You anyway have enabled "read/write permission for Locus Map" in system settings. Also "MANAGE_DOCUMENTS" is system only permission that Locus cannot obtain.


What Android version do you have? Are you using any custom ROM? Any special software modifications on your device?

photo
1

Hi,I am using a Sony Xperia Z3 Compact with its stock firmware (6.0.1); nothing installed what I would consider as special modification,

photo
1

Thank you for an additional information. I'm really sorry, but I have absolutely no idea, how to help here. It seems to be some unique problem and even with your device in my hands, I can't imagine what to do to find our real reason.

Only what I may suggest is to re-install the application. It should be possible that app is not correctly registered in the system and that after restart, system does not allow access to already correctly set directories.

Sorry to say it. If you do not update vector maps too often, you may let Locus download maps into default directory in internal memory and then manually move map to SD card and add them as "External maps" by this method (section for Raster maps): http://docs.locusmap.eu/doku.php?id=manual:faq:how_to_maps_sdcard#raster_maps , this should work always.

Menion

Replies have been locked on this page!