tauso wrote:
Looks like, navit can read but cannot write in this location.
Other apps (like here maps) can store there data in that folder.
Oh. It looks like there are another two API changes we have not worried about.
First one makes it
impossible for any third party application to write to external sd card on unrooted Android 4.4 outside of a special application dir (/Android/data/org.navitproject.navit relative to sdcard root).
Official documentation confirms it. We could suggest users of Android 4.4. device to select app specific directory and we should warn them that this information could be deleted (altogether with downloaded maps, bookmarks, and even configuration backups!) on app removal. Directories of the path /Android/data/org.navitproject.navit should be created by the system automatically, but sometimes that's not the case and then user would have to create them manually (on PC?).
Another one
allows to overcome aforementioned limitation on Android 5.0 (and above) devices with
ACTION_OPEN_DOCUMENT_TREE intent.
Also, we should notify user if map directory is not writable.
Concluding, we have some work for devs, but there seems to be a workaround: select /Android/data/org.navitproject.navit dir for map storage.