Geooh GO Forum

General => Requests => Topic started by: GeoLemmi on December 12, 2020, 06:45:15 AM

Title: Themes and choices for offline maps
Post by: GeoLemmi on December 12, 2020, 06:45:15 AM
Hello everyone!

I am missing a feature in GeoohGo that other apps such as C: geo, Locus or Cachebox is now standard.

It's about the themes of the offline maps, which are included in Freizeitkarte or OpenAndroMaps. Here you can choose what you can see on the map.

As an actually insignificant example it is for the Freizeitkarte e.g. the benches. For some who are not too good on foot, this is not insignificant. You can display them via a selection menu. You can also select contour lines, special buildings or paths here.

Unfortunately this is currently not possible. You can only use one theme and cannot change it easy and use this features, that are included in the free themes.

Maybe you should include this functionality. I would be happy because personally I think that's good. And here the very latest maps and themes are always used, which are currently being improved.

I added a view screenshots, that you can see, what I mean.

1. Locus: Screen to switch between installed themes
2. Locus: Screen to switch between what to show on map or not
3. C:geo: Screen to switch between what to show on map or not
4. GeoohGo: Freizeitkarte offlline Map example, how it looks like, but there is no possible for choose, what to see or not.

The cards and themes can be found e.g. here:

Freizeitkarte:
https://www.freizeitkarte-osm.de/android/de/design.html

Open Andro Maps:
https://www.openandromaps.org/kartenlegende/elevation-hike-theme

I just think why not use the opportunities that others provide for us.

So I would like to put it up for discussion here as an idea for a feature in GeoohGo.

Maybe you can think about it.



Greetings
GeoLemmi



Title: Re: Themes and choices for offline maps
Post by: Geooh GO on December 12, 2020, 07:42:16 AM
This is on the to-do list for a future feature.
Title: Re: Themes and choices for offline maps
Post by: GeoLemmi on December 12, 2020, 07:46:00 AM
That sounds good. Thank you for the your fast replay.

I will test your app more in near future. In former time I had a problem with offline use. But I recommended that this works now better with offline using.

Now in winter time I have more time to get in touch with the other features.



Title: Re: Themes and choices for offline maps
Post by: Geooh GO on December 28, 2020, 08:49:06 PM
Version 11.3.3 that was just released has improved support for choosing and configuring themes for offline maps. It's very similar to the other apps using Mapsforge maps and themes. Go into settings in the Alternative Maps section and after enabling offline maps there will be a chooser for the available themes found in the maps directory. Selecting a theme style will enable a button used to configure various settings for that theme.

This is a new feature so there may be additional issues to work out. Let me know of any problems.
Title: Re: Themes and choices for offline maps
Post by: GeoLemmi on December 29, 2020, 03:01:31 PM
Thank you very much!

Just tried it on the current version of the app and it seems to work fine. The selection comes and I can choose everything.

But currently you can only have one theme in the directory. Choosing between different themes does not work.

Only the one theme that I have under "_themes" can be used.

If I have several themes next to each other under "_themes", then it no longer works. Can only put 1 theme in the "_themes" directory.

Perhaps you could improve or adapt this so that I can put several themes in their own directories under the "_themes" directory and the app will find the respective themes in the directory tree.

I hope you understand how I mean that. So that you could then choose between several themes.

The following directory structure:

Maps - _themes - freizeitkarte-v5 - theme with all data

Maps - _themes - fzk-outdoor-contrast-v5 - theme with all data

Maps - _themes - fzk-outdoor-soft-v5 - theme with all data

etc.

Currently it is like this:

Maps - _themes - theme with all data

Maybe that can be improved here. But it works fine with just one theme. When changing, you always have to delete and insert the data with a file manager.

Greetings GeoLemmi.
Title: Re: Themes and choices for offline maps
Post by: Geooh GO on December 29, 2020, 03:03:46 PM
Yes, that's on the to-do list also to have multiple themes, but I wanted to get the basics out first to confirm it works. If all looks good, then I can go onto the next phase. :)
Title: Re: Themes and choices for offline maps
Post by: GeoLemmi on December 29, 2020, 03:13:16 PM
Yes on my case it works well.

On first start of the map it takes a little time till the theme is there, but then it works.

If this multiple theme would work I can use my other directory that I use vor my other apps. There are all maps and themes and on a map update I have only to update one directory. Right now I have an extra directory with map data specially for geoohgo. Than I only need one for all.

Looking forward to test this feature.

Thank you for this.

Title: Re: Themes and choices for offline maps
Post by: Geooh GO on December 31, 2020, 04:56:26 PM
In the 11.3.4 version released today I added support for multiple themes in either a "_theme" or "_themes" directory under the folder for offline maps. It worked fine in my tests, but it would be good for someone like you who uses themes more to verify for me.

Due to limitations in the Mapsforge software related to Google's file security restrictions in the latest Android versions, Geooh has to move theme files around to an internal cache directory so the Mapsforge software can access them... which means with the first time use there will be a delay as that occurs, but subsequent map openings will used the cached files. Geooh confirms whether the number of files match between the theme directories you selected and the cached ones. If there is a difference, Geooh reloads the cached version... hopefully if you are sharing the maps directory between apps, none of those other apps will update the maps directory causing Geooh to reload the cache.

Mapsforge supposedly has updates in the works to address the new security issue (like all Android apps must do including c:geo and Locus), but I'm not confident they will fix it anytime soon so Geooh's solution is the best that can be done for now. Geooh is the ONLY geocaching app implementing Android's latest file security, but the other apps will have to eventually because after a certain date Google will not accept any app updates that don't abide by the new limitations.

Let me know how it works out for you.
Title: Re: Themes and choices for offline maps
Post by: GeoLemmi on January 01, 2021, 07:44:05 AM
Hallo and thanks for the new update.

I took time for indoor tests this morning because we still have curfews due to Corona.

I also made a few screenshots that I simply attach after the text. I think you'll see what I mean there.

In the previous version everything seemed to be displayed as I had selected in the Map Theme Settings. I was able to deselect the highlighting of the footpaths and bike paths, because they mostly bothered me because they were drawn in different colors.

After the update, when I went to the other map directory, where the themes are now in their own folder, a problem appears.

I was able to switch between the themes without any problems. But in the themes there is a further selection of e.g. outdoor, bike or city. At first I couldn't seem to change the setting. The first shot always remained. But I found out later that this changed when I went out and went back into this setting. Only then do you see that it has changed. Is a visual problem during adjustment, but can be confusing.

Furthermore, it now seems to be ignored where the hooks are. Everything is simply displayed now. In other words, even if I remove hooks such as cycle paths or footpaths, they are still displayed.

That was not the case with the previous version, where there was no multiple topic selection. The selection seemed to work.

Everything is currently displayed that the theme can display, regardless of whether it is selected or not.

After starting the app, when I go to the live map, it takes about 20 to 30 seconds before it appears. Also, when you start it for the first time, only the map without theme appears for a long time. Sometimes this does not appear at all, sometimes only when I switch back to the main menu and back to livemap.

But then, as mentioned, it shows everything at the same time what is possible with the theme, no matter what the hooks are.

I reinstalled the app as a test and deleted the cache of the themes. But it didn't help.

I have installed the 3 themes of the Freizeitkarte Map (freizeitkarte-v5, fzk-outdoor-contrast-v5, fzk-outdoor-soft-v5) and OpenAndroMaps (Elements, Elevate). It seems to me that only the Freizeitkarte themes works in map view. OpenAndroMaps doesn't seem to work. The empty map remains without a theme.

Have tried this in all possible configurations. Always the same result. Freizeitkarte Themes work, OpenAndroMaps won't work for me with GeoohGo. But it works on most other Geocaching Apps I have installed.

What is also missing here would be a selection option for offline maps. Because I need a different basic map material for the leisure map than for the OpenAndroMaps. In other words, I have the Mapsforge Maps of the leisure map in the map directory and then the Mapsforge Maps of the OpenAndroMaps. However, there is currently no selection option for the map.

My suggestion would be that you can somehow select the card type when selecting the card in the map view. That there is no other there, but the names of the individual offline maps. I don't know if that would be possible somehow.

I'll attach a few screenshots then. I hope you can handle it. At the end there is also a view of the map, as it is displayed in various other geocaching apps and in Geooh Go with identical settings of the theme. You will see the difference I think.

Extra Info:
The map files with the theme files are in a folder on my SD Card and will be used for simmilar other apps there.
Smartphone is Samsung Galaxy S9 with Android 10.

Greetings GeoLemmi.
Title: Re: Themes and choices for offline maps
Post by: haudek on January 01, 2021, 09:32:02 AM
I would just like to add that I experience almost all the problems that @GeoLemmi described, and in addition, going to Settings is now  very long (several dozen seconds until you can scroll down the settings screen).

I really miss quickly switching themes and their settings right on the map view.

For example, in the Elements theme, forests are visible only at certain magnifications, and in others, they disappear. Buildings cannot be seen at all. If you need, I can make a movie, but you can probably check it yourself. And I confirm that in other applications the themes work as expected.
Title: Re: Themes and choices for offline maps
Post by: GeoLemmi on January 01, 2021, 09:45:03 AM
I really miss quickly switching themes and their settings right on the map view.

Yes this would be best. I miss this too.

And yes when you open options it takes very long right now
Title: Re: Themes and choices for offline maps
Post by: Geooh GO on January 01, 2021, 09:54:14 AM
Looking into it... as I indicated I'm sure there will be issues as I work through things discovered. The delays on initial opening is the setting up of theme files because the Mapsforge software hasn't been updated to support the latest Android file security requirements that other apps will eventually have to deal with.
Title: Re: Themes and choices for offline maps
Post by: Geooh GO on January 01, 2021, 10:02:05 AM
I really miss quickly switching themes and their settings right on the map view.


Yes this would be best. I miss this too.

And yes when you open options it takes very long right now

Does this only happen on the shared directory? And are you opening the other apps in between uses? I'm concerned they are updating something in the directory causing Geooh to re-cache the themes again since it won't know whether it's a valid theme file update.
Title: Re: Themes and choices for offline maps
Post by: GeoLemmi on January 01, 2021, 10:41:57 AM
It happens every time I open the options in this version. Most delay was, when I started the app new after I closed it before. Restart of the app.

I just use GeoohGo while testing today. And I used it like I wrote it down here.
Title: Re: Themes and choices for offline maps
Post by: Geooh GO on January 02, 2021, 01:11:21 PM
Try version 11.3.5 that was released today. It should fix the issues described with theme options and selections. This version also tries to speed up the configuring of map files due to Mapsforge not supporting Android's latest file security requirements. Remember though, if you have lots of theme files, it will take longer during the initial configuration setup to copy those themes to locations supported by Android's security.

Let me know how this version works.
Title: Re: Themes and choices for offline maps
Post by: GeoLemmi on January 02, 2021, 05:23:18 PM
Was just able to do a quick test of the new version.

When the map was started for the first time, all possible map elements were still displayed. Only after the 3rd start of the map did they disappear all at once and the map was displayed as it was set by me. That was already good.

The selection in the themes such as city, outdoor and so now seems to work without any problems. Is displayed correctly immediately after selection.

Only every time I want to switch to the options, the app freezes and I have to wait about 20 seconds or more until my smartphone reacts again. Usually there is also an error message.

I am then also asked whether I want to quit the app or wait.

Calling up the offline map also takes a relatively long time.

Furthermore, the app now seems to cause more problems and to use a lot more energy than normal. In any case, this comes as an error message from the smartphone.

The OpenAndroMap themes still don't seem to work.

As I said, it was just a short test. But I think it will be similar if I test more intensely.

Greatings GeoLemmi.
Title: Re: Themes and choices for offline maps
Post by: Geooh GO on January 02, 2021, 05:47:05 PM
Nothing was changed to cause more energy use unless copying the theme files to a storage area Mapsforge can access is causing that... but that should only happen on initial configuration. Since you have so many themes in the shared directory Geooh is having to move lots of files around for the Mapsforge software. Maybe open Geooh and wait a bit until a background process finishes the copy before opening settings or the map. Once copied things should run smoother.

Can you create a video of what you are seeing so I know where a freeze is happening?

Can you let me know an OpenAndroMap theme that doesn't work so I can test?
Title: Re: Themes and choices for offline maps
Post by: GeoLemmi on January 02, 2021, 06:41:05 PM
Sorry I dont know who to make a video of that. Is there an app, that can do that on my smartphone?
But I wrote what happend down here. New is, the freezing. Time is the same like before.

There is only one theme from OpenAndroMaps that is called Elevate 4.
You can find it here:
https://www.openandromaps.org/en/legend/elevate-mountain-hike-theme
Title: Re: Themes and choices for offline maps
Post by: GeoLemmi on January 02, 2021, 06:48:38 PM
Now I can make a screen video. Can I sent it directly to you or can I put it here to the post. I will try.
Title: Re: Themes and choices for offline maps
Post by: GeoLemmi on January 02, 2021, 06:59:34 PM
Screenvideo is ready.

Everytime in the video, when in the options the screen dont scrolls it is a freeze. And this is often, you will see.

Make an upload as zip to Google Drive. Put a link to here,when ready.
Title: Re: Themes and choices for offline maps
Post by: GeoLemmi on January 02, 2021, 07:16:25 PM
Here is the link to the uploaded video as a zip file.

link deleted ...

Please write, when you have download it, so that I can delete it. Right know everyone that have this link, can download it.
Title: Re: Themes and choices for offline maps
Post by: Geooh GO on January 02, 2021, 08:10:30 PM
I could not get the video to extract or download so I don't know what is wrong with it. You could email support@geooh.com to see if I can receive it that way.

I do the majority of my testing with the Elevate 4 theme... it has been working perfectly for me. See the video to demonstrate it.

Could you try to go back to the Geooh-only directory with just the Elevate themes in it to see how things work? I still suspect with so many themes there is trouble. Since Geooh has to count the number of files to determine when to copy the themes internally to sync, it is taking longer to do that in your situation. I also just discovered that due to a timing issue that the logic to bypass copying after the first time is not working all the time. So in your case, my guess is each time you open settings Geooh is checking for the number of files and re-copying... each time... causing a slowdown. Minimizing the number of themes will be a good test of that.

I've got the fix in for the unnecessary re-copy for the next release, but I want to be sure there are no other issues before doing so. Don't want others to complain about too many versions being released in a short time.
Title: Re: Themes and choices for offline maps
Post by: GeoLemmi on January 02, 2021, 08:16:03 PM
Seem this file is to large. But download should work.

Here is the folder, where file is.

https://drive.google.com/drive/folders/1ORpPIVkycyWzcXFRM1VEtu5dyaY0XRoP?usp=sharing

Right now the file as mp4 will be uploaded in this folder. Maybe it works than.

This is the video directly:

https://drive.google.com/file/d/1OdMSib3oITknOQ2HvwPMnbV85skDmjQX/view?usp=sharing
Title: Re: Themes and choices for offline maps
Post by: Geooh GO on January 02, 2021, 08:26:19 PM
OK, got that one. I do wonder if the background counting and copying of files is the issue. Let me know what happens when you reduce the number of themes to just Elevate. If things run better that way, then it will confirm. I'll have to think of a better way to deal with knowing when to sync theme files because in situations like yours it could be excessive. Geooh just doesn't know whether you've updated the themes to when to copy other than counting files and comparing to what is in the cached area for Mapsforge.

Mapsforge is working on an update that may allow their software to run with new Android security, but they are taking too long to release anything. And in their issues discussions they know they have a problem, but no answers yet.
Title: Re: Themes and choices for offline maps
Post by: GeoLemmi on January 02, 2021, 08:42:48 PM
Only with active elevate 4 theme the map and options starts really faster und smoother.

But the theme is not shown at all even it is active. I only see the blanc map without themeing. Background is white and no wood, green, water or park is seen in color or so.

With Freizeitkarte Theme it works ...
Title: Re: Themes and choices for offline maps
Post by: GeoLemmi on January 02, 2021, 08:49:49 PM
Right now I have seen your video.

The app works very smooth on your side. This is not so on mine. And the theme still dont work.

But in my other apps like Locus or so it works fine and fast ...

What smartphone do you use?. My S9 is normaly very fast ...
Title: Re: Themes and choices for offline maps
Post by: Geooh GO on January 02, 2021, 08:51:15 PM
Open Geooh... wait a minute... open map to see if theme shows. Close the app and try again. Without the new fix we may still have an issue. I had something similar happen during testing before files were copied correctly.

Here is a link https://www.androidcentral.com/what-scoped-storage (https://www.androidcentral.com/what-scoped-storage) to what developers are expected to do by Google. Geooh is the only app targeting Android 11 so that's why I'm having to deal with this mess until Mapsforge updates their software.
Title: Re: Themes and choices for offline maps
Post by: Geooh GO on January 02, 2021, 08:54:48 PM
I have a Pixel 2 so by today's standards it's an old phone. I wish I knew why yours has the problem with elevate when that's the theme I primarily test with.
Title: Re: Themes and choices for offline maps
Post by: GeoLemmi on January 02, 2021, 08:57:51 PM
I have Android 10. You should have 11. Maybe ...

Freizeitkarte works ...
Title: Re: Themes and choices for offline maps
Post by: Geooh GO on January 02, 2021, 09:06:44 PM
I also use an emulator to test with all the Android versions sorted by Geooh. Most testing is done on Android 8 version.
Title: Re: Themes and choices for offline maps
Post by: GeoLemmi on January 02, 2021, 09:08:59 PM
I think I have found the reason, why it was so slow.

In my map folder, I had the mapsforge maps from Freizeitkarte and from OpenAndroMaps. Both in same folder
I now tried it only with the mapfiles from freizeitkarte. And now it seems to be faster.

But still the elevate theme dont work on my side.

Title: Re: Themes and choices for offline maps
Post by: Geooh GO on January 02, 2021, 09:49:12 PM
Well, there are some BIG files in there that Geooh may be trying to copy. What are the .db and .poi files? I need to filter those out if not needed for themes. Can you zip the directory and send to me so I can see what's in there.

Try a test with a folder only having elevate in it.
Title: Re: Themes and choices for offline maps
Post by: GeoLemmi on January 02, 2021, 09:59:45 PM
Sorry I cannot sent you this directory. These are maps files, that are very big.

You can download them directly from the side of Freizeitkarte and OpenAndroMaps I have linked at first posting of this thread.

The other files where with the maps, points of interest and so.

But I will again try it.
Title: Re: Themes and choices for offline maps
Post by: GeoLemmi on January 02, 2021, 10:04:37 PM
I tried the elevate theme just with the OAM map file and still the same, dont works on my side ...
Title: Re: Themes and choices for offline maps
Post by: Geooh GO on January 02, 2021, 10:29:03 PM
Could you be using elevate themes for Locus? Try the attached one I use with no problem.

Also, my Freizeitkarte folder didn't have those big files either. Are they something special for specific apps because my download from the website didn't include them?
Title: Re: Themes and choices for offline maps
Post by: GeoLemmi on January 02, 2021, 10:34:01 PM
I even download elevate new from the website.

With Locus it works well with the same map file.

And such a file in the directory is a map form mapsforge maps and it is up to 1 GB or more. This is to big to send via email and it is the same that you can download on the OpenAndroMap Webside. Also the theme is from there. Nothing different ...
Title: Re: Themes and choices for offline maps
Post by: GeoLemmi on January 02, 2021, 10:39:32 PM
This is the theme I us:
Title: Re: Themes and choices for offline maps
Post by: GeoLemmi on January 02, 2021, 10:45:53 PM
The elevate4 theme from you seems to work. Seems to be another as I downloaded-
Title: Re: Themes and choices for offline maps
Post by: GeoLemmi on January 02, 2021, 11:47:57 PM
The problem could be the 2 different Mapsforge Maps files. Freizeitkarte needs another than OAM. And I cannot choose witch of them, so GeoohGo analysis both in the folder and this causes the freeze.

When I can choose manually the map file, it could work.

Maybe multiple offline Map files should be the goal to solve the problem.
Title: Re: Themes and choices for offline maps
Post by: Geooh GO on January 03, 2021, 03:14:58 PM
Try version 11.3.6 that came out. I could not find a workable solution in instances like yours where there were lots of theme files to deal with... the copying internally just slowed things down too much. So, I downgraded Geooh to not fully support Android 11 and hacked some internals to trick Mapsforge to use the storage area used for maps. I'm not fully confident something else won't be broken, but it's the best I could do until Mapsforge fully supports later Android versions. When they do I can get Geooh fully compliant again.

Let me know.
Title: Re: Themes and choices for offline maps
Post by: GeoLemmi on January 04, 2021, 01:32:59 AM
I made a small test of the new version.

I remark that the multiple theme is gone in options. Also you cannot choose the theme options.

Everything you have implemented seems to be gone and don't works at all.

Title: Re: Themes and choices for offline maps
Post by: GeoLemmi on January 04, 2021, 01:39:40 AM
And system warming of to much akku consuming and problems with the app appears again.

Title: Re: Themes and choices for offline maps
Post by: Geooh GO on January 04, 2021, 07:18:24 AM
I don't know what the warning is... Geooh is the same app as before, the only thing changed is the map themes. Previously, the copying of so many large map files could have caused it, but the current release no longer does that.

Try deselecting offline maps and reselect (or restart). Or selecting a different map folder to force Geooh to rebuild internals. I'll look into why themes are not immediately showing.

Are you using an SD card? Try moving to internal storage. Google has been discouraging developers from using SD cards for app storage and with the new security limitations they may not support it later.
Title: Re: Themes and choices for offline maps
Post by: GeoLemmi on January 04, 2021, 11:21:29 AM
I try to deselect and select or new. Make restart. Same Problem. No theme options.

In last version it worked, but now the are gone.

I don't want to use large map files on internal space. On SD I have more space and it worked there before. And I use it without problems on SD till now.
Title: Re: Themes and choices for offline maps
Post by: GeoLemmi on January 04, 2021, 11:47:32 AM
Now I put some maps and themes to internal memory for a test.

There everything works well as it should.

On SD card it is the problem, that the themes are not shown any more. In the version before the themes worked on SD Card.

You see that on the screenshots I posted before.

I don't want to use internal space due to the lower space. And it worked before and also with other apps.
Title: Re: Themes and choices for offline maps
Post by: Geooh GO on January 04, 2021, 11:54:02 AM
On the next release I'm having to remove support for the SD card as it's causing the problem... all apps are eventually going to go this way... c:geo is already trying to figure it out... Geooh is just ahead of everyone else. Once Mapsforge update's their software I may be able to add it back, but I seriously doubt it. Google is going to great efforts to discourage SD cards and change how users interact with the file system due to security concerns. None of the Android developers like it and I certainly have struggled trying to implement the new ways which are more complicated than before... I'm not happy with Google.

It didn't work before... the themes weren't selectable or editable until I went down this path to add better support for themes. I'm sorry, but I've spent days trying to get SD card support and I've hit a wall with it and how Mapsforge currently works. The other geocaching apps will require files off the SD card eventually too unless Google loosens things and provides better solutions for the developers.

To confirm, put a small map and theme on internal storage and notice Geooh will work. I've got some bug fixes to make the directory changes more responsive, but not SD card support.
Title: Re: Themes and choices for offline maps
Post by: Geooh GO on January 04, 2021, 11:59:05 AM
Now I put some maps and themes to internal memory for a test.

There everything works well as it should.

On SD card it is the problem, that the themes are not shown any more. In the version before the themes worked on SD Card.

You see that on the screenshots I posted before.

I don't want to use internal space due to the lower space. And it worked before and also with other apps.

Thanks for confirming that.

And as I've said, the other apps will also have to deal with the SD card issues if they want to support Android 11 (which they will be required to do so by Google). When Mapsforge updates their software, they may be able to read themes from the SD card with the newer techniques. Until then, Geooh will only be able to support multiple themes on internal storage.

And remember... previously I was copying theme files to an internal area... so they weren't actually on the SD card. It was when we tried to have Geooh access ALL the themes you had that things slowed down considerably during the copy. Either I drop SD card support, keep number of themes to a minimum, or let users get frustrated with the copy time. There are no good solutions until Mapsforge changes and/or Google does.


Title: Re: Themes and choices for offline maps
Post by: GeoLemmi on January 04, 2021, 03:19:19 PM
Did you read this post of me?

I think I have found the reason, why it was so slow.

In my map folder, I had the mapsforge maps from Freizeitkarte and from OpenAndroMaps. Both in same folder
I now tried it only with the mapfiles from freizeitkarte. And now it seems to be faster.

But still the elevate theme dont work on my side.



It worked fast on SD card, when I only put the Mapsforge Maps from Freizeitkarte on it with the themes.

The problem was the 2 different map files. This slowed it down.

My phone will never get Android 11. It will stay in Android 10.

Map Files to small internal memory is not what I want and I cannot use GeoohGo with this.

Why don't you make it with the version, that worked?

Locus, C:geo and Cachebox work well with offline Maps on SD. And GeoohGo too, like we have seen.

You are just limited on one type of maps, not 2 or 3 deferent in this case.

Maps in internal memory is not usable for me. Especially cause I already use them on SD.

Think about it. It was already working ...
Title: Re: Themes and choices for offline maps
Post by: Geooh GO on January 04, 2021, 03:48:34 PM
We are going in circles....

The other apps can use the SD card because they are not using the latest Android storage access framework (SAF) like Geooh does. They all will migrate eventually and will hit the same problem until Mapsforge updates their software to SAF. This has nothing to do with your Android 10... the apps will be forced by Google to go to SAF... on ALL devices even running 10.

Again, it wasn't "working" with multiple themes if the number of them was high. I tested with five themes in the folder and experienced the same delay while copying theme files from the SD card to internal storage. I never realized someone would want several themes at one time until you revealed that to me. Like you, someone else will complain about the slowness if they have several themes in the folder.

All of this is temporary until Mapsforge updates their software... they have to eventually... they've started it, but I don't know when it will be complete. Once their update completes, I can use it directly instead of the hacking around I'm doing now.

Again... a warning... you may have to move all your maps off the SD card if required by Google and apps supporting SAF. I don't know what their final restrictions will be... developers don't like SAF (I don't) so Google may try to improve it, but I doubt it because they have been trying to get rid of SD cards for some time.

Again... Locus, c:geo, Cachebox, and GCDroid have NOT transitioned to SAF yet. I know c:geo is trying to figure out how to migrate, but they will encounter the same problems I have.

I have spent all day today and yesterday trying to get SAF to work with the SD card and Mapsforge... with no luck.

If I go back to the old way, then there will be complaints about delays during the copying of themes to internal storage for SAF. You showed me that was a poor design. The new way works although it uses internal storage. But most new phones no longer have SD cards. I have no good solution to satisfy everyone... until other software is updated.

Title: Re: Themes and choices for offline maps
Post by: GeoLemmi on January 04, 2021, 11:59:50 PM
It would be nice if you could restore the functionality of the SD card as in the last version of the app. Because, as I already wrote, everything worked wonderfully when using a card. The theme could also be easily selected and adapted.

What you have changed in the current version, you should know yourself and simply undo it. Then my problems would be solved and I could use GeoohGo as I would like.

I primarily use the Freizeitkarte Maps and there are 3 themes. So it worked wonderfully and should work again as it was intended.

I cannot understand that there will be no more smartphones with SD cards in the future. Because the users don't want that. And I think this is not so. Your info seems to be wrong.

Samsung, the largest manufacturer of Android smartphones, has an SD card inside each of its models. With every new model, 2 SIM cards and 1 SD card can now be used. The size of the SD card is constantly being adapted and expanded. And that's because the users want it. That's why everything should work with it.

Personally, I would never buy a device without an SD card. The advantages of the SD card simply outweigh it. Because the smartphone could break and then you can no longer access important data in the internal memory. If they are on SD, like mine, then they can be saved more easily.

Could write down more advantages, but that would be over the topic.

In addition, you can easily accommodate large amounts of data there, such as maps and other things.

Should GeoohGo only be able to use data in internal storage in the future. Then it will bypass the trend because users want SD cards.

The whole time you could use the SD cards and it doesn't make sense to me why not anymore, although it is actually possible. You could see that in the last version, which worked wonderfully and quickly after my adaptation to only use one type of card.

Otherwise I will probably no longer be able to use GeoohGo because I need the offline maps and these on an SD card. For me there is no alternative where I save the maps. I need the limited internal memory for other data.
Title: Re: Themes and choices for offline maps
Post by: Geooh GO on January 05, 2021, 09:54:12 AM
I'm looking into how to reintroduce partial copying so get what you need and minimize delays that you experienced before.

I never indicated SD cards are going away... I said Google is introducing more file security via SAF and that use of SD cards will be more difficult (and possibly not available) to how apps used the card before. My info is not wrong... this is what all Android developers are facing. Every geocaching app and software library (c:geo, Locus, Mapsforge) are all currently trying to figure it out... Geooh is just ahead of them.
Title: Re: Themes and choices for offline maps
Post by: Geooh GO on January 06, 2021, 05:47:39 PM
You'll be pleased to know I reworked much of the code over the last couple of days to allow SD card usage. The themes will again be copied to internal storage, but I tried to reduce the time taken for the process... although a large number of themes can still pose a delay. After further testing I'll release a new version with the changes.

I also added a better way to select the theme/options without having to go into settings. See the attached video for a demo of it. Thanks for the patience while I get all this figured out.

Title: Re: Themes and choices for offline maps
Post by: GeoLemmi on January 06, 2021, 06:23:00 PM
Looks and sounds good.  Will test it, when it is out.
Title: Re: Themes and choices for offline maps
Post by: Geooh GO on January 21, 2021, 11:19:40 AM
Did you get a chance to test? Curious if the latest release is working with the SD card.
Title: Re: Themes and choices for offline maps
Post by: GeoLemmi on January 22, 2021, 04:05:14 AM
Unfortunately, it no longer works with the latest version. It worked with the previous one.

Every time I go to the settings on alternative maps, a red dot is displayed in front of the offline map folder. I then have to click to grant access to the directory.

It seems that GeoohGo forgets the setting every time. I also don't see a selection for the theme.

In the map view, I then see a map without a theme. If I go to Options, Map, then nothing happens. There is no reaction.

It worked with the previous version. Well not anymore.

My cards with themes are still on the SD card. But I had to create a separate directory for GeoohGo, because I have several map types in the main directory and GeoohGo can't handle that.

With the other apps, I can manually select the card types in the directory as needed.

At GeoohGo I limited myself to the Freizeitkarte with a corresponding theme.
Title: Re: Themes and choices for offline maps
Post by: Geooh GO on January 22, 2021, 09:12:27 AM
The red dot is just an indicator that there must be a value in the setting before saving. If you don't save, the value isn't saved either. Geooh isn't forgetting.

Android is handling the storage permission security... the new way all apps will have to eventually with the storage access framework SAF.

As discussed before, due to a Mapsforge problem using SAF Geooh has to copy the themes to another internal area before Mapsforge can access them. If you don't see theme options, then the copy didn't happen. Selecting the maps directory triggers Geooh to do the copy.

Try choosing the maps directory again. Tell me if the copy occurs (a progress window shows this). Save settings!

Try a maps directory on internal storage (not SD card) to see if that works.

You said the previous version didn't work so I'm confused. I cannot replicate what you are describing in my testing.

Mapsforge is currently working on an update to support themes via SAF. When done I'll implement the new version which should eliminate the copy and other issues related to the new Android storage security.
Title: Re: Themes and choices for offline maps
Post by: GeoLemmi on January 23, 2021, 09:18:35 AM
I always saved it, but it wont work like i wrote.

It worked in the version, that I tested on 06.01.2021. But with the actuell version it dont.

In the other apps I have no problem at all with maps and themes on sd. It simply works ...
Title: Re: Themes and choices for offline maps
Post by: Geooh GO on January 23, 2021, 03:26:04 PM
In the other apps I have no problem at all with maps and themes on sd. It simply works ...

One more time... the other apps are not supporting SAF... but Google will force them. It's mapsforge that's the holdup here since it's their software rendering the map tiles and themes, not Geooh.
Title: Re: Themes and choices for offline maps
Post by: GeoLemmi on January 24, 2021, 05:28:28 AM
In the meantime I use the Google translator because my English is too bad for me to get into technical problems. I hope the translation is sufficient.

The fact is, everything worked fine with GeoohGo before the current changes. The cards and themes all worked out wonderfully. This is currently no longer the case.

Only you can tell what has changed. Why that was changed when it worked too.

To me the approach and the will sounded good. We saw that it is possible.

For me the maps are not usable as they are currently made. Putting everything in the internal memory is not a solution for me, because then I can throw my smartphone away because I can no longer use it because the internal memory will then overflow.

There is enough space on the SD card.

And the statement that Google or Mapsforge no longer supports this is nonsensical to me, because I've seen that it also works with GeoohGo.

I don't care what you do with it now. Because GeoohGo is no longer useful for me. And that's why I don't intend to interfere senselessly in the development and continue testing, if everything is changed again after all, if it's actually ok. And then, unfortunately, the change is deterioration.

Sorry I don't understand ...

And whether something SAF, whatever that is supported or not, is of no interest to me as a user. I want to go geocaching with the app and not worry about the technology behind it. It just has to work.

I see with other apps what I ask is possible and here too, but somehow it doesn't work.

For my part, GeoohGo seems to have slowly become history, since it cannot be used by me.

And don't tell you that it wouldn't work because I saw that it works ...

In my case, the Samsung Galaxy S9 is a very good and fast smartphone with android 10. And there is no ned for me to change the device just to run GeoohGo. My with buyed a new smartphone, a Samsung Galaxy A41 and it works with SD card. And so the apps have to work with this situation without try and error principle.

We are just user and not programmer. In this case the programmer is in the case of support and has to find a solution to us.
Title: Re: Themes and choices for offline maps
Post by: Geooh GO on January 24, 2021, 08:48:28 AM
The fact is, everything worked fine with GeoohGo before the current changes. The cards and themes all worked out wonderfully. This is currently no longer the case.

And don't tell you that it wouldn't work because I saw that it works ...

Geooh has made the transition to SAF as required by Google. The version you indicated was the pre-SAF one. That version also didn't allow display of theme options (your original request in this thread) so it needed to be updated for better theme support.

Mapsforge (which Geooh uses) does not support SAF so Geooh had to work around that. SD cards work in my tests. In a previous message I suggested things for you to try to determine why it doesn't  for you, but I didn't get any feedback.

Please let me provide a refund for you. Email support@geooh.com with the Google play store purchase number and I'll immediately return your money.