Locus Map - forum

Support => Wishlist => Implemented => Topic started by: florisq on July 08, 2011, 11:31:29

Title: Lock screeninput and hardware buttons
Post by: florisq on July 08, 2011, 11:31:29
Hi, I love Locus and I hope it can get one more feature, the ability to lock the screen and hardware buttons, but with the screen on. The unlock procedure can be the same as the one for the default lock screen, so swipe from left to right or some other pattern, or maybe assign one hardware button for lock and unlock (after holding it x seconds, configurable).
When hiking and motor cycling I look at the screen often to check if I'm still on route etc, but the rest of the time I store my phone in one of my pockets. If I don't lock the screen and hardware buttons there is a risk the phone starts making calls or other things, and the only way to lock it currently ootb is turning off the screen. After some searching I found the app 'Screen Tools 2' which does the trick for me now (it locks the screen and most hardware buttons, to unlock I need to press the back button), but if Locus provides its own locking mechanism it would be even better.

To summarize, I would like functionality to lock the screen (input) and hardware buttons, enabling the functionality with pressing a button in the app or a hardware button, and unlocking / stopping the functionality by a long press on the software or hardware button, or a swipe or other pattern comparable with the current Android lockscreen unlock mechanisms.

Thanks!
Title: Re: Lock screeninput and hardware buttons
Post by: Menion on July 08, 2011, 11:56:03
Hi,
  hey this is really weird request. When I see after day trip on battery consumption, then almost 50% is display, rest is GPS and only a small part is Locus and then rest. So why should you want to keep your screen ON when you do not use your phone? Second thing is that 'Screen Tools 2' program have to use any hack to do this because I'm sure, there is no simple way how to make 'inactive all buttons and screen' with some method
Title: Re: Lock screeninput and hardware buttons
Post by: florisq on July 08, 2011, 17:57:01
I did buy a new battery with twice the normal juice, so I can keep my screen on all day. When I walk I use GPS routes, so I need to look at the route every few minutes; normal procedure then is to push power, unlock phone, and check where I am. As this always takes some time and is bad for my power button I just keep the screen on all the time, currently using screen tool 2; screen tools is started as seperate app that only shows a small sign at the bottom of the screen and is transparent for the rest, so I can see Locus.
Title: Re: Lock screeninput and hardware buttons
Post by: r2d2 on July 10, 2011, 16:19:57
Hi Menion,

I also would like to have such an option. I was on a 2 week tour over Austria ans Slovenia and used Locus the whole time on my bicycle :-)
That was the very best way to cycle exact on the right track (see attached picture). To let the screen on at any time, of course I need electric power. That was easy with the e-werk (http://www.bumm.de/produkte/e-werk/e-werk.html (http://www.bumm.de/produkte/e-werk/e-werk.html)) - a genious part!
The last day of our tour we had rain, so the rain drops causes chaos on the phone by tabbing on buttons, lines, other apps..... The Phone I use is a Motorola Defy, so rain is no problem (it's water proof  :D ).

To add a feature to protect the screen makes sense for me. Please think about this option. Thanks a lot for the Locus-app - in my opinion the best gps-app!

Cheers,

René
Title: Re: Re: Lock screeninput and hardware buttons
Post by: femto on July 10, 2011, 16:51:23
Quote from: "menion"e... I'm sure, there is no simple way how to make 'inactive all buttons and screen' with some method

Hi menion,

that's not correct! ;)

NoLED for example does exactly that: disabling the touch screen while the display is still enabled. And you can decide which hardware button leaves this mode.
Title: Re: Lock screeninput and hardware buttons
Post by: Menion on July 11, 2011, 13:31:01
pretty nice r2d2 :) I had to send to public :)) (by twitter) ... OK, I'll look at it ...

EDIT: screen lock added - check in next version and let me know if this solution is OK
Title: Re: Lock screeninput and hardware buttons
Post by: florisq on July 13, 2011, 22:07:27
Cool Menion, thnx! (And try it, its really nice to always have the screen on during hiking :-))
EDIT: Just checked it in the latest release, looks great! I'll check if the unlock mechanism isn't triggered when I store the phone for a few minutes.
Title: Re: Lock screeninput and hardware buttons
Post by: Menion on July 14, 2011, 09:22:45
fine, test and let me know ...
Title: Re: Lock screeninput and hardware buttons
Post by: florisq on July 21, 2011, 10:30:26
Hi Menion, the current unlock mechanism is also triggered when the phone is stored, is it possible to change the unlock mechanism? thanks.
Title: Re: Lock screeninput and hardware buttons
Post by: Menion on July 21, 2011, 10:49:40
really? how's this possible? It need a long click to unlock?

Any suggestion?
Title: Re: Lock screeninput and hardware buttons
Post by: florisq on July 21, 2011, 15:42:01
Maybe its possible to use a slide to unlock, or assign unlock to one of the hardware buttons (fi the back button).
Title: Re: Lock screeninput and hardware buttons
Post by: florisq on August 12, 2011, 11:52:00
Hi Menion, is it possible to change the unlock mechanism?
Title: Re: Lock screeninput and hardware buttons
Post by: Menion on August 12, 2011, 14:28:37
everything is possible ;) ... I'll do something with this
Title: Re: Lock screeninput and hardware buttons
Post by: florisq on August 23, 2011, 08:12:08
Looks great (even with animation :-)), thanks!!
Title: Re: Lock screeninput and hardware buttons
Post by: florisq on September 01, 2011, 18:09:56
Can you also lock the home and other buttons?
Title: Re: Lock screeninput and hardware buttons
Post by: Menion on September 03, 2011, 07:40:38
I looked on it, and seems that I already lock everything that is possible to lock :). So sorry, but other buttons aren't able to lock. Which other buttons aren't locked for you? On SGS2 it's only home button, but this have to be pressed hard, so it's no a problem ..
Title: Re: Lock screeninput and hardware buttons
Post by: florisq on September 04, 2011, 17:39:51
It is the home button, but on the HTC Desire (Z) it is a soft button, so it is touched very easely (//http://1.bp.blogspot.com/_ssT4bUw3qBQ/TNuT4iG52oI/AAAAAAAABCI/N-3yQwfSvNk/s1600/HTC-Desire-Z-buttons.jpg).
Title: Re: Lock screeninput and hardware buttons
Post by: Menion on September 05, 2011, 09:32:44
Hmm I'm searching for some solution, but as you can read here at bottom (for example) http://stackoverflow.com/questions/2162 ... ome-button (http://stackoverflow.com/questions/2162182/android-is-it-possible-to-disable-the-click-of-home-button) , there is no simple solution how to disable home button. Looks like you have to live with this