Open sjl872964789 opened 4 years ago
Thanks for your feedback
on android-8.1 Caused by: java.lang.IllegalArgumentException: Missing SQL Column longitude,latitude or _id
The app is trying to collect photo-gps-data longitude,latitude to show the markers in the map and android seems to not allow it any more.
Unfortunately i only have android-7.1 device and android emulator does not run on my developer machine so i can not reproduce on my own.
I read that google wants to restrict photo-gps-access.
Today my android lg-k30 got updated from android-7.1 to android-9 and "a photo manager" version 0.8.3 still works as expected without any crash.
can you send me a crash log as described in https://github.com/k3b/APhotoManager/wiki/Problem-Reporting-Logfile-Howto
to see what is going on before and after?
Thanks for your quick reply. I think this is what you need. androFotofinder.logcat-20200630-144010.txt It is worth mentioning that I found another bug in the process of saving logcat. If the storage permission is denied, I will not be able to save logcat in the corresponding directory, but APhotoManager will still remind me that the save is successful, which once made me feel confused
[OsmDroid] Unable to start the sqlite tile writer. Check external storage availability.
OsmDroid (the openstreemap display library) failed to to put map tile-images into it-s internal sqlite database.
On my android 9 i currently have the mapsforge data in internal memory (/storage/emulated/0) which works as expected.
I assume that mapsforge-data on sdcard does not work yet or the mapsforge-path is not correct.
Since 4 Months (and 88 commits) i am working on saf support https://github.com/k3b/APhotoManager/issues/169
Sorry, I did not really know whether I use Mapsforge offline map with mapsforge data on sd-card , my settings are like this:
That screenshot means you are not using "offline maps"
The crash-log let me suggest that the crash happend in a seperate thread.
I just found https://github.com/osmdroid/osmdroid/issues/1313#issuecomment-481238741 which may be related to this issue.
Are you able to compile the "fdroid-branch" of this repository on your own?
If yes you can try to add the code from https://github.com/osmdroid/osmdroid/issues/1313#issuecomment-481238741 to de.k3b.android.androFotoFinder.AndroFotoFinderApp#onCreate()
I have no device where i can reproduce the error with so i cannot verfy if it solves your problem.
If you cannot compile on your own fixing the issue is much more complicated:
Describe the bug Opening map area filter after closing permissions will cause APhotoManager to crash
To Reproduce Steps to reproduce the behavior:
Expected behavior APhotoManager shouldn't crash anyway
Smartphone (please complete the following information):
Additional context
Crash Report