Opened 8 years ago

Last modified 8 years ago

#1217 new enhancement/feature request

android: check /mnt/extSdCard/navit as config directory first

Reported by: christoph thielecke Owned by: cp15
Priority: major Milestone:
Component: port/android Version: git master
Severity: normal Keywords: 0.5.0-5795, android, config directory


navit should look first at /mnt/extSdCard/navit as config directory instead of /sdcard/navit directory. It's not hard to check /mnt/extSdCard/navit first, then /sdcard/navit.

This would allow to have everything of navit on external sdcard which has mostly much more space than internal storage.

Change History (1)

comment:1 Changed 8 years ago by jandegr

Hi, You have a point in the way that Navit is one of the apps that can fill your storage rapidly with it's maps and consequently Navit should be able to use the removable storage. However these hardcoded paths are not a good idea, for my device it should check /Removable/MicroSD instead of /extSdCard for your device. Android provides methods to figure out these paths and make it work for any device. Unfortunatly I have no time right now to implement this so as a tamporary workaround I keep navit.xml in /sdcard/navit and in navit.xml I make the mapset dir point to the removable storage as a workaround for #1218. Only drawback : if you let the app download a map it will still be placed in /sdcard/navit and you have to move it manually to your removable storage.

regards, Jan

Note: See TracTickets for help on using tickets.