Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:help:v2:settings:storage [2016/05/09 12:52]
alpinequest
en:help:v2:settings:storage [2022/04/13 19:48] (current)
alpinequest
Line 1: Line 1:
 <​sub>​[[en:​help|Online Help]] > [[en:​help:​v2|AlpineQuest 2.x]] > [[en:​help:​v2:​settings|Settings]]</​sub>​ <​sub>​[[en:​help|Online Help]] > [[en:​help:​v2|AlpineQuest 2.x]] > [[en:​help:​v2:​settings|Settings]]</​sub>​
  
-====== Where does the application store its data? ======+====== Data storage and access ====== 
 + 
 +===== Where does the application store its data? =====
 \\ \\
 The application folder is the unique folder used by the application to store all its data on the user device, including: The application folder is the unique folder used by the application to store all its data on the user device, including:
Line 11: Line 13:
  
 This folder is automatically chosen during the first application start, and is usually located on the external SD card (if available) for devices running Android lower than 4.4, or on the device memory for Android 4.4 and after (SD card storage behavior has considerably changed since then). This folder is automatically chosen during the first application start, and is usually located on the external SD card (if available) for devices running Android lower than 4.4, or on the device memory for Android 4.4 and after (SD card storage behavior has considerably changed since then).
 +
 +Inside the application folder, you'll find the following sub-folders:​
 +  * ''​**/​datastore/​**'',​ where the application stores downloaded data like [[en:​help:​v2:​maps#​on-demand_maps|on-demand maps]], [[en:​help:​v2:​elevations#​digital_elevation_model_dem|elevations]],​ etc;
 +  * ''​**/​icons/​**'',​ where you can store your [[en:​help:​v2:​landmarks:​custom-icons|custom icons]];
 +  * ''​**/​landmarks/​**'',​ where the application stores (by default) the landmarks you create (waypoints, routes, tracks, areas);
 +  * ''​**/​logs/​**'',​ where the application store its technical logs;
 +  * ''​**/​maps/​**'',​ where you can store your [[en:​help:​v2:​maps#​file-based_maps|file-based maps]];
 +  * ''​**/​pictures/​**'',​ where the application stores pictures associated with picture waypoints (on some devices these pictures are saved in the device common media folder);
  
 \\ \\
  
-===== How to locate the application folder? ​=====+==== How to locate the application folder? ====
 \\ \\
 To display the application folder: To display the application folder:
Line 26: Line 36:
 \\ \\
  
-===== How to change the application folder? ​=====+==== How to change the application folder? ====
 \\ \\
 To modify the storage location: To modify the storage location:
Line 44: Line 54:
 \\ \\
  
-==== Storage ​on the external SD card troubleshooting ====+==== Application folder ​on the external SD card troubleshooting ====
 \\ \\
-In Android 4.4, the memory management has been modified:+**Android 4.4** 
 +\\ 
 +In Android 4.4 and above, the memory management has been modified:
   * The device internal memory is called "//​Primary external memory//"​. This is the main storage memory, used by default by the application. This memory is usually quite large (up to hundred of GB);   * The device internal memory is called "//​Primary external memory//"​. This is the main storage memory, used by default by the application. This memory is usually quite large (up to hundred of GB);
   * The SD card external memory (available on some devices only) is called "//​Secondary external memory//"​. This space is not freely editable by applications anymore, only a specific folder per application can be used, that's why you may only have one location available on the external SD card.   * The SD card external memory (available on some devices only) is called "//​Secondary external memory//"​. This space is not freely editable by applications anymore, only a specific folder per application can be used, that's why you may only have one location available on the external SD card.
  
 +**Android 6.0**
 +\\
 In Android 6.0 and above, you can now grant the application the right to write on the external SD card from the Android settings ("​Applications"​ section). In Android 6.0 and above, you can now grant the application the right to write on the external SD card from the Android settings ("​Applications"​ section).
- +If no storage location choices ​at all are available on the external SD card:
-If no choice ​at all is available on the external SD card:+
   * Be sure that your device is not currently plugged to a computer using an USB cable;   * Be sure that your device is not currently plugged to a computer using an USB cable;
   * Be sure that the SD card is not currently being checked for errors (usually happens after starting the device or removing the USB cable);   * Be sure that the SD card is not currently being checked for errors (usually happens after starting the device or removing the USB cable);
-  * If you have Android 6.0 or above, you must grant the application to write on the external memory from the Android settings ("​Applications"​ section);+  * If you have Android 6.0 or above, you must grant the application to write on the external memory from the Android settings ("​Applications"​ section), [[http://​www.howtogeek.com/​230683/​how-to-manage-app-permissions-on-android-6.0/​|see more details here]];
   * Try to restart the device;   * Try to restart the device;
   * Try to un-install and re-install the application (be careful if you have stored data you want to keep);   * Try to un-install and re-install the application (be careful if you have stored data you want to keep);
   * In the Android settings ("​Storage"​ section), try to un-mount your SD card and check it for errors.   * In the Android settings ("​Storage"​ section), try to un-mount your SD card and check it for errors.
  
-\\ +**Re-using data stored before Android upgrade**
- +
-==== Re-using data stored before Android upgrade ​====+
 \\ \\
 If you stored data with the application on the external SD card before upgrading to Android 4.4, this data is now read-only and cannot be used any-more. If you stored data with the application on the external SD card before upgrading to Android 4.4, this data is now read-only and cannot be used any-more.
- 
 Here is the solution to retrieve it: Here is the solution to retrieve it:
   * Configure the storage to use the new location on the external SD card as explained above;   * Configure the storage to use the new location on the external SD card as explained above;
Line 71: Line 81:
   * Using your computer'​s file manager, move all content of the legacy folder (usually ''"​**/​sdcard/​alpinequest/​**"''​) into the new storage folder (usually ''"​**/​Android/​data/​psyberia.alpinequest.full/​files/​**"''​ for the full version). Overwrite all items already present if necessary;   * Using your computer'​s file manager, move all content of the legacy folder (usually ''"​**/​sdcard/​alpinequest/​**"''​) into the new storage folder (usually ''"​**/​Android/​data/​psyberia.alpinequest.full/​files/​**"''​ for the full version). Overwrite all items already present if necessary;
   * Disconnect your device, wait for the SD card to be checked (if needed), and restart the application. You should then be able to use your previously stored maps, and store new ones.   * Disconnect your device, wait for the SD card to be checked (if needed), and restart the application. You should then be able to use your previously stored maps, and store new ones.
 +
 +\\
 +
 +===== How to access data stored outside of the application folder in Android 11 and above? =====
 +\\
 +Starting with Android 11, drastic changes have been made by Google regarding how applications can access data stored outside of the application specific folders: except for file managers (and a few other specific cases), applications are only able to access media files from the shared storage spaces (internal device and removable SD card). It means that all your file-based maps and placemarks saved outside of the application specific folders are no more accessible.
 +
 +{{:​icon_help.png?​nolink}} Those limitations don't apply if you update the application from version 2.2.9 (or below) to version 2.3.0 (or above).
 +
 +However, applications still keep a total access on their application specific folders (read and write everything). There is one application specific folder on the internal device memory, and one application specific folder on the removable SD card (if any).\\
 +For AlpineQuest Pro, the path of this folder is "''​**/​Android/​data/​psyberia.alpinequest.full/​files/​**''"​.\\
 +For AlpineQuest Lite, the path of this folder is "''​**/​Android/​data/​psyberia.alpinequest.free/​files/​**''"​.
 +
 +Until better solutions are found, here are some workarounds:​
 +
 +**Placemarks**
 +  * Move your placemarks inside an application specific folder, inside the "''​**landmarks/​**''"​ sub-folder. For AlpineQuest Pro, that would be "''​**/​Android/​data/​psyberia.alpinequest.full/​files/​landmarks/​**''";​
 +  * Open your placemarks from your file manager, the application will be listed in the possible choices for handling this file.
 +
 +**Maps**
 +  * Move your maps inside an application specific folder, inside the "''​**maps/​**''"​ sub-folder. For AlpineQuest Pro, that would be "''​**/​Android/​data/​psyberia.alpinequest.full/​files/​maps/​**''";​
 +  * Add the file extension ''"​.mp3"''​ to your maps, this way the Android system will consider the map file as a media file and will allow the application to access it. For example, rename your QCT map "''​my_map.qct''"​ to "''​my_map.qct.mp3''"​ (do not remove the original "''​.qct''"​ file extension).
 +
 +\\
 +
 +==== How to move your files? ====
 +\\
 +In order to move your files from or into into an application specific folder, you can either:
 +  * Plug your device on your desktop computer (using your USB cable) and use it to move the files;
 +  * Use an Android 11 compatible file manager ("''​Cx File Explorer''"​ or "''​X-plore File Manager''"​ for example).
 +
 +

Choose language:

Online help