OpenOrienteering / mapper

OpenOrienteering Mapper is a software for creating maps for the orienteering sport.
https://www.openorienteering.org/apps/mapper/
GNU General Public License v3.0
400 stars 106 forks source link

Re-installed OOM, previous maps not available #1691

Open Wouterschuit opened 4 years ago

Wouterschuit commented 4 years ago

Steps to reproduce

1. 2. 3.

Actual behaviour

I uninstalled OOM on my phone, then re-ínstalled it (preparation for a course on using OOM to show how to install OOM). It installed, but I could not use my previous maps. It simply did not see them. It made no directory OOMapper. I could load the maps from my computer into the phone, but it did not see them. So what is wrong?

Expected behaviour

Tell us what should happen instead

Configuration

Mapper Version: .0.9.3 Operating System:Android

dg0yt commented 4 years ago

If you put map files in the application directories (Android/data/org.openorienteering.mapper/files), these files will be removed by Android when you uninstall the app. This is connected to how Android implements security for apps. There is nothing we can do about it, except warn the user - which is what we already do in a number of ways (documentation, README files, message boxes).

Our documentation: https://www.openorienteering.org/mapper-manual/pages/android-storage.html

There are other storage options on Android, but we cannot use them easily.

Wouterschuit commented 4 years ago

Hi, Yes I have read it, but it only talks about saving maps on external USB-sticks. I had my OOMapper directotry in the main memory. Besides I had expected that when you reinstall OOM, everything would be OK again. ?????

dg0yt commented 4 years ago

"Arbitrary storage volumes" includes (but is not limited to) the built-in storage volume. That's why there is also a warning and README for the built-in storage folder.

And delete means delete. There is no magic Mapper cloud bringing back files that were removed by uninstalling. You can safely update without uninstalling, but when you uninstall, Android will delete files. And of cource, asking Android to delete the app's data will delete the files, too.