Author Topic: Screen locked with PIN when navigation  (Read 1035 times)

Offline 0709

  • More than Newbie
  • *
  • Posts: 41
  • Thanked: 59 times
    • View Profile
  • Device: THL4000 CM12.1 (A5.1.1) SM-T235 (A5.1.1) MI A2 Lite (A9)
Re: Screen locked with PIN when navigation
« Reply #15 on: July 23, 2020, 19:40:59 »
OK fine...problem hopefully solved by these complex settings.

Well I must admit that I was a bit surprised by the nature of the original question and especially by the reference to the Komoot app and others.

Locus Pro (if allowed) IS Device Administrator.
So I assumed that Locus Pro users always use the practical Gesture control for manual display control. For a cyclist with gear mounted on the handlebars by a single wave, and for walking by a double wave. No PIN, even if set to display always on. I recently even had a small discussion about this subject with the Locus team to simplify the entire display setting, so I better keep quiet now ;-)

But first here another hidden treasure and secret by changing the config.cfg file setting.

By a (single) gesture wave set the display continuously ON (gesture wave action ON than has the highest priority). This until by a subsequent (single) wave you set the display back to OFF. The standard ON/OFF sequence is than continued, so steered by the navigation instructions and the auto display off time out setting.

Interesting mode, as when you are approaching complicated street patterns, you can leave the map activ for a while. When the difficult part is over then you just go back to normal by a next (single) Gesture Wave. Very usefull imo.

It concerns a setting in the config.cfg.  Change default setting 0 to 1.
With the current Locus version config.cfg you will find the item on line 204.

# Disable "Turn off if idle" when screen was turn on by gesture (default: false)
turn_on_screen_by_gesture_disable_auto_screen_off = 1

Close Locus then edit the config.cfg (notepad ++). Then restart Locus and ready.
« Last Edit: July 24, 2020, 10:36:41 by 0709 »
Locus Pro 3.46.2
 

Offline deelite

  • More than Newbie
  • *
  • Posts: 16
    • View Profile
  • Device: Samsung Galaxy S10e
Re: Screen locked with PIN when navigation
« Reply #16 on: July 24, 2020, 15:38:26 »
So, I have now tested the navigation on several trips and I must say: it works perfectly!

Thank you very much!

In the course of this, I have also tried out the gesture control, as I did not think it was necessary until now. But actually it makes sense.

But unfortunately it does not work for me. Do I understand correctly that I simply have to wave 1 or 2 times over the smartphone to switch it off or on? But it does not work for me. Do I have to set anything else in my Smartphone?
 

Offline 0709

  • More than Newbie
  • *
  • Posts: 41
  • Thanked: 59 times
    • View Profile
  • Device: THL4000 CM12.1 (A5.1.1) SM-T235 (A5.1.1) MI A2 Lite (A9)
Re: Screen locked with PIN when navigation
« Reply #17 on: July 24, 2020, 19:30:54 »
The proximity Gesture sensor.
I have experiences with 2 (old) Samsung, 2 THL and a Xiamo Mi A2 Lite Phone.
On these phones the method was and is perfectly functional.
See a wave action in use in an old video recording here.
By very low memory Samsung Ace (gps use only).
No Google services nor play, no fingerprint, no PIN, no SIM.
Locus Free apk install and external gesture proximity app name DTSO.
There is not shown any display activation at turns because operating Locus Free !

https://youtu.be/NM59pgl3ZAU  Goto 48 sec for the first wave display OFF action.

Samsung S10.
I do read some phones have a very unsensitiv sensor, and the S10 sensor is one such a troublemaker. :-((
https://help.locusmap.eu/topic/display-activation-samsung-galaxy-s10#comment-85870
https://help.locusmap.eu/topic/gesture-screen-control-not-working
Locus Pro 3.46.2
 

Offline jonny.blue

  • Apprentice of Locus
  • **
  • Posts: 135
  • Thanked: 10 times
    • View Profile
  • Device: Galaxy S10e
Re: Screen locked with PIN when navigation
« Reply #18 on: July 24, 2020, 20:00:36 »
Quote
Now ... after two years 🙄 I finally found all my settings

Ohhh 🙄 this was a little bit to fast ... 😪

Changed my settings so android (should ) turn off the screen ...

Yesterday on the couch everything worked well ... today during my outdoor biking:
- startet recording and navigating along a route
- screen turned off after 30 seconds (as expected 👍)
- next navigation command turned screen on 👍
 .... and it never turned off again🤔
Stopped navigating ... no change.
Stopped recording ... no change.

After 20 minutes I went back to my old settings ( LM turns off screen).
This works good ... the only problem which remains:
When I use LM and open another window/panel/screen like 'geocaching' a pin is asked.
Despite my device being connected with my 'trusted' bluetooth.🙄
 

Offline 0709

  • More than Newbie
  • *
  • Posts: 41
  • Thanked: 59 times
    • View Profile
  • Device: THL4000 CM12.1 (A5.1.1) SM-T235 (A5.1.1) MI A2 Lite (A9)
Re: Screen locked with PIN when navigation
« Reply #19 on: July 24, 2020, 20:49:21 »
I tested....The Android time out does turn the screen off. Android time out set for this test = 15 seconds.
Observe the turn alert display ON action, than the DIM action soon followed by total display OFF.
The typical Android time out sequence. By the screen recorder the dim is not optimally displayed. In real direct screen view is observable nicely. Compare with display OFF by Locus Pro: Is immediately without dim action.
All next turn alerts notice always the same sequence. (I did not record the turn instruction sound).
Need other app than the Locus active one ?  For example Geocaching app =  asks the PIN.

Video: https://youtu.be/2yHtJBKCZDo
Settings: See picture. (login to the forum)
« Last Edit: July 24, 2020, 21:13:42 by 0709 »
Locus Pro 3.46.2
 

Offline jonny.blue

  • Apprentice of Locus
  • **
  • Posts: 135
  • Thanked: 10 times
    • View Profile
  • Device: Galaxy S10e
Re: Screen locked with PIN when navigation
« Reply #20 on: July 24, 2020, 21:28:54 »
Quote
I tested....

Looks pretty good ... I'll check it with the next outdoor trip.


Quote
Need other app than
No I don't use the Geocaching App ... I meant the Locus build in functions.
 

Offline jonny.blue

  • Apprentice of Locus
  • **
  • Posts: 135
  • Thanked: 10 times
    • View Profile
  • Device: Galaxy S10e
Re: Screen locked with PIN when navigation
« Reply #21 on: July 24, 2020, 21:48:38 »
Boaahh ... just did a couch test ... and:

My phone doesn't turn off when looking at the display. And at bike it's mounted in front of me ... maybe that caused the problem.🤔

I'll check it next time with 'smart stay - off' ...
« Last Edit: July 24, 2020, 21:54:17 by jonny.blue »
 

Offline jonny.blue

  • Apprentice of Locus
  • **
  • Posts: 135
  • Thanked: 10 times
    • View Profile
  • Device: Galaxy S10e
Re: Screen locked with PIN when navigation
« Reply #22 on: July 25, 2020, 20:59:38 »
And Ooops 🙄 ... today the field test shows me the real problem.
I have an app running only with car and bike ... and this prevents (since some time🤔) display to turn off.
That's it ... 😐
 

Offline plu-irin

  • More than Newbie
  • *
  • Posts: 11
    • View Profile
  • Device: Sony Xperia
Re: Screen locked with PIN when navigation
« Reply #23 on: October 03, 2020, 16:53:36 »
Hi,

I want to get back to this statement:

Quote
General rule: "The app that turns the display OFF must turn the display ON".

I find this behavior really annoying as I quite often change to other apps when locus is in navigation mode – think of taking photos, web-browsing, messengers, etc.

Since Android P there appears to be an alternative method for apps to lock the screen – https://www.xda-developers.com/android-p-action-lock-screen/.

So it seems the rule above is not general anymore and I really would like to see the new method implemented in Locus. What do you think – is it worth to make a feature proposal for this?

 

Offline Menion

  • Administrator
  • Professor of Locus
  • *****
  • Posts: 11872
  • Thanked: 438 times
    • View Profile
    • http://www.asamm.com
  • Device: Pixel 2
Re: Screen locked with PIN when navigation
« Reply #24 on: October 05, 2020, 08:20:52 »
Hi,
thanks for the tip. Seems it should help. The method anyway needs some work because it used the so-called AccessibilityService, I've never used before.

Anyway, idea added to the to-do list, I'll look at it later.
Ideas, wishes, problems
Advanced topics, public discussion, sharing of knowledges, testing beta versions: you're here!
Support email: locus.map@asamm.com