Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v12.5 does no longer work offline for me #160

Open
RealVegOs opened this issue May 8, 2024 · 8 comments
Open

v12.5 does no longer work offline for me #160

RealVegOs opened this issue May 8, 2024 · 8 comments

Comments

@RealVegOs
Copy link

I have a maps folder on sd card. If I select this for offline maps, the app cannot read the files inside. I think this is a matter of map theme Elevate. If I select DEFAULT or OSMARENDER, it is said, they do not exist. I uninstalled AAT completely, downloaded new map and Elevate files, but after installing AAT again, it still can not read the offline maps. Please try yourself, by installing AAT form F-Droid, not from your repo. And please excuse that I cannot explain this stuff better. Thanks much!

@RealVegOs
Copy link
Author

Now I uninstalled again and downgraded to v12.4 and Elevate52. This works but maps of previews for overlays and recorded activities are not shown. I wonder, why this worked without Elevate and why I had previews. I always had my maps from openandromaps.org

@bailuk
Copy link
Owner

bailuk commented May 9, 2024

Do map previews have a black background or are they not shown at all?

Map previews are getting generated from cached map tiles. If there are no tiles cached a black background is used instead.
For offline maps "Enable Cache" must be checked. The tile cache then gets filled from using the map view.

@RealVegOs
Copy link
Author

They have a black background. I'll look after the cache setting. THX & Happy Father's Day!

@RealVegOs
Copy link
Author

RealVegOs commented May 9, 2024

Caching under Offline in map setting is activated.

@bailuk
Copy link
Owner

bailuk commented May 9, 2024

This issue is hard to reproduce for me. After I upgraded from f-droid, offline maps did not work. Then after changing some of the setting it worked again.

For testing there is a aat-android-debug.apk distribution that can be installed in parallel to the official release.

It is available from the release page and from automated builds and is inside aat-android.zip

Some things to check:

  • Is there a blue `"is readonly" note for maps and and themes in the preferences?
  • Is permission for "Storage" enabled (android app info)?

@bailuk
Copy link
Owner

bailuk commented May 9, 2024

Caching und Offline in map setting is activated.

Of course map tiles need to be regenerated and there must be some images in the map cache (after using the map). To regenerate a preview image: click on image -> Reload preview. If you want to generate all previews you need to delete the cache directory inside the activity directory. Like aat_data\activity0\cache

@RealVegOs
Copy link
Author

THX! - Later, I'm on my way.

@RealVegOs
Copy link
Author

RealVegOs commented May 10, 2024

This issue is hard to reproduce for me. After I upgraded from f-droid, offline maps did not work. Then after changing some of the setting it worked again.

For testing there is a aat-android-debug.apk distribution that can be installed in parallel to the official release.

It is available from the release page and from automated builds and is inside aat-android.zip

Some things to check:

* Is there a blue `"is readonly" note for maps and and themes in the preferences?

* Is permission for "Storage" enabled (android app info)?

I installed the debug version. (I already had it, but did not find it...) I have all my stuff on a sd card. So I have to select or copy the paths in general an map settings.
Screenshot_20240510-190356
Screenshot_20240510-190546

The map path is correct but as you see on the second screenshot it is read only. If I open the map view, I get an error that the map is not readable. I think that's a matter of Elevate. It works in v12.4 with Elevate52. BTW, most preview maps are back now in the old version.

Alas, I can't send you crash reports, because I have no email client on my Tablet. It's a WiFi Tablet only. Crashes occured by playing with settings, changing paths etc.

Cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants