Questions tagged [lockscreen]

A lock screen is a user interface element used by various operating systems. They regulate immediate access to a device by requiring that the user perform a certain action in order to receive access: such as entering a password, using a certain button combination, or by performing a certain gesture using a device's touchscreen.

906 questions
18
votes
1 answer

Programmatically changing the iOS lock-screen

I'm building an app which would have to have the ability to show my own views on the iPhone lock screen. I've seen lots of apps which let you customize the lockscreen and so forth and these were App Store apps so i'm guessing it has to possible. I…
nextbighit
  • 199
  • 1
  • 1
  • 4
18
votes
9 answers

Set lockscreen to "None" programmatically?

I have the requirement to disable the lock screen and set the lock screen type to "None". My device is rooted (can run with SU permission) + can run as a system application with system permissions (under /system/app). I have tried a few things to no…
Ranhiru Jude Cooray
  • 19,542
  • 20
  • 83
  • 128
16
votes
5 answers

Creating custom LockScreen in android

I am developing custom lockscreen app.its working fine in below 4.0 but above 4.0,when we press home button the app stops.is there any solution for this no apps will stop when pressing home button untill unlocking the screen.(like go locker app)
kk1
  • 191
  • 1
  • 1
  • 8
15
votes
2 answers

How to programmatically lock screen in Android?

Possible Duplicate: Lock the android device programatically How can I programmatically lock the screen in Android?
Mecid
  • 4,491
  • 6
  • 30
  • 30
14
votes
5 answers

How can i set up screen lock with a password programmatically?

Is there any one that can help me with a code to set a password to lock the screen ? thx
emna
  • 423
  • 2
  • 6
  • 18
14
votes
1 answer

What's the difference between isDeviceLocked and isKeyguardSecure in android's KeyguardManager?

Below is excerpted from http://developer.android.com/reference/android/app/KeyguardManager.html public boolean isDeviceLocked () Returns whether the device is currently locked and requires a PIN, pattern or password to unlock. Returns true if…
xmllmx
  • 39,765
  • 26
  • 162
  • 323
14
votes
5 answers

Android Galaxy S4 -- Activity that is visible over lock screen

A few years ago, I wrote an alarm app that worked on Android 2, and I'm now trying to upgrade it to work on Android 4. Specifically, on the Samsung Galaxy S4. On Android 2, if the phone was sleeping, it would wake the phone up and display a "Snooze…
13
votes
3 answers

Full screen transparent activity (no title & status bar) doesn't work.... why?

I'm making a custom lock screen. The lock screen is an activity which I launch by the time the screen goes off. However, I can't make the activity be both transparent & fullscreen. The Status bar keeps showing. Here's what I do in the…
dor506
  • 5,246
  • 9
  • 44
  • 79
13
votes
1 answer

Is it possible to change the iOS 8 lock screen audio label when playing from web?

I am building an HTML5 app that plays audio. However, when playing audio on iOS8 iPad/iPhone in lock screen mode, the URL of the audio is showing (see pic below). It would be great if it was possible to change that text to something more describing,…
hampusohlsson
  • 10,109
  • 5
  • 33
  • 50
13
votes
1 answer

Lockscreen is displayed between activities

I work on a kiosk app which can launch other android apps. It runs on top of the lockscreen. The issue I am seeing is that the lockscreen is displayed briefly between activities. We must keep the tablet locked so unlocking is not an option. I have…
Randy
  • 4,351
  • 2
  • 25
  • 46
12
votes
4 answers

Enable "Show on Lock Screen " permission on Redmi device

I have an android app which is voip app. When some one call we show a caller screen. This works fine but on some redmi device(Note 7 pro) the caller screen doesn't come if device is locked ie it only play sound. On debugging I found I need to enable…
TheGraduateGuy
  • 1,450
  • 1
  • 13
  • 35
12
votes
1 answer

A way to get catch double tap in lock screen android?

Is there a way to catch some thing like double_tap event (with a BroadcastReceiver of some kind, anything of similar sort or something else)? I have a service to show the View by adding to WindowManager ( FLAG = TYPE_SYSTEM_ERROR) . It displays ok…
kemdo
  • 1,429
  • 3
  • 15
  • 29
12
votes
1 answer

Disabled Keyguard Lock re-enables itself after clicking on a notification

In my application I disable the keyguard lock (i.e.Remove Lockscreen) using the code below and it works fine until I click on any notification in the notification bar. If I click on a notification the lock screen is automatically re-enabled. Any…
11
votes
5 answers

How to disable unlocking screen programmatically

I need to lock the Android phone when the user leaves a defined WiFi area I need to prevent the user from unlocking the phone when he/she is out side the defined WiFi area I need to unlock the phone when user is back to the WiFi area I guess list…
Mithun Sreedharan
  • 49,883
  • 70
  • 181
  • 236
11
votes
3 answers

How can I lock my computer with AutoHotkey?

I'm trying to bind "Esc" key to lock my computer with AutoHotkey. Manually pressing Winkey + l will lock my computer, but it doesn't work in my AutoHotkey script. esc:: MsgBox Going to lock Send, #l Return I have tried multiple other…
n0tis
  • 750
  • 1
  • 6
  • 27
1
2
3
60 61