This object is in archive! 
Possible to use hardware button on locked screen?
Answered
I use Locus Pro on a Samsung Galaxy S5 Active. İ use it also for hiking and bicycling at rainy weather. Than I have to use the function "locked screen", because it isn't possible to use the touchscreen at rainy weather. Unfortunately it isn't possible to use the hardware buttons for the zoom when the screen is locked. But this would be a great future at rainy weather. Is there any possibility in the settings to change it?
or @Menion: Is there any possibility to implement it at Locus?
Good day Uwe,
are we here talking about "lock screen" made by device itself or really a "lock screen" function available on Locus Map main map screen in bottom right corner?
If we talk about lock screen made by Locus Map, then using hardware buttons here is disabled from security reasons. Anyway it is possible to enable this option as well, thanks to config.cfg file and parameter called hardware_buttons_enabled_during_screen_lock . So set this parameter to value "true" ( or "1" ) and it should work as you need.
Good day Uwe,
are we here talking about "lock screen" made by device itself or really a "lock screen" function available on Locus Map main map screen in bottom right corner?
If we talk about lock screen made by Locus Map, then using hardware buttons here is disabled from security reasons. Anyway it is possible to enable this option as well, thanks to config.cfg file and parameter called hardware_buttons_enabled_during_screen_lock . So set this parameter to value "true" ( or "1" ) and it should work as you need.
Hello Menion and thanks for the fast answer.
Yes, we are talking about lock screen made by locus map with the bottom in the right corner.
And I have find the file and have changed the setting to "1" but it doesn't function.
Than I have restart my device and have seen that the setting has changed automatically back to "0".
For testing I have changed the setting:
map_hold_center_method_timeout=15
and after a restart of my device it function perfectly.
So...I think that I have understand your explanation but the setting doesn't function.
Do you have an idea why?
Hello Menion and thanks for the fast answer.
Yes, we are talking about lock screen made by locus map with the bottom in the right corner.
And I have find the file and have changed the setting to "1" but it doesn't function.
Than I have restart my device and have seen that the setting has changed automatically back to "0".
For testing I have changed the setting:
map_hold_center_method_timeout=15
and after a restart of my device it function perfectly.
So...I think that I have understand your explanation but the setting doesn't function.
Do you have an idea why?
Hmm it looks like Locus incorrectly recognized changes in file and overwrite this parameter with default value.
May you try, in list of applications in your device, completely terminate Locus by "FORCE STOP" button? Then edit the file and then open Locus Map? Thanks
Hmm it looks like Locus incorrectly recognized changes in file and overwrite this parameter with default value.
May you try, in list of applications in your device, completely terminate Locus by "FORCE STOP" button? Then edit the file and then open Locus Map? Thanks
Hello Menion. Unfortunately it is not possible to terminate Locus by using the "FORCE STOP" Button at my device.
Do you have any other idea or can it be a bug that you can fix with a new update?
Hello Menion. Unfortunately it is not possible to terminate Locus by using the "FORCE STOP" Button at my device.
Do you have any other idea or can it be a bug that you can fix with a new update?
Good day Uwe,
hmm interesting. I'm sure, config file works correctly ( mainly because it is quite old system that should be really tested ). It looks like on your device, it makes a problem to change values, do not know why.
Maybe you should try for example edit config.cfg file in device and then restart a device.
Good day Uwe,
hmm interesting. I'm sure, config file works correctly ( mainly because it is quite old system that should be really tested ). It looks like on your device, it makes a problem to change values, do not know why.
Maybe you should try for example edit config.cfg file in device and then restart a device.
Good day,
I was so sure that this feature should work, that I did not even tested it. Well, it does not work to me as well.
Sorry for a longer discussion, issue on my side. It will be fixed in next version, so please try to change this parameter once more, after new version will be published and let me know if there still be any problem. Thanks
Good day,
I was so sure that this feature should work, that I did not even tested it. Well, it does not work to me as well.
Sorry for a longer discussion, issue on my side. It will be fixed in next version, so please try to change this parameter once more, after new version will be published and let me know if there still be any problem. Thanks
Hello Menion,
thanks for your respond. I will wait for the next update and try it than again.
Hello Menion,
thanks for your respond. I will wait for the next update and try it than again.
Hi Menion,
I have an issue closely related to this one so I though i'd post it here instead of creating a new entry. Please tell me if i should open a new one.
So I have the same use case as Uwe (using hardware buttons on bike, and locus screenlock if it is raining), and with the "hardware_buttons_enabled_during_screen_lock" option enabled from the expert menu, hardware buttons work for zoom in and zoom out. It doesn't work with option disabled, which makes perfect sense.BUT I also like to use other functions through hardware buttons: screen on/off toggle, and centering map. Those don't work when locus own screenlock is enabled.
To give more details I'm using a bluetooth remote as hardware buttons, but I guess this has to be unrelated to the issue.
Thanks
Vincent
Hi Menion,
I have an issue closely related to this one so I though i'd post it here instead of creating a new entry. Please tell me if i should open a new one.
So I have the same use case as Uwe (using hardware buttons on bike, and locus screenlock if it is raining), and with the "hardware_buttons_enabled_during_screen_lock" option enabled from the expert menu, hardware buttons work for zoom in and zoom out. It doesn't work with option disabled, which makes perfect sense.BUT I also like to use other functions through hardware buttons: screen on/off toggle, and centering map. Those don't work when locus own screenlock is enabled.
To give more details I'm using a bluetooth remote as hardware buttons, but I guess this has to be unrelated to the issue.
Thanks
Vincent
Replies have been locked on this page!