Is there someway to quickly turn on / off the lock screen without delving into the settings?

Most of the time I want the lock screen, but when using the device to play music / the radio I'd like quick access to the full app without needing to unlock my screen each time.

Ideally when something is detected in the headphone jack I'd like the ability for the lock screen to be disabled first time the screen is unlocked, or if already unlocked when headphone jack is used simply disable the lock screen.

Or perhaps there's a widget I can add to my home screen to quickly turn on / off the lock screen manually?

Any ideas?

1 Answer 1


Turning OFF your screen via widget is possible (and several widgets are available for that). But turning ON the screen cannot work that way, as to access the widget, it must already be turned on. Of course you could use a lockscreen permitting widgets (like C Locker Pro).

An alternative is using , and defining a corresponding profile:

  • Condition: Headphone plugged
  • Task: Disable keyguard

This is the most convenient way, as you only had to turn on/off the screen via the power button. And apart from that, you get yourself a powerful companion for your device – just check the tasker tag-wiki and other questions using the tasker tag :)

  • Tasker looks like the way to go. Thanks for that as I was unaware of Tasker before!
    – Gavin
    Jul 16, 2014 at 0:57
  • You're welcome – and good choice, as Tasker is the answer one can give to every second question :) There's a free 7-day trial on their homepage if you want to check first. Enjoy!
    – Izzy
    Jul 16, 2014 at 6:43
  • From playing - seems Tasker can't disable the keyguard, only show the settings screen with keyguard options on?
    – Gavin
    Jul 18, 2014 at 3:29
  • Might that depend on Android version? Works fine for me (on my 2.3 & 4.0 devices; I've got that in my "nightstand" task: when placed in the docking station, it shouldn't show the lock screen but my nightstand, so it needs to "disable keyguard"). As Google/AOSP tends to remove features like this (just think of "apps no longer allowed to trigger airplane mode"), I could imagine that being the cause. You could try whether the Secure Settings Plugin helps here (as it might be device-dependent instead).
    – Izzy
    Jul 18, 2014 at 6:50

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .