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.

lockscreen
Filter by
Sorted by
Tagged with
0 votes
0 answers
28 views

Android 12+: Microphone stops in WebRTC app within a WebView when screen is locked or user switches apps

I'm developing a WebRTC voice calling app for Android using PeerJS, where all the PeerJS code runs within a WebView inside my CallScreen activity. The calling functionality works flawlessly. However, ...
0 votes
0 answers
146 views

Lock screen doesn't turn on by full screen intent filter on Android 14

I've set configs due to documentation. The lock screen is turned on in Api<34 and emulator API 34 but not in real device Android 34. Here's the code: fun turnOnScreenLock(activity: ...
2 votes
1 answer
338 views

Android switch user based on lockscreen password [closed]

Is there any way to switch between users using lockscreen password? I see MIUI has ability to switch between users using lockscreen password.
0 votes
1 answer
98 views

How can I dynamically set the dimensions of a html lock screen to the dimensions of a rotating iPad?

So I'm making a lock screen with HTML, and I'd like to make the text centered on the iPad in portrait and landscape. The only way I can center it either way is by using width: 1024px; height: 768px; ...
0 votes
0 answers
31 views

Long button tap on LiveActivity

There is a LiveActivity on the LockScreen, and there is a button on it. It is necessary that the user can perform a long tap on the button, the circle around the button will fill and the application ...
0 votes
0 answers
24 views

Check if lock screen instantly with power button enabled/disabled

By going to Settings -> Security -> Screen Lock -> Power button instantly locks, we can enable or disable this feature. However, is there a way to check, by code, if this is enabled or ...
0 votes
0 answers
38 views

After setting 6 digit password lock screen shows only 4 digit to enter the password using DevicePolicyManager Android

I am using lenovo tablet and in my application I have added below code. Also the application is set as Device Admin and Device Owner profile. After execution of this code the let suppose if the ...
3 votes
2 answers
18k views

How to set full screen album art in lock screen?

I am making simple app like any music app and I want album art on lock screen of phone like in Play Music application of google when song is playing and your screen is locked and you are going to open ...
0 votes
0 answers
14 views

How to Find resources IDs

This Is My code.Here You Can See There Is Something "Android:id="resourceid:0×7f0a0396" Now My Question Is How Can I Find The File This resource is targeting. Because I Am Reverse ...
0 votes
1 answer
162 views

Why doesn't full Screen Intent doesn't display on lock screen

I know this question is asked many times. I've already tried every answer but I couldn't find what's wrong with my code. I'm trying to show a notification when I receive an incoming call. I start a ...
0 votes
0 answers
257 views

Show Presentation screen on external display while phone is locked

I am writing code for a Cat S22 Flip that would show notifications on the external screen. I implemented this as a service that starts after RECEIVE_BOOT_COMPLETED. The service presents a Presentation ...
2 votes
0 answers
78 views

How to stop the screen from going to sleep

How to stop the screen from going to sleep in the iPad app on Mac (Designed for iPad)? These solutions don't help "UIApplication.shared.isIdleTimerDisabled=true", "NSApplication.shared....
31 votes
1 answer
84k views

Creating an Android Lock Screen App.

How to create a lock-screen app that acts as a lock for android mobile. I did find one, But it was poorly constructed code wise and if I pressed the physical home key, it unlocked, making the ...
0 votes
0 answers
36 views

android capture intruder video from lockscreen

I am working on a project named as Anti-Theft android app. There are two tasks one is to capture intruder picture and the second is to capture intruder video for 5 to 10 seconds (on 3 wrong password ...
4 votes
3 answers
1k views

how to configure gnome to use only one specific keyboard layout on lock screen?

for lock screen, gnome uses keyboard layout that was last used before locking the screen. Is there a possibility to configure gnome in such a way that it will always switch keyboard layout to some ...
0 votes
0 answers
121 views

Lock Windows Slideshow for the Lock Screen

I want to disable the abbility to change the slideshow folder for the lockscreen. I tried to disable it in the group policy editor but now i only cant switch between slideshow or image anymore. The ...
0 votes
1 answer
1k views

How to set Windows 10 and above Lock Screen Wallpaper from WPF?

I want to set Lock Screen Wallpaper of Windows 10 and above from WPF application. I have searched and found the following links are useful. https://stackoverflow.com/a/51785913/5523095 https://...
0 votes
0 answers
67 views

SwiftUI AVAudioPlayer Lock Screen Control Not Resuming Slideshow on Unlock

Problem Details: I am developing an iOS app using SwiftUI that includes audio playback using AVAudioPlayer. In the app, I have a slideshow feature that should pause when the app goes into the ...
0 votes
0 answers
21 views

android, how to create a custom UI to show on top of the lockscreen

In android app, currently when received the notification, after call the pm.notify(...) a notification will be shown in the drawer. when the device is on lockscreen and receives notification, it would ...
3 votes
0 answers
397 views

Is it possible to use react-native-track-player together with react-native-video to show title and thumbnail on lockscreen?

We use react-native-video for a video application, the problem is when you lock screen during watching video, you get empty grey areas, we want to see video title and thumbnail there, I have tried ...
0 votes
0 answers
18 views

Alarm App not able to start Activity when Alarm fires and app is in background in SDK 33 and screen is locked

I have an android alarm app that was working nice up to SDK 32. When I set the targetSdkVersion to 33 now when the alarm fires, and the app is in the background, system is locked, the Alarm sound is ...
0 votes
0 answers
99 views

Need to detect if lock screen is enabled from windows command line

I would like to create a quick batch script to be executed on all windows 10/11 computer in my office, just for a quick system check. In our rules lock screen is mandatory but sometimes someone decide ...
4 votes
1 answer
574 views

Android 11 FCM problem on locked screen (Kotlin)

I have an application. I extended the FirebaseMessagingServie. I added it into the manifest: <service android:name=".services.AutomentoFirebaseMessagingService" ...
0 votes
0 answers
49 views

Lockscreen pattern implementation in QML

I'm looking to implement a lockscreen pattern that can be used to uncover additional settings. For this, I have generated a 3x3 grid of RoundButtons using a Repeater as shown below: Grid { anchors....
2 votes
1 answer
298 views

Is it possible to show a specific page of the Flutter application when the phone screen is locked due to a specific event?

I implemented a program that when a new call is made, a function is called and a special page of the application is opened. When the screen is locked, the problem I have is that the Android system ...
0 votes
0 answers
38 views

Wear OS Lock Screen On-Off transition

I'm not a "code friendly" person, my knowledge in programming is very minimum. I'm using non/low-code software for designs and animation. Currently I'm working on few watch faces for my ...
1 vote
1 answer
3k views

Is there a way to keep a script running in python while the screen is locked?

I'm trying to run a script in pyton in my company using the pyautogui lib So I'd like to: Keep Running the script while the screen is locked, because we want to run the script and lock the screen and ...
0 votes
0 answers
25 views

How can my program distinguish between these two lock screen states?

I am working on a background accessibility service and my program needs to respond differently in the following two scenarios. A is after the user wakes up the screen using the power button, when the ...
0 votes
1 answer
414 views

Is there any way to implement a custom lock screen using flutter?

I'm implementing an android app that can change user's lock screen(not lock screen in app), for example, an user can change the position of clock in lock screen from top to bottom or else. Moreover, I ...
0 votes
0 answers
26 views

How to get lock screen wrong passcode entered?

I am making a security app. I want to notify my users when they entered to lock screen wrong passcode. I have searched on internet and stackoverflow.com but all links are dead. And My example app is ...
13 votes
3 answers
7k views

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 ...
0 votes
0 answers
328 views

How to get media controls for Web Audio API on iOS and Android mobile lock screens?

I'm developing a web app that plays many short samples via the Web Audio API. I'm trying to implement media controls on the mobile lock screens (both iOS and Android) using the Media Session API. Here'...
13 votes
4 answers
2k views

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 ...
1 vote
1 answer
210 views

How can Next lock screen (Microsoft) bypass the system lock screen with fingerprint?

I'm currently developing a lock screen application. I have used Next lock screen and realised that it can bypass the system lock screen if fingerprint is enabled. I have done several reseach to find ...
0 votes
0 answers
47 views

Unlocking an Android phone

I forgot the password of my android phone (I have a Samsung A51) and I am trying to reset the lock password. It is important for me not to reset because I have important information that I want to ...
8 votes
1 answer
7k views

How To Show Activity On Lock Screen When Password Is Set In Android

I am trying to show an activity when the screen is locked. I am running a service in the background, when an event occurs, I want to open an activity even if the app is locked(Similar to alarm app, ...
0 votes
2 answers
349 views

How can I lock Device not just the App but the whole device in flutter?

I am working on a project which requires a device lock Button that enables users from the app to lock the entire device. Is there a way, package or any Platform plugin that I can use to implement that?...
0 votes
1 answer
123 views

Set random lockscreen image from console app

I want to program a cute simple console app to set a random image from my image-folder as lock screen image. I just want to double click the program and, it searches the image folder, selects a random ...
0 votes
0 answers
38 views

ios 16 lockscreen playbutton is disabled but working fine with ios15 (iphone11)

I have used avplayer and avplayerViewController to play a video from url. I can control lockscreen play/pause button through avaudiosession as below-- [[AVAudioSession sharedInstance] setCategory:...
3 votes
1 answer
623 views

WebRTC audio is not working in lock screen using CallKit

I have tried many solutions from here but no one is working. WebRTC is working fine and I get connected status when accepting the call while the device is locked and after the unlock the audio opens ...
22 votes
9 answers
50k views

Preventing status bar expansion

Is there anyway to prevent users from sliding the status bar (expand) or collapsing back? I'm trying out a lockscreen replacement and seems like it's a must-have feature. Is there any possible way ...
1 vote
1 answer
640 views

Return to app from lock screen without unlocking with code

On my Android phone, if I am using the Maps app to navigate, and then lock the phone with the lock button, I am able to unlock again and continue navigating without really unlocking my phone (that is, ...
16 votes
5 answers
24k views

Creating custom LockScreen in android [closed]

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 ...
-3 votes
1 answer
80 views

How to customize Notification in Lock screen swift

I see the Telegram application uses the first letter of the contact name to replace the Logo of the app. How can I do that? I try to search but not found
0 votes
1 answer
392 views

Text gets cut off in accessoryCircular lock screen widget

I am working on an accessoryCircular (lock screen) widget that shows 2 values; a formatted $$ value and a 3-letter word. The $$ value can be anything (e.g., $0 or $200K or 400M or 500B). I am ...
0 votes
0 answers
384 views

Cannot set lockscreen in Windows 10

I'm attempting to set a lockscreen image in Windows 10 using a Powershell script. This appears to work fine on my Windows 10 Business PC, but when I attempt to use it on a Windows 10 Pro device the ...
1 vote
1 answer
612 views

Flutter Alarm Application Permissions

I am developing a flutter alarm application and I ran into a problem. Probably it is easy to solve, but as I do not know how I thought you might know. I attached a file showing the other permissions ...
4 votes
0 answers
1k views

fetching location in background while the device is locked in android

We are creating a solution for the fleet industry. The app required the device location to be fetched and send all the time, even if the device is locked. we tried the following approaches we have ...
93 votes
4 answers
29k views

iOS KeyChain not retrieving values from background

I am currently storing the username (email) and a salted hash of the email and password in the iOS KeyChain. I'm using the ARC'ified version found here. KeychainItemWrapper *wrapper = [[...
0 votes
1 answer
2k views

Disable Keyguard and show activity when the system boots

Consider: KeyguardManager keyguardManager = (KeyguardManager)getSystemService(Activity.KEYGUARD_SERVICE); KeyguardLock lock = keyguardManager.newKeyguardLock(KEYGUARD_SERVICE); lock.disableKeyguard(); ...

1
2 3 4 5
19