Questions tagged [lockscreen]

0

votes
0

answer
5

Views

AVPlayer Lock Screen updates stop working, only when another AVPlayer instance is played in a subsequent view controller

I have an appliction with View Controllers A and B. View controller A is the presenter of view controller B (pushes it using a navigation controller). Both A and B have a seperate AVPlayer inside them (A's plays audio. B's plays video. Both local files from docs directory). VC A configure...
FranticRock
1

votes
1

answer
259

Views

Develop lock screen with password in android [closed]

I want to develop an android application to lock the screen with time password. How can i start? App idea: The app check the time first and set the time password. Example: If the time now is 04:18 then the password should be 0418 and so on. So.. i don't know how can i start, i deeply searched on th...
Amr Osama
1

votes
2

answer
2.5k

Views

Keep notification on lock screen

How can I keep the notifications from my app on the lockscreen, until the user has interacted with it? What I mean is, even if the user unlocks the phone and than locks it again, I would like to have the notification show up again and again on their lockscreen until they finally taken an action wit...
Balázs Vincze
1

votes
1

answer
788

Views

Xamarin.Forms: How to implement lock screen audio player controls

I'm building a Xamarin.Forms app that's essentially an audio player, and I need to implement lock screen controls (user can play/pause/ff/rw audio player without unlocking phone) for the audio player on both platforms. I've never done this before, and I'm having some difficulty finding solid documen...
Jonathan
1

votes
1

answer
813

Views

Display Application widget on Lock screen android

I am stuck with one of my client requirement , it seems not be feasible to me as i am not able to find anything related to this particular requirement.I am goggling but does not came up with proper clue.I though studied the below mentioned link which states that it is not supportive . Here is the li...
sid
1

votes
1

answer
844

Views

Is it possible to add your app to iOS 11 control center or make accessible from lock screen?

I am writing an app for iPhone that I would like to be able to access from the lock screen. One way I could think of doing this is adding it to control center and since the control center revamp in iOS 11 which added more customization it seems more likely now that you would be able to add your app...
Gnarly Narwhal
1

votes
1

answer
1.3k

Views

iPhone Lockscreen Password style framework [closed]

Is there any framework like MessageUI (which has a mail composer) that has something like the lockscreen password style for cocoa?
rafa
1

votes
2

answer
789

Views

iOS lock screen app launch

I would like to have my app available to launch from the lock screen similar to the camera on iOS 5. Is this possible? If so can anyone point me to any resources to do this? Thank you for your help
arkansasonline
1

votes
2

answer
198

Views

When screen is blocked in Android?

Does anybody know easiest way to determine, when device's screen is blocked (not switched off)? It is necessary for the case, when notifications may contain private information, but they shown on blocked screen. I want not to show it.
Zakhar Fadeev
3

votes
0

answer
93

Views

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 onCreate disableLockScreen The screen switches from...
Jim Clermonts
1

votes
1

answer
198

Views

android, Open lock screen settings programmatically

I am creating an app to lock the screen if user has set any lock. And if he has not set any lock , app will redirect it to lock screen in settings to let user set the lock first. I have used Device Admin permission to lock the screen and KeygaurdManager.isDeviceSecure method to check if it has been...
SimpleCoder
1

votes
1

answer
1.7k

Views

Windows Phone 8 Lock screen timeout option in settings

A couple of questions regarding the Windows Phone 8 lock screen: The windows phone 8 emulator has an option 'Never' in the lock screen time out settings. Why is this option not available in actual Windows Phone 8 devices (I have checked the Nokia Lumia 820 and HTC 8S)? Can the Lock screen time-out b...
Mukesh Sharma
1

votes
1

answer
2.2k

Views

how to bring up lock screen in android?

I want to bring up the lock screen of the device if a button is clicked. I searched a lot and know that could be done by DevicePolicyManager but don't know how to do that. I also found lots of examples but neither of them brought up the lock screen(with no error)(e.g. this or this) how to lock devic...
Soheil
1

votes
2

answer
1.6k

Views

App won't open on push notification, when it was in background (iOS7)

I have this issue with iOS7, where I have the following use case for my app: Launch the app, put it in background (press the home button); Lock the device When a push is received, the lock screen wakes up and displays this: What happens is, if I slide on the notification, everything's cool. My app...
Gui13
1

votes
1

answer
262

Views

Ibeacon and Suggested apps

I need to do that if is possible use the 'Suggested apps' feature using IBeacons This is my code: self.beaconRegion = [[CLBeaconRegion alloc] initWithProximityUUID:uuid major:1 minor:1 identifier:@'EstimoteSampleRegion']; self.locationManager = [[CLLocationManager alloc] init]; self.locationManage...
Fernando García
1

votes
1

answer
6.8k

Views

Best Way To Display Music Play Controls On Lock Screen iOS7 [duplicate]

This question already has an answer here: Changing iphone lock screen programmatically when app is running in background 2 answers I have a music app. What is the best way to have the song info and music controls show up in the lock screen like SoundCloud - see (http://cl.ly/image/1a1H041A1Z34) Tha...
jpblack
1

votes
2

answer
778

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 Send, #l Return I have tried multiple other AutoHotkey syntax (without the modifier for example) without succe...
n0tis
17

votes
4

answer
17.3k

Views

Media Player controls in Notification

I have written complete Music Player to stream music from the web, but I don't know how to put media player controls in Notification and when the screen is Lock. I am following this tutorial to show controls in the Notification bar, but still not getting How to use same functionality in my program,...
Sophie
2

votes
0

answer
186

Views

windowIsTranslucent changes lifecycle, but error occur when entering lock screen

I'm experiencing that true is changing the way Android Lifecycle is handled. I guess it's doing that because if the window is translucent, you can still see the underlaying activity. Let's call it activity A. Let's go through the following example where we have another activity on top of activity...
Alfetch
18

votes
2

answer
6.6k

Views

Android Facebook lock screen notification

On the latest version of Android app Facebook showed lock screen notification feature, like on this screenshot: Did anyone try to implement this? I know that It's simple to show Activity on top of lock screen, but unfortunately It doesn't work with translucent background. Basically it works but bel...
froger_mcs
18

votes
1

answer
13.8k

Views

A way to get unlock event in android?

Is there a way to receive something like PHONE_UNLOCKED (with a BroadcastReceiver of some kind)? I have a service running that shows a Toast when the screen is turned on. Unfortunately a few phones don't show it until they're unlocked. Most of the times the Toast message is already gone then.
Saman Miran
1

votes
1

answer
235

Views

Get visibility of Lockscreen

How can I check from a Service if the KeyGuard (Lockscreen) is visible? I want to support the original and custom Lockscreens.
Cilenco
2

votes
0

answer
107

Views

Android Get Setting “Lock instantly with power key” programmatically

I need to get 'Lock instantly with power key' setting in Settings->Device->Lock Screen -> Lock instantly with power key. However, I can get 'Lock Automatically after' setting as followed: ContentResolver mResolver = ctx.getContentResolver(); long timeout = Settings.Secure.getLong(mResolver, 'lock_sc...
Bilal Rabbani
2

votes
2

answer
344

Views

Showing notifications on Motorola Active Display

I'm looking for the way how to show notification on the Motorola X style, or other devices with Active Display functionality. I've read whole internet, twice. No result. Default notification is not showing on active display. My base idea was to extend NotificationCompat with WearableExtender class....
l0v3
2

votes
1

answer
185

Views

Android - Turn screen back to off mode

I was looking to implement a whatsapp like pop-up in my project and i succesfully implemeted it by using 'Dialogue as Activity'. Below code is the one which helps to turn on the screen and show the pop-up while the phone is in sleep mode. Window window = getWindow(); window.addFlags(WindowManager.L...
Safvan 7
1

votes
2

answer
231

Views

Is there any possibility to influence the lock screen gui

I wonder if it's possible to create a GUI for the iPhone home screen when an app is used? Since I guess the answer is no (it was in the past, havn't found anything new about iOS 7): if I have an audio player, would it be possible to kind of 'route' it to the homescreen like the Podcasts app does it?...
brainray
19

votes
8

answer
40k

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 to do it without requiring root privileges?
Ye Myat Min
1

votes
2

answer
1.3k

Views

iPhone can't execute “SBSLaunchApplicationWithIdentifier”

I want to implement a lockscreen tweak for the iPhone. On the lockscreen, I added a button which can unlock the screen and open the phone app. The code of this button action is: [self unlockWithSound:YES]; int (*openApp)(CFStringRef, Boolean); void* sbServices = dlopen('/System/Library/PrivateFramew...
user2822881
5

votes
2

answer
267

Views

How secure is off-screen information?

My iOS app has a lock screen which, when enabled, covers the whole of UIScreen. However, outside of the UIScreen bounds, I have panes with sensitive information that are no covered by the lock screen. (Those panes can be swiped in and out when the screen is unlocked.) How safe is it to have informat...
Randomblue
2

votes
1

answer
88

Views

Lock screen compatible with modals

My iOS 8 app has a custom lock screen (a UIView on top of other UIViews within the same UIViewController). When the app goes in the background, the lock screen is displayed, hiding all other content. The issue is that my lock screen do not appear on top of modals. When the user unlocks the app, I wa...
Randomblue
5

votes
1

answer
7.9k

Views

How do disable lockscreen in android?

I have my app registered as device administrator, with the appropriate lock screen permissions. I can access the method to lock the device, but cannot disable lockscreen. Is there an API method available that will disable lock?
munkay
5

votes
1

answer
1.8k

Views

Is it possible to create the widget like Google Play Music on the lock screen?

I am developing a music player. I have a widget that works on both the home and lock screen. I do not want to give the user the option to put or remove the widget from the lock screen. My goal is: The widget automatically appears on the host lock screen, removing the widget that there are as time-...
Juanjo
4

votes
1

answer
559

Views

Can't access the Documents directory when iPhone is getting locked?

Scenario 1. I used this code for downloading files from Dropbox using Dropbox SDK. -(void)downloadFile:(DBMetadata*)file { if (!file.isDirectory) { NSString *documentsPath = [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) objectAtIndex:0]; NSString *localPath = [doc...
iTag
4

votes
1

answer
1.6k

Views

iOS - Allow my app to display information on lock screen?

Is it possible to display information on the lock screen from within my app? For instance, a countdown timer? I know Apple's built in apps, like the clock, can do this. But is it public API available? And no, I am not talking about Push or Local Notifications. I want to display and actual countdown...
JimmyJammed
2

votes
2

answer
964

Views

iOS Today Widget Extension - detect if screen is locked

I have a today extension that displays a timer. I want to pause the timer when the screen is locked, but can't figure out how to detect if the screen is locked. I tried doing this but the file is always readable even when the screen is locked: Finding out if the device is locked, from a Notificatio...
Shayan Alam
5

votes
2

answer
687

Views

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; commandCenter.previousTrackCommand.addTarget(self, action:#selector(hom...
Rakshit Korat
5

votes
1

answer
865

Views

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

votes
1

answer
550

Views

How do I programatically unlock screen on rooted device?

I want to disable screen locker in (even if it is locked) or change it to some simple lock, for example swipe to unlock, in my app when notebook is near, so I will not have to write my 12-digits PIN code every time I want to read notifications. I know how to detect notebook presence in the same netw...
Markaos
4

votes
1

answer
3.7k

Views

Android lock screen

Is there a way to display text on lock screen? Like the information about unread SMS messages or like that Music Player on lock screen with Play/Pause buttons. Thanks
Sebastian Nowak
1

votes
2

answer
1.4k

Views

Stopping Screen Timingout - windows phone 8.1

I am Creating a Windows Phone 8.1 that display the time, Quite basic but one thing i don't want it to do is allow the phone to look. Now sadly ApplicationIdleDetectionMode does not working anymore unless you do windows phone 8.1 Silverlight application. So i have used. var displayRequest = new Wi...
Ryan Bowden

View additional questions