Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Imagine that you want to do something, while the display in is action (not in sleep mode) and at the same time, you don't want to do anything else. This situation is like children lock, in which, all buttons fail to react, temporarily, to disable any kind of interaction by a child.

Is there a way to achieve this in Android? Do we have something like lock screen?

share|improve this question
up vote 1 down vote accepted

If your talking within your app, this is impossible as you cannot override the home button even if it is soft or hard button. So a full lock is always impossible.

This is to stop rogue app's taking full control of the phone.

share|improve this answer
Actually the built-in camera app can do this. If you press the power button while in the camera app it locks all other buttons and the touch-screen, while still showing the screen display. However, I have no idea if 3rd party apps can do this or if it's only available to system apps to prevent rogue apps misusing the feature. – GAThrawn Oct 3 '11 at 15:47
What device is this? Pressing power on the N1 whilst in the camera app - does the usual - locks the phone and turns the screen black. – Blundell Oct 3 '11 at 16:15
Galaxy S with official Gingerbread, only found it by accident a couple of weeks ago when I was taking a few pictures in a row and then suddenly none of the buttons worked. Hadn't looked into whether it was stick or a Samsung TouchWiz change, but either way it shows this is possible for a system app. – GAThrawn Oct 3 '11 at 16:31
Yeah well it makes sense for system apps, as the 'lock screen' itself is a system app :-) – Blundell Oct 3 '11 at 16:38

There are several apps on Google Play that can do that. Here are two, that do what you want:

  1. TouchBlocker
  2. TouchLocker
share|improve this answer
I would be interested to know how these apps are actually achieving this if you can help. – Pradeep Mittal Dec 30 '14 at 11:57
The 2nd one seems dead – user2813274 Feb 14 at 14:01

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.