Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:help:settings:storage [2020/03/30 10:48] – [Where does the application store its data?] alpinequesten:help:settings:storage [2023/09/08 09:35] (current) – [How to move your files?] psyberia
Line 51: Line 51:
 \\ \\
  
-==== Storage on the external SD card troubleshooting ====+==== Application folder on the external SD card troubleshooting ==== 
 +\\ 
 +**Android 4.4**
 \\ \\
 In Android 4.4 and above, the memory management has been modified: In Android 4.4 and above, the memory management has been modified:
Line 57: Line 59:
   * 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 storage location choices at all are 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;
Line 67: Line 70:
   * 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;
   * Quit the application, and connect your device to your computer using your USB cable;   * Quit the application, and connect your device to your computer using your USB cable;
-  * Using your computer's file manager, move all content of the legacy folder (usually ''"**/sdcard/OfflineMaps/**"'') into the new storage folder (usually ''"**/Android/data/net.psyberia.offlinemaps/files/**"'' for the free version, and ''"**/Android/data/net.psyberia.offlinemapsplus/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/OfflineMaps/**"'') into the new storage folder (usually ''"**/Android/data/net.psyberia.offlinemaps/files/**"''). 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 3.8 (or below) to version 3.9 (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 OfflineMaps, the path of this folder is "''**/Android/data/net.psyberia.offlinemaps/files/**''".\\
 +For OfflineMaps+, the path of this folder is "''**/Android/data/net.psyberia.offlinemapsplus/files/**''".
 +
 +Here are some workarounds:
 +
 +**Placemarks**
 +  * Move your placemarks inside an application specific folder, inside the "''**landmarks/**''" sub-folder. For OfflineMaps, that would be "''**/Android/data/net.psyberia.offlinemaps/files/landmarks/**''";
 +  * Move your placemarks inside an application specific media folder. For OfflineMaps, that would be "''**/Android/media/net.psyberia.offlinemaps/**''";
 +  * 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 OfflineMaps, that would be "''**/Android/data/net.psyberia.offlinemaps/files/maps/**''";
 +  * Move your maps inside an application specific media folder. For OfflineMaps, that would be "''**/Android/media/net.psyberia.offlinemaps/**''";
 +  * 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, the recommended way is to use an Android 11 compatible file manager ("''Cx File Explorer''" or "''X-plore File Manager''" for example).
 +
 +Alternatively, you can plug your device on your desktop computer (using your USB cable) and use it to move the files (may not work for some setups);