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.
Questions tagged [lockscreen]
906 questions
8
votes
0 answers
How to enable show on lock screen permission in Redmi 5 programatically
I want to open activity through push notification, but in mi devices it is not opening due to "Show on lock screen" permission of, how to enable this programmatically.

Siva Prasad
- 81
- 4
8
votes
2 answers
How to detect user is inactivity for some time with multiple activity in android
I know same question is here, already asked by some one and there is answer for that,but i have issue with that answer.
My requirement is,I want to identify if user is inactivity for 5 minute then user get auto logout from app and upload the the…

MJM
- 5,119
- 5
- 27
- 53
8
votes
4 answers
xcode - MPNowPlayingInfoCenter info is not displayed on iOS 8
I'm developing a music application, which should play music in the background.
I use the MPMoviePlayerController to play the music. My code to initiate the MPMoviePlayerController:
NSString* resourcePath = [[NSBundle mainBundle]…

FTFT1234
- 435
- 8
- 17
7
votes
1 answer
Display Custom Information on Lock Screen In Android
I want to custom LockScreen.
The default Lock screen is like this.
I want to modify this portion of the Lock Screen & Let all other things remain the same.
When user locks his phone, it should display custom information on that red box.
So far i…

Kartik Domadiya
- 29,868
- 19
- 93
- 104
7
votes
2 answers
HTML and CSS lock screen for mobile web application
I'm building a single page, offline html5 web application using jquery mobile, backbone, underscore and tbd templating engine.
I'd like to create a lockscreen that looks similar to the native iPhone lockscreen. Before I go reinvent the wheel has…

Jeremy Danyow
- 26,470
- 12
- 87
- 133
7
votes
3 answers
Media session has "no title" on AOD (Always on display)
In my app I displayed a notification with a foreground service, which is in charge of playing music. The notification is handled by…

YunhaoLIU
- 805
- 7
- 17
7
votes
1 answer
How to customize Android's LockScreen?
I know that there is already some apps can do this, such as:
WidgetLocker Lockscreen
Flyscreen
I want to know how to do this in my app? What classes I can use? Or what articles I should read? I don't want to change the Android's source code. …

Aloong
- 1,715
- 6
- 23
- 40
7
votes
4 answers
Disable iOS Safari lock screen scrubber for media
Safari on iOS puts a scrubber on its lock screen for simple HTMLAudioElements. For example:
const a = new Audio();
a.src = 'https://example.com/audio.m4a'
a.play();
JSFiddle: https://jsfiddle.net/0seckLfd/
The lock screen will allow me to choose…

Brad
- 159,648
- 54
- 349
- 530
7
votes
2 answers
How to make lock screen notification for media player
I am trying to get lock screen in the mobile I am able to get every thing work like notification and other things of my app but when I try to display the lock screen it is not working at all for android M.
private void initMediaSession() throws…

SAVVY
- 842
- 16
- 33
7
votes
1 answer
show notifications on lock screen
I set up GCM notifications successfully and can get the message from Server side success via GCM.
I also can show notification on notification bar system in android via these codes.
I try to show notification on lock screen by using these ways but…

Huy Tower
- 7,769
- 16
- 61
- 86
7
votes
0 answers
Changing lock screen background programmatically
I am trying to change the lock screen background image from my app but am unable to figure out how to do it. I succeeded in changing the home screen wallpaper using WallPaperManager, but could not find a source to do the same for the lock screen. I…

Siju
- 2,585
- 4
- 29
- 53
7
votes
2 answers
Android LockScreen
I am planning to create a Android Lock Screen of my own .
But i don't know where to start?
Should i just make an activity with UI layout that interacts touches, and when the user swipes I should call the androd.intent.HOME ?
And how can i override…

Mihir Solanki
- 308
- 2
- 11
7
votes
2 answers
How to play audio in background with firefox os?
In my manifest file I've add the audio-channel-content in permissions:
"permissions": {
"audio-channel-content":{"description":"Use the audio channel for the music player"}
}
In my index.html I've got an audio tag like:
7
votes
1 answer
How to start new activity from lockscreen?
I am creating simple widget for contact management, which allows user to dial and send sms to desired contact.
It works fine as "normal widget", but when I add it as lockscreen widget on Android 4.2, sms app or dial app does not start.
Well in fact…

Filip Zymek
- 2,626
- 4
- 22
- 31
6
votes
2 answers
"Lock Screen" with custom security password
I have looked through lots of similar questions, and I have found out that it is not possible to make a Lock Screen as the standard android lockers. The thing that is possible is to make an app that disables the LockScreen and uses a different…

Magakahn
- 498
- 9
- 31