Opened 12 years ago
Closed 9 years ago
#750 closed enhancement/feature request (wontfix)
Android: Change location of the navit home directory
Reported by: | elhennig | Owned by: | cp15 |
---|---|---|---|
Priority: | major | Milestone: | version 0.5.1 |
Component: | port/android | Version: | git master |
Severity: | Keywords: | card, storage, bookmark | |
Cc: |
Description
I wanted to import my navit bookmarks from my freerunner installation on my new android phone. I do not know where the file bookmark.txt is stored. It would be the best to make the location configurable.
Attachments (1)
Change History (12)
comment:1 Changed 12 years ago by elhennig
comment:2 Changed 12 years ago by elhennig
Is there already way to change /data/data/org.navitproject.navit/home to a custom location (for example to /sdcard/navit)?
comment:3 follow-up: ↓ 4 Changed 12 years ago by ps333
Or maybe adding the possibility to export/import the bookmarks? Note that unrooted Android phones offer no access to the bookmark.txt file.
comment:4 in reply to: ↑ 3 Changed 12 years ago by elhennig
- Summary changed from Store bookmark.txt in custom folder to Change location of the navit home directory
Replying to https://wiki.navit-project.org/index.php/user:ps333:
Note that unrooted Android phones offer no access to the bookmark.txt file.
THat's why I asked to change the home directory to a location on the sdcard /sdcard/navit On my openmoko freerunner navit used the home directory /home/root/.navit so it should be rather simple to change this for android
comment:5 Changed 12 years ago by tegzed
Hello,
The attached patch should move the NAVIT_USER_DATADIR to /sdcard/navit on android platform.
Bye, Dandor
comment:6 Changed 11 years ago by elhennig
In the latest svn revision the files bookmark.txt, center.txt, destination.txt, odometer.txt are still written to /data/data/org.navitproject.navit/home
What can I do to redirect this to /sdcard/navit for example? Is this possible or when will this option be available?
comment:7 Changed 11 years ago by tryagain
Applying this patch as it is will make you lose all your bookmarks and recent destinations. Your bookmarks will remain in their old location, and navit will create a new empty bookmarks.txt file in the new location.
We definitely need some way to import/export internal navit data on android platform. I was trying to work on that feature but currently it's frozen due to lack of time to get some android gui expirence.
comment:8 Changed 11 years ago by korrosa
- Component changed from core to port/android
- Owner changed from KaZeR to cp15
- Summary changed from Change location of the navit home directory to Android: Change location of the navit home directory
comment:9 Changed 10 years ago by lars hennig
Is there any update on this? Can someone please implement, that - if present - /sdcard/navit is used as home instead of /data/data/org.navitproject.navit/home/
comment:10 Changed 10 years ago by usul
- Keywords card storage bookmark added
- Milestone set to version 0.5.1
Sounds wise to me, so I scheduled for 0.5.1 as it is has minor complexity but might solve
comment:11 Changed 9 years ago by tryagain
- Resolution set to wontfix
- Status changed from new to closed
Since r5562 we have backup/restore function on android (see #1148) allowing to export and import bookmarks, recent destinations and other navit internals on android platform.
Android security model is to keep sensitive data inside application protected directory. I consider recent destinations and bookmarks to be sensitive so we should protect it unless user wishes opposite.
To conclude, we have a workaround for this ticket, but this exact request I would close as won't fix.
The recent destinations file should be configurable, too.