Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] Export / Import for settings and favorites #1613

Closed
klawdhfzasjhaa opened this issue Aug 27, 2015 · 23 comments
Closed

[Feature request] Export / Import for settings and favorites #1613

klawdhfzasjhaa opened this issue Aug 27, 2015 · 23 comments
Labels
Nice to Have Should be fixed but there is no priority or no possibility to fix it within current horizon planning

Comments

@klawdhfzasjhaa
Copy link

This would be nice, if you move from one device to another or to make a backup of the current setup.

@vshcherb vshcherb added the Nice to Have Should be fixed but there is no priority or no possibility to fix it within current horizon planning label Aug 30, 2015
@vshcherb
Copy link
Member

Favorites are exportable just from the screen of Favorites. For settings it is recommended to use Backup programs.

@klawdhfzasjhaa
Copy link
Author

Thanks for the suggestion. I'll share for anyone who stumbles across:

Backup: adb backup -f osm.ab net.osmand.plus -apk
Restore: adb restore osm.ab

USB Debbugging and ADB drivers are necessary. This worked perfectly!


For the favorites only part: Problem is, that I cannot see the floppy disk icon:
screenshot_2015-08-31-22-03-33

I followed the instructions on http://osmand.net/help-online?id=HowToArticles ("export the favorites"). When using the share button, "saving to local sd card" or something similar is not available. I'm using version 2.1.1.

@klawdhfzasjhaa
Copy link
Author

Sorry @vshcherb : Could you please give me a hint? Where can I find the option to save the favs in the above screen?

@vshcherb
Copy link
Member

Share is saving favorites

@klawdhfzasjhaa
Copy link
Author

The menu does not contain a "save to file" option (Bluetooth does not work). Even if it would, there is no (easy) way to import back..

@vshcherb
Copy link
Member

There is a share button click it and send by email, then opening that file on a target device will import favorites.

@frankgerhardt
Copy link

So, there is no Save icon. The Share button only shows SMS/MMS, Bluetooth, Firefox and a Podcast player. This is a real problem.

I had to find the the favorites.gpx file somewhere in the file system under Android/data/net.osmand.plus/files and copy it manually to my PC.

@vshcherb
Copy link
Member

Just send via Email or Dropbox or some File Explorers also support that intent

@frankgerhardt
Copy link

Again, neither Dropbox nor Email nor file explorers are offered in the share menu.

@klawdhfzasjhaa
Copy link
Author

On my device (Nexus 4 with CM 12.1 / Android 5.1.1) I do have Dropbox and E-Mail (K-9 Mail) in the share menu, but I would like to save it offline as it contains sensitive data.
Frank's problem is a seperate issue it seems.

@tomspur
Copy link

tomspur commented Mar 15, 2016

Would it be possible to use the Android Backup Service? This way the backup would work automatically, if the Android Backup Service is enabled on the phone.

@skeeve42
Copy link

It would be nice if this were easier/automated. I know this is my fault for not properly backing them up, but I've lost my favorites twice now.

@samtuke
Copy link

samtuke commented Apr 23, 2016

Sharing the file works for me, but I'm not sure how to import it in the second device. Only file managers are suggested as file handlers for the .gpx file.

@vshcherb
Copy link
Member

It depends which program do you open from. If you open a file from file manager, OsmAnd will be one of the option.

@mjg
Copy link

mjg commented Jul 4, 2016

In case anyone else is wondering:

  • Astro File manager does not offer to open a gpx with OsmAnd+ (but others), nor does the Google Drive app.
  • ES File Explorer does offer to open a gpx with OsmAnd+ (and others).

I have no idea how an app like OsmAnd+ could be "partially" registered as a consumer for gpx.

@sonora
Copy link
Member

sonora commented Nov 24, 2016

Some portions deprecated. No more immediate action planned, I guess.

@im-n1
Copy link

im-n1 commented May 13, 2018

Just ran into the same problem. How do I transfer all my places from old phone to the new one?

@sonora
Copy link
Member

sonora commented May 13, 2018

Your places are contained in .gpx files (favourites.gpx in OsmAnd's data root folder and all other gpx in the tracks subfolder). So you can simply transfer all gpx files to your new phone.

Check out http://osmand.net/help-online?id=faq for file locations and some more hints. Maybe you even want to transfer the entire OsmAnd data folder to avoid having to download all maps again. Or on the old device have OsmAnd use the memory card, which you could then simply continue using in the new device.

@tomspur
Copy link

tomspur commented May 13, 2018

Is it also possible to back the favorites up with your Google account and use it in the other phone?

@sonora
Copy link
Member

sonora commented May 13, 2018

I guess you could just sync favourites.gpx to any cloud storage, from where it can be re-imported elsewhere...

@im-n1
Copy link

im-n1 commented May 13, 2018

maybe for those non technical guys there could be 2 buttons like "export favourites" and "import favourites"

@tomspur
Copy link

tomspur commented May 13, 2018

Sounds like the Android Backup Service might also be a possibility:
https://developer.android.com/guide/topics/data/keyvaluebackup#Files

@doriangrosch
Copy link

With Android 11, the location of the OsmAnd folder containing favourites.gpx is no longer easily accessible. So a feature to export / import favourites becomes relevant again. Has anything changed since?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Nice to Have Should be fixed but there is no priority or no possibility to fix it within current horizon planning
Projects
None yet
Development

No branches or pull requests

10 participants