This object is in archive! 

SD-card / external storage on Android 5.0+

bugfix shared this question 7 years ago
Answered

hi folks,


why lous does not ask for the permision to write to the external storage? the time off KK is over. MM or Nougat have the functionality to allow the app to have full access to a specific folder on the ext-sd-card...


if this is allowed backups become obsolete ;-)


thx in advance!

hnd

torsten

Replies (8)

photo
1

Hi Torsten,


locus needs fast access to the DB Files. Access via Document Provider (ask for the permision..) is very slow.

But, you are able to store huge or many files on the external SD. Many (mapVecter, maps, srtm,..) but not all.

Photos and videos has to be on the internal SD.

See Media fills up internal SD card.

photo
1

Hi Jurgen,

slow is not exact ... it's superslow :). Seems you known about this method (Document Provider), good. It has one major diss-advantage > over this method cannot be opened database file for read-write access ( it cannot be even for a read access but for this I have small hack ). So it's not possible to have access to points/tracks/maps etc. Just for your info ...

photo
1

would you be so kind to provide this hack to a "standart" user like me?

photo
2

this "hack" is available to all Locus users - thanks to it you can place your vector maps, SRTM and backup files to your external SD card.

photo
1

to a write protected storage? if i move the files locus tells me "not writable storage"... how can i store backups there?

photo
1

forgot 2 say: the sd fixes i found are all for MM or lower versions, nevertheless i'll give this a try and will respond the result here

photo
1

ExtSD Fix (v2.9b - 2016-06-09) propper works on my rooted sm-g935f (samsung s7) with android sdk24 (nougat)

but no guarantie to others (first backup before flashing!)


hnd

photo
1

appendix: the app shows an error message when it starts as following: "problem with directory from maps/" but it seems to work without any limitation

photo
1

Hi Torsten,


moving Locus to a specific folder on external SD card is possible but has quite a lot of drawbacks, see http://docs.locusmap.eu/doku.php?id=manual:faq:use_sdcard_on_kitkat, more info about access on Android 5+ is here: http://docs.locusmap.eu/doku.php?id=manual:faq:android5api.

photo
1

Hi Michal,


thank you for the very infomative pages in docs.locumaps.eu. I'm using very successful XinteralSD (module of Xposed) which let you select apps which has write access to external SD card.

BUT: these are all methods not working on Nougat. In my case srtm is very small (300MB) against data/media (2.3GB) and data/media MUST be on internal Card. This is the Reason for my idea Media fills up internal SD card. So please vote for this idea. I cannot update to Nougat wihtout this feature.

photo
1

@jürgen-> unfortunately xposed is not yet sdk24 (nougat) compatible... in the past i used your discribed method too

@menion-> what do you mean with slow? locus is not a 3d game or similar... for most people a fast sd card will imho fit all requirements... and sorry but to stipulate the way and to shrink the possibilities is not state of the art :( ... but locus is and was amazing but to go back to the root(s) could be an improvement ;-)

@michal-> to use the "private" folder on ext. sd (android/data/menion.android.locus.pro/files/locus) is an alternate method but as discribed here locus will be deleted during uninstall... this is what i want to be prevented from

photo
1

If SRTM and vector maps can be written to external SD, why not the track export ?

TXs

Michael

photo
1

.... And why not data/media

photo
1

Hello guys,

I believe that original question was already answered.

- what is possible to do is already wrote in manual

- what isn't possible to do is also wrote in manual

- and rest, like 'data/media' or 'export' are possible to create, but no one yet it do it, that's all, case closed. Thanks for understanding.

photo
1

This implies: time for voting :-)

Replies have been locked on this page!