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
6
votes
2 answers

Curious to know the trick for live wallpapers on lock screen on iPhone

This application and this application says it displays live wallpapers on lock screen. We have similar requirement. From reviews came to know that it is playing music in background with silent volume, but it is not relevant to setting wallpapers.…
Janak Nirmal
  • 22,706
  • 18
  • 63
  • 99
6
votes
0 answers

Full screen intent activity is not displayed on lookscreen when device is locked with pin/password

I want to show a short questionnaire on the Android look screen, as soon as the user locks their device. For this I detect a screen lock event and show an activity with a full screen intent notification. val fullScreenIntent = Intent(context,…
6
votes
2 answers

How to disable entirely the GNOME lock screen?

I've already followed the method to deactivate automatic screen lock as explained in this article. However, when the screen turns off and I shake the mouse or press a key to wake it up, I'm still greeted with the lock screen (pictured below). How…
Pierre
  • 402
  • 3
  • 13
6
votes
0 answers

Lock screen triggers application lifecycle events of different activity

When I receive a Push message in a service that extends FirebaseMessagingService and I start an Activity in this class, then the following lifecycle events / methods get executed: Push Message starts VideoRingingActivity Start VideoRingingActivity…
Jim Clermonts
  • 1,694
  • 8
  • 39
  • 94
6
votes
1 answer

Prevent xautolock/i3lock when watching fullscreen video

I use the i3 window manager and have set $Locker i3lock --color=000000 && sleep 1 exec --no-startup-id xautolock -time 5 -locker "$Locker" in its config file, so that it locks after 5 minutes. The problem is that the 5 minutes timer counts down…
Enlico
  • 23,259
  • 6
  • 48
  • 102
6
votes
1 answer

Invoking the lock screen using python

How can I bring up the lock screen from within a python app? I would like the application to do that for me instead of pressing the Ctrl-Alt-L separately.
ArekBulski
  • 4,520
  • 4
  • 39
  • 61
6
votes
2 answers

Dynamically getting android lock screen package name

I need to get package name of android lock screen activity. I have googled found nothing except https://stackoverflow.com/a/16881064/2803557 which doesn't seem to work. Is there any way to get lock screen package name
Skyyy
  • 1,539
  • 2
  • 23
  • 60
6
votes
2 answers

Music control at lock screen iPhone

I am developing music app but for lock screen control i am not able to assign time duration and elapsed time here is my code let commandCenter = MPRemoteCommandCenter.shared() commandCenter.previousTrackCommand.isEnabled = true; …
Rakshit Korat
  • 1,159
  • 10
  • 23
6
votes
1 answer

Android espresso testing lock and unlock screen

I am trying to write an automated test to an android application that appears when you unlock your screen using the espresso framework. I would like to add a test case to ensure that an activity appears when the screen is unlocked. How can I…
6
votes
1 answer

Start an activity when screen on

I Have designed a lockscreen for adnroid. i'm trying to use a broadcast receiver for start the lockscreen activity when user pushes power button to unlock. public class Receiver extends BroadcastReceiver { @Override public void onReceive(Context…
Saeed
  • 97
  • 9
6
votes
2 answers

Lock Screen iPod Controls Not Working With Spotify Music Player

I added the Spotify player to my app which also plays music using the MPMusicPlayerController. When music is playing from Spotify and the screen is locked, the remote control events are not received for play/pause and FFW/RWD when the user presses…
6
votes
3 answers

Windows Phone 8 - Generating Lockscreen Image in the Background

I'm trying to create a Windows Phone 8 app (update of my currently published "The Quote") that uses the new Windows Phone 8 Live Lockscreen API. I basically want to choose randomly a image background from the app package and place a textblock on it…
Martin Zikmund
  • 38,440
  • 7
  • 70
  • 91
6
votes
3 answers

Start external activity while phone is locked

I want to be able to start an Activity that is not part of my app while the device is password locked. How could I do this, if it's even possible? Note: I am well aware of putting…
Reed
  • 14,703
  • 8
  • 66
  • 110
6
votes
2 answers

Android ICS native lockscreen

I've been looking for the past 2 days on SW, google and so on. I'm looking for a way to implement an activity that comes with the native Android ICS lockscreen as the one shown in the screens below. Those screens come from Player Pro but I noticed…
Mario Lenci
  • 10,422
  • 5
  • 39
  • 50
5
votes
1 answer

getWindow() method not able to use

I have created a lockscreen for ics which will replace the default lockscreen. In my code I want to use getWindow() method to set the "android:hardwareAccelerated" true for increasing the efficiency. I don't have any activity in the LockScreen.java.…
Kamalone
  • 4,045
  • 5
  • 40
  • 64