A screen lock is a software feature that keeps users from accidentally sending input to a device. For iPhone, there's "Slide to Lock" and for Android there are many variations. The point of a screen lock is for the device to be sure that the user is consciously interacting with the device as opposed to, for example, pocket-dialing. Similar to a key guard. They can also provide an extra layer of security by asking for a pin or a gesture.
Questions tagged [screen-lock]
136 questions
2
votes
1 answer
How to stop unlock screen in AVD from appearing?
When I run a program from Eclipse, the emulator appears with a padlock on the screen, which I then have to click on (twice, in two locations) before the application is allowed to run.
Is there any way to bypass this so that the application runs…

paxdiablo
- 854,327
- 234
- 1,573
- 1,953
2
votes
2 answers
How to set a button to open an application on windows login screen
This is my first question.
I would like to know if there is a way to set a button on the login screen to open a custom app.
I have already searched by Microsoft documentation then found about credential provider but I don't want to create an IU…

Bob White
- 733
- 5
- 20
2
votes
1 answer
How to prevent screen power management from activating?
I am using Awesome WM, and I use xscreensaver to lock the screen if I'm away for a certain amount of time. I also enabled screen power management in the xscreensaver configuration to turn off the monitor after some time. I want to implement a…

petersohn
- 11,292
- 13
- 61
- 98
2
votes
0 answers
Upon screen lock video is paused if it doesn't have any volume
In my app, audio and video play even if the screen is locked, with controls of play and pause displayed on the locked screen. However, I am surprised to observe that when the video doesn't have any volume and I lock the phone, then the video also…

A_G
- 2,260
- 3
- 23
- 56
2
votes
0 answers
Change screen lock controls in runtime
My app is divided into two modules. For first module, even after screen lock the audio should play and the locked screen should show details related to media content. However, in the second module no special requirement is there. The audio should be…

A_G
- 2,260
- 3
- 23
- 56
2
votes
1 answer
unlock the screen lock using UiScroller
I am trying to unlock the screen lock by swiping forward and for that I have used UiScroller.
Methiod1:
UiScrollable scrollUnlock = new UiScrollable(new…

user3091064
- 41
- 2
2
votes
3 answers
iOS how to programmatically read device's screen auto-lock timeout time?
I'm creating a method to send debug info to the support team for one of my apps. I have method calls like these:
NSString* appVersion = [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleShortVersionString"];
NSString* build = [[NSBundle…

Alex Stone
- 46,408
- 55
- 231
- 407
2
votes
0 answers
Android remove SCREEN LOCK programmatically
I am able to set SCREEN LOCK password programmatically using Device Administrator in Android, but is there any way to remove this SCREEN LOCK or even to change to "SLIDE" option? Below is my working code…

user45678
- 1,504
- 6
- 29
- 58
2
votes
2 answers
Service still running when the screen is locked
I have a connection screen where I have a search button, after I clicked it a list of discoverable devices are posted, I click on the desired device to make pair and connection with, the connection is established and when I lock the screen the…

Corina Racasan
- 53
- 1
- 13
2
votes
0 answers
Is it possible to detect if the user has their screen set to auto lock in iOS 8?
From my research, I know this is not possible in iOS 7 and down.
But did Apple open this up in iOS 8?

abc123
- 8,043
- 7
- 49
- 80
2
votes
2 answers
how to programmatically screen lock set from SWIPE to NONE for device specific
I would like to set screen lock from SWIPE to NONE for device specific.
Once i set and after it also show in setting also.

Palak
- 2,165
- 2
- 21
- 31
2
votes
0 answers
iOS 7 - Play sound at specific time when iPhone is locked
I am working on an app with alarm clock functionality, where I currently have an interface to set the alarm time and the timer can be started - this works flawlessly.
What I want to do - I know other apps do this (e.g. Alarm Clock HD) - is to let…

Jakob Halskov
- 428
- 6
- 22
2
votes
0 answers
animation effects are not working on locked screen
I am trying to give simple animation effect to dialog. Here I set animation theme to dialog for how it enters and how it exits. This code works properly on unlocked device but on locked device when that dialog comes and I clicked on cancel button,…

manishak
- 21
- 4
2
votes
1 answer
Android - Last screen lock time
Is there a way to find the last time or the time spent since the user locked/unlocked the screen? Is there any log which stores this information?
I am trying to track user (in)activity and looking for the simplest possible way to do it. I know it…

SANDeveloper
- 560
- 2
- 7
- 22
2
votes
1 answer
Could not re-enable the KeyGaurd once disabled it
I have write below code to toggle the KeyGaurd of my android phone using a toggle button. but I am facing an strange behavior.
it disables the keygaurd successfully but. not re-enabling.
btnToggleLock.setOnClickListener(new OnClickListener() {
…

Qadir Hussain
- 8,721
- 13
- 89
- 124