lockscreen

Custom Lock Screen Delay When Wake

天涯浪子 提交于 2019-12-30 05:35:07
问题 I'm trying to make a custom lock screen app, but I'm not sure if I'm going about it the right way. I have a broadcast receiver that listens to when the screen is turned on and starts my lock screen activity. This receiver is registered inside a service, which also disables the default lock screen. The problem is, there is a slight delay between when the screen is turned on and the lock screen activity shows up. How would I go about doing it so that it shows up right away? My code for the

Android ICS native lockscreen

谁都会走 提交于 2019-12-30 01:24:46
问题 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 that also other players ( PlayerPro for instance ) have the same feature that looks exactly the same, that's why i think it's something native or at least, there is a common way to implement it. So far I only managed to get and Activity that replace

How to disable the notification bar pull-down in Android?

ぃ、小莉子 提交于 2019-12-29 08:13:10
问题 I am building a new lock screen for Android , but I am unable to lock the notification bar from pulling it down. I want to disable the notification bar pull-down. 回答1: private void disablePullNotificationTouch() { WindowManager manager = ((WindowManager) getApplicationContext() .getSystemService(Context.WINDOW_SERVICE)); WindowManager.LayoutParams localLayoutParams = new WindowManager.LayoutParams(); localLayoutParams.type = WindowManager.LayoutParams.TYPE_SYSTEM_ERROR; localLayoutParams

Programmatically changing the iOS lock-screen

╄→尐↘猪︶ㄣ 提交于 2019-12-28 02:52:27
问题 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 just can't figure out what to use in the iOS SDK to even try implementing this. Oh and P.S: same goes for wallpapers—can we change this from inside our app? 回答1: It can be changed programmatically (change to SpringBoard), but it won't make the way

Have the lock screen's fingerprint sensor listen for fingerprints whilst in the background, Android

拜拜、爱过 提交于 2019-12-25 07:59:17
问题 I have an Android application that has one feature which includes showing some content on a view when you unlock your screen after having locked it earlier, and like such it shows up 'in front' of the built-in lock screen (it only overrides it if you don't have any screen security and only swipe away from it). At the moment you need to swipe on your screen to get rid of the view of my app from the screen and to go to the lock screen to enter your security code or whatever security you might

How to call android default LockScreen?

佐手、 提交于 2019-12-25 01:13:19
问题 How to call android's default LockScreen in activity or service? I create android application what is like a Optimus G2's knock on function. But I have some problem. My Activity has OnStop() or OnDestroy() function, i won't it's call default LockScreen or Sleep and wake. First, I try PowerManager.gotoSleep() , but it's Android system API. Solution is DevicePolicyManager but I won't use it. 回答1: Have a look into the Device Administration API: http://developer.android.com/guide/topics/admin

Android MediaMetadata image on lockscreen is zoomed

梦想与她 提交于 2019-12-24 15:43:53
问题 When playing media, I am able to place media image onto a lockscreen via RemoteControlClient.MetadataEditor editor = remoteControlClient.editMetadata(true); editor.putBitmap(RemoteControlClient.MetadataEditor.BITMAP_KEY_ARTWORK, bitmap); or MediaMetadataCompat.Builder builder = new MediaMetadataCompat.Builder(); builder.putBitmap(MediaMetadataCompat.METADATA_KEY_ART, bitmap); however, if I use landscape source image (16:9) and lockscreen orientation is potrait, the background image is zoomed

Is it possible to develop a lockscreen for windows 10 using c#

与世无争的帅哥 提交于 2019-12-24 08:59:01
问题 Hi i have windows 10 Pro x64 bit and i will like to know if it's possible to develop a lock screen for windows 10 , without using hacks or not safe methods .. That will close the Pc monitor until a key is pressed . I search the google but i did not find anything about that , other than how to disable it or how to change the background image of the already existing one 回答1: No, it is not possible. The authentication experience in Windows is locked-down, for good reason. The system can be

NSTimer events do no occur when screen locked on iOS 5

寵の児 提交于 2019-12-23 05:45:06
问题 I've seen this come up a few times but I haven't really seen a definite answer... Since iOS 5 my application seems to run into the problem that if the user locks the screen my NSTimer stops firing after about 20 seconds in the lock screen. This makes my app which plays a sound every time the timer fires pointless if the user locks the screen. This has only happened since I updated my device to iOS 5. My question is that 1. Is there any workaround to having this same functionality work on

Start an activity from notification over the secure lockScreen

♀尐吖头ヾ 提交于 2019-12-23 05:28:00
问题 im stuck trying to show an activity from notification in secure lockscreen (in not secure lockscreen I achieve this). I follow some questions an answers from StackOverflow but none resolve my problem. I will post parts of my code. MainActivity (activity) This is executed in onCreate() Intent intentService = new Intent(this,NotificationService.class); if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) { startForegroundService(intentService); } else { startService(intentService); }