abrensch / brouter

configurable OSM offline router with elevation awareness, Java + Android
MIT License
474 stars 113 forks source link

Profile settings #643

Closed troNpo closed 3 months ago

troNpo commented 8 months ago

Hello, when I go into profile settings in the app, for example in mountain hiking, after selecting the settings I don't see how to save the settings. How do I get the app to record profile changes?

afischerdev commented 8 months ago

There is no extra save function. But all changes are stored to the serviceconfig.dat when you press back. You see at the end a small summary: routing mode, used profile, counter used nogo areas, and a '+p' when parameter used.

troNpo commented 6 months ago

Sorry, but try as I might, profile settings aren't saved. Maybe for safety Adding a confirmation button would be a good idea. Thank you Screenshot_2023-12-14-09-26-21-36_426dd4b0df05b220d038e079e4dccfb1

Screenshot_2023-12-14-09-27-42-70_754cf9a4094c34a8eeb04648e2e3eb8d

afischerdev commented 6 months ago

I'm sorry to say no. The dialog is designed to get called not only from BRouter app. Other apps can do that as well. So the dialog has return values when something is changed, and the apps can work with.

Please let us know what you have done around your both pics. May be there is an error in the way BRouter uses the returned values. Testing the reactions:

troNpo commented 6 months ago

Thanks for the answer, I show a video with the process I do, maybe you can tell me where my mistake is.

https://youtube.com/shorts/azm1ORK6b6k?si=7MOy_bJ0IeGwvjmV

afischerdev commented 6 months ago

Thanks for the video I miss the last action in game. After leaving the dialog I get a result announce.

Screenshot_20231214-115123

Have you tried with the original profile?

troNpo commented 6 months ago

That result ad doesn't appear, with any profile. I have uninstalled and installed the Google play version and the apk It doesn't work for me at all. Cin the original profiles.

afischerdev commented 6 months ago

Could it be that the installation is on sdcard? I have only phones without sdcard. So it is hard to test.

afischerdev commented 6 months ago

I think I've found the problem - with a borrowed cell phone. Need more testing.

troNpo commented 6 months ago

Thanks for your interest, I refer the issue to a group of Oruxmaps users, With Android 13 it seems to go well, in Android 11 (my case) it doesn't. Later I'll try Android 10 and I'll tell you the result in case the Android version is related.

troNpo commented 6 months ago

Hi again, two more users and I, we have checked that the profile settings do not run on Android 10 and 11 In case this information is useful to you

afischerdev commented 6 months ago

I have posted a solution. Please give us some time for a review. I'll inform here when we get a usable version.

troNpo commented 6 months ago

Great news!! I love planning routes with brouter, the ability to make adjustments to profiles is an added plus Thank you for your attention.