Hello,
I have my AQ data (custom map cache files, landmarks, tracks, etc) stored on a removable micro SD card on phone running Android 7. I got a second micro SD card to use in an Android 7 tablet and figured that the easiest way to set up the new card to be exactly like the card I use in the phone was to simply "clone" the card - copy the entire data-filled card over to the new empty card.
This worked great for everything except the favorite sets I had created on the phone (i.e. on original card). Using the second (cloned) card, AQ displays the "buttons" for all of the favorite sets I had created, but tapping any of the favorite set buttons gives an error message "Favorite item: an error occurred".
I can't find any file in the AQ folders on the SD card which would seem to hold these settings, which may be why I get the error message. It would be nice if I didn't have to re-create all of my favorite map sets on the new SD card as there are a lot of them and each one has multiple layers with different opacity.
So my questions:
- Where are the settings for favorite maps and sets stored?
- If they are stored on the phone's internal memory instead of the SD card, is there a way for me to find them and copy them over to the tablet's internal memory?
Regardless of the answer, thank you for this amazing app - it has all of the features I could have dreamed of (and more) for my primary use of navigation out of cell coverage in the middle of nowhere.
The support forum is temporarily read-only. For urgent requests, please email contact[at]psyberia.net
[closed] Where are favorite sets stored?
-
- Site Admin
- Posts: 6407
- Joined: Wed Apr 14, 2010 9:41 pm
Re: Where are favorite sets stored?
Hi and thanks for feedback and support!
Favorite maps and sets are stored in a file called ".ws-favorite-maps" (it's an hidden file for Android and Linux OS) inside the "[app folder]/cache/" folder.
All maps (except built-in maps) are saved using their absolute path, so you may get an error because both devices don't have the same sd card path... If you find a common folder on both devices, you may use it as the storage folder of a workspace to have a common path, but I'm not sure you'll find that...
Let me know if you think it's not this...
Favorite maps and sets are stored in a file called ".ws-favorite-maps" (it's an hidden file for Android and Linux OS) inside the "[app folder]/cache/" folder.
All maps (except built-in maps) are saved using their absolute path, so you may get an error because both devices don't have the same sd card path... If you find a common folder on both devices, you may use it as the storage folder of a workspace to have a common path, but I'm not sure you'll find that...
Let me know if you think it's not this...
Do you like AlpineQuest ? Leave a small comment on Google Play !
-
- Posts: 5
- Joined: Thu Jan 05, 2017 4:09 pm
Re: Where are favorite sets stored?
Thank you for your quick reply!
I did the "cloning" on a Mac which is set to show hidden files, so on I can see the ".ws-favorite-maps" file, and it did in fact get copied over from the original source SD card to the new destination card during the "cloning". But I think your suggestion is correct that the problem is the absolute path.
The path to the original source card is "storage/F5D9-13ED/..." but for the new card it is "storage/7FE9-19FE/...".
When I open the ".ws-favorite-maps" file with a good text editor on my Mac I can see that the expected path is for the original source card ("storage/F5D9-13ED/...") so that would explain why AQ gives an error when I use the new card.
Might it work for me simply to find & replace in the ".ws-favorite-maps" all instances of the path info for the new card, i.e. find "storage/F5D9-13ED/..." and replace with "storage/7FE9-19FE/..."? I may just give that a try and see if it works. If it does not work I can always re-create the favorite sets using the new card.
I did the "cloning" on a Mac which is set to show hidden files, so on I can see the ".ws-favorite-maps" file, and it did in fact get copied over from the original source SD card to the new destination card during the "cloning". But I think your suggestion is correct that the problem is the absolute path.
The path to the original source card is "storage/F5D9-13ED/..." but for the new card it is "storage/7FE9-19FE/...".
When I open the ".ws-favorite-maps" file with a good text editor on my Mac I can see that the expected path is for the original source card ("storage/F5D9-13ED/...") so that would explain why AQ gives an error when I use the new card.
Might it work for me simply to find & replace in the ".ws-favorite-maps" all instances of the path info for the new card, i.e. find "storage/F5D9-13ED/..." and replace with "storage/7FE9-19FE/..."? I may just give that a try and see if it works. If it does not work I can always re-create the favorite sets using the new card.
-
- Posts: 5
- Joined: Thu Jan 05, 2017 4:09 pm
Re: Where are favorite sets stored?
Update: doing that find & replace worked! There were 47 instances in my ".ws-favorite-maps" file that got changed and now all my favorite map sets work as they should on the new card. Thank you for your help on this question.
-
- Site Admin
- Posts: 6407
- Joined: Wed Apr 14, 2010 9:41 pm
Re: Where are favorite sets stored?
Ok great.
You got lucky in your misfortune, since the "find & replace" could only work with same-length paths, which was your case...
Best regards
You got lucky in your misfortune, since the "find & replace" could only work with same-length paths, which was your case...
Best regards
Do you like AlpineQuest ? Leave a small comment on Google Play !
Re: [closed] Where are favorite sets stored?
How is the ".ws-favorite-maps" file encoded? I cannot open it.
Or is there an easier way to transfer my "favorite maps & sets" to another phone/card?
Or is there an easier way to transfer my "favorite maps & sets" to another phone/card?
-
- Site Admin
- Posts: 6407
- Joined: Wed Apr 14, 2010 9:41 pm
Re: [closed] Where are favorite sets stored?
This file is simply stored in binary (no encoding).
If your favorite map sets have been created with a recent version, you'll be able to copy the file from a device to another.
Starting with the next version, you'll be able to copy it from a workspace to another.
If your favorite map sets have been created with a recent version, you'll be able to copy the file from a device to another.
Starting with the next version, you'll be able to copy it from a workspace to another.
Do you like AlpineQuest ? Leave a small comment on Google Play !