yashsingh1/xdaforums huggingface dataset:
[Paid Software Announcement and Discussion] :
Annnnd more updates:

I uninstalled it, then did a clean install and rebooted, set it up, and it still throws up the pattern lock everytime. I then moved it to /system/app and still pattern lock every time :(

I have to run to school in a bit but I can pop out a logcat when I get back if you would like

---------- Post added at 04:33 PM ---------- Previous post was at 04:12 PM ----------

wow, one last thing I tried before leaving my network at home... disabled wifi, then re-enabled it now DelayedLock seems to be working perfectly with JB

currently it is a system app and disabling pattern when I am on wifi and re-enabling it when I am off wifi, so it seems I messed around with it enough to find the magic settings and install location, etc for it to work with 4.1

Thanks for this new version. Also if you would still like any debugging info just let me know

LOL Now it's not working correctly, didn't change anything just got home and back on my wifi and getting the pattern lock every time... getting closer
[Paid Software Announcement and Discussion] M.A.K:
Hi,

Just found this app and have been trying the test version. When I first got an android phone I was amazed that this functionality wasn't standard... So yeah, I like it. :)

Just a couple of comments:

When my screen goes off my phone quickly goes to sleep so I can only use the power button to turn it back on. To get around this I'm using an app (Wake Lock - PowerManager) to keep my phone awake and enable me to turn the screen on with any key (this is quite important for me). It'd be nice if you could facilitate this in the app with the options of partial wakelock untill lock enabled or while app is running.

The lock now widget works well... The screen off widget doesn't though. It blacks out the screen but leaves the backlight on for a few seconds. So I'm using another app for this (Turn off the Lights).

So I'd say it's looking quite good as I can get the basic functionality that I want but it'd be nicer the get it wrapped up in a single app rather than the 3 I'm using. ;)
[Paid Software Announcement and Discussion] j4velin:
yeah, then i need the log ;)

sorry, but definitly not. wakelocks eat battery like hell, so for 99,999% of the users that "feature" would be a bug.

Turn off the Lights does the same as the "lock now" widget of DelayedLock. Turning the screen off programmatically is not possible, so DelayedLock shows a black screen and sets the screen timeout delay to a minimum until the screen actually goes off. then it restores your old screen timeout setting. please note that using an app like "Turn off the Lights" which all lock the device to turn the display off, DelayedLock functionallity might break - use the "lock now" widget of DelayedLock instead for the same result.
[Paid Software Announcement and Discussion] M.A.K:
This would be an optional 'bug'. And it wouldn't necessarily 'eat battery like hell' as it only needs to wakeup to see that there's nothing to do. It's not like it's being kept awake because the wifi or gps is working hard to connect.

The 'lock now' widget enables the screen lock. Turn off the lights doesn't, it does the same as pressing the power button.
[Paid Software Announcement and Discussion] j4velin:
i'm sorry, but i won't implement this. even "partial wakelock" keeps the CPU active and the android developer documentation is very clear about this topic:

well, as already said, there is no API for turning the screen off except calling the "lockNow()" method. I'm sure the app request device administrator priviledges with the permission to "lock the device". that you don't see the lockscreen is maybe because you use one of the "deactivate ..." lock methods in DelayedLock.

i'll try to implement that in the "screen off" widget in DelayedLock so that it also calls the lockNow() method when the lock is deactivated
[Paid Software Announcement and Discussion] M.A.K:
Ok... but it really doesn't have to be all doom and gloom. The typical usage for this would not use wakelocks once the lock is enabled and so wouldn't have much impact on the battery for many users who's phone would be locked most of the time.
[Paid Software Announcement and Discussion] j4velin:
i attached another beta version of the app, especially for JB user with pattern lock. please use this version only if you have bought the app as it includes the license check validation

new version now in the market
[Paid Software Announcement and Discussion] Kocane:
Great app, been looking for something like this to use with MIUI GB!

However I was wondering; Can't you make it so when the power button is pressed, the lockscreen & pattern lock gets enabled no matter what? Sometimes it seem to do it but most of the time not. Is it because I'm using MIUI?

Thanks.
[Paid Software Announcement and Discussion] j4velin:
well, that is the default behaviour without DelayedLock on stock Android. Why do you use DelayedLock if you want your device to lock immediately?
[Paid Software Announcement and Discussion] Kocane:
Because power button, for me = screen off, lock & down in pocket.

I want to use delayed lock for the screen timeout, see? I text a lot with people and i like the screen to turn off fast to save battery but it would be awesome not having to unlock the thing each time I receive a text.

Im gonna buy your app, anyway, just thought it would be a simple little feature :).
[Paid Software Announcement and Discussion] tracerit:
i'm like you but instead of using the power button i use the apps' shortcut, works great!

---------- Post added at 05:49 PM ---------- Previous post was at 05:47 PM ----------

also, it looks like the app got auto updated and now my delayed lock isn't working right. i had wifi location set up to disable the locks but now it's enabled all the time. going into the app, i can't get past the "General" settings screen because when i select "Deactivate pattern(Root)" it says it's not a system app. It was working perfectly fine at 8am this morning prior to the update.
[Paid Software Announcement and Discussion] coolxal:
Can delayed lock use the default ICS slider lockscreen as the "simple lockscreen" with a PIN lock behind it?
[Paid Software Announcement and Discussion] j4velin:
well, is it a system app?

depends on your Android version, normally it should work like this when using the "deactivate PIN" method. On ICS you might need to select "Slide" lockscreen in the Android security settings once DelayedLock has disabled the PIN
[Paid Software Announcement and Discussion] tracerit:
how would i make it a system app? again, this issue arose after the update. i don't recall setting it as a system app prior.
[Paid Software Announcement and Discussion] j4velin:
okay, when it is not a system app, then that might be the reason why it complains about not being a system app :D

when you click on the big question mark icon on the right, you'll get instructions on how to set it as system app (--> http://tinyurl.com/delayedlock ) along with the information that since Android 4.0 you need to do this to make it work with a pattern lockscreen.

Before the update, there was also the "hide lock" method available, but that didnt really work on Android 4.0 any more, as you saw the lockscreen each when clicking on any notification. I removed that option in the latest version as i can't really imagine people really used that method on ICS
[Paid Software Announcement and Discussion] j4velin:
unfortuntately, android doesnt distinguish between the lockscreens, so disabling the pattern will also disable the swipe-to-unlock. but if you're using some other lockscreen app, (i'd recommend WidgetLocker) they should be able to show their lockscreens. so you get the widgetlocker swipe-lockscreen on each display on and the pattern only after some time.

i will also try to implement some simple lockscreen which can be shown on each display on event, but i can't promise that i can do that ^^

i'm not sure about that bluetooth thing. would a second widget to disable/re-enable the lockscreen forever help you?
[Paid Software Announcement and Discussion] simono_pl:
Widget No. I lock for something automatic for use when I drive a car and phone is somewhere on it.
[Paid Software Announcement and Discussion] golightlygl:
@J4velin, I've just discovered "Extend Lock Time" app which actually accomplishes exactly this. i.e. it just changes the time before the pattern/PInb/Password unlock screen comes on to a user set value rather than the (very limited) options presented by Android. The swipe to unlock is unaffected.

Thank you for your efforts but I have uninstalled your app and am going with that app as it does exactly what I need. Thanks again though for contributing this app.
[Paid Software Announcement and Discussion] j4velin:
okay, but 'extend lock time' just changes the sense lock time settings and therefore only works on sense based ROMs. on a stock android ROM you dont have the option to delay the lockscreen activation.

edit: newest version of DelayedLock has now an option for all the sense based ROMs to use the 'sense locking method' instead
[Paid Software Announcement and Discussion] golightlygl:
Ahh. I'm pleased there's still a place for your app then. But I'm a Sense user so it works for me.

Keep up the good work.
[Paid Software Announcement and Discussion] j4velin:
i may have found a way to implement this feature, but i dont have any bluetooth devices to test it... can you install the attached .apk and tell which text messages appear on your phone, when connecting to the BT device?
[Paid Software Announcement and Discussion] simono_pl:
My BT device in a car was displayed.
[Paid Software Announcement and Discussion] j4velin:
i just published version 1.3 in the market. it contains an optionally slider-lockscreen and should support the Disable-Lockscreen-When-Bluetooth-Device-Is-Connected-Plugin, which is attached to this post.

please report if it works, i cant test it...
[Paid Software Announcement and Discussion] simono_pl:
Thanks. I will try in a few hours beacase I give a car my wife and I d'ont other BT audio device. Do I must install with app from market DelayedLock_BT_Plugin.apk from your post?
[Paid Software Announcement and Discussion] j4velin:
yes, the app from the market and also the plugin.apk from my latest post
[Paid Software Announcement and Discussion] simono_pl:
But in market is all time version 1.2.1. I must wait for new on it.
[Paid Software Announcement and Discussion] j4velin:
oh than the market is updating really slow... i published the new version about 11 hours ago...
[Paid Software Announcement and Discussion] simono_pl:
I've got FC on version 1.3.1 and cannot add to administrators
[Paid Software Announcement and Discussion] j4velin:
hey,

it seems like updating from version 1.2.* to 1.3.* results in FC on some devices, i don't really know why. try to completly uninstall the app and then reinstall the 1.3.1 version please. admin permission isnt needed any more
[Paid Software Announcement and Discussion] simono_pl:
Version 1.3.2 downloaded from market works ok
[Paid Software Announcement and Discussion] k818mn1:
My scenario: I hate the lockscreen and would like to disable it altogether (or at least set the delay to a very long time). However, it seems that bluetooth diallers don't like it when the lock screen is disabled. So, I'm interested in your plugin that enables the lock screen when bluetooth is connected. I'm going to test it later today.

If the plugin doesn't work, another way to approach this is if your app could include two activities, one to enable lockscreen and the other to disable lockscreen. Then I could set up a profile in Setting Profiles (or Tasker) to run your activity to enable lock screen when bluetooth is connected, and run your activity to disable lockscreen when bluetooth is disconnected.
[Paid Software Announcement and Discussion] j4velin:
since version 1.3 there are these broadcast intents available to control the lockscreen from other activities:

de.j4velin.delayedlock.intent.action.DISABLELOCK (requires an integer in the extras with the key "time" and the time till re-enabling the lock in seconds, since version 1.4.5 optional)

de.j4velin.delayedlock.intent.action.ENABLELOCK

both broadcasts require the de.j4velin.delayedlock.permission.LOCK_UNLOCK permission

the bluetooth plugin does exactly that: when a device is connected, is disables the lockscreen. when it disconnects, it re-enables it. i think that's the way simono_pl wanted it. if you want it the other way round i can modify the plugin for you ^^
[Paid Software Announcement and Discussion] simono_pl:
I will try the plugin in next day, one question what with battery and what when BT not always on (stability app?)
[Paid Software Announcement and Discussion] j4velin:
as it consist of only one BroadcastReciever, which is notified by the android system if a BT device connects/disconnects, it doesnt keep running in the background if nothing happens. so it shouldnt affect your battery life. i think nothing will happen when you turn your BT off - but i think i can extend the plugin to re-enable the lockscreen if that happens.

edit: i just found a bug (more a typo^^) in the BT plugin, see here for a fixed version
[Paid Software Announcement and Discussion] simono_pl:
I've just drive a car and BT plugin working OK. When BT device connect it displayed message that unlocking :)

Thanks for this software
[Paid Software Announcement and Discussion] letsgoflyers81:
I have an issue with Delayed Lock on CM9 (ICS 4.0.4) when using the pattern lock. CM9 allows you to add shortcuts to the lock screen to go directly a specific app. If the phone is locked and I choose one of them instead just unlocking, it does not force me to enter the pattern. Once you do that, you can access anything on the phone effectively bypassing the pattern lock altogether. It works perfectly with the PIN, just not with the pattern.
[Paid Software Announcement and Discussion] j4velin:
mh sorry, i can not reproduce that issue with CM9 on my SGS (nightly 20120606). do you use the latest version of the ROM?
[Paid Software Announcement and Discussion] mouaaah:
Problem since ICS

Hello,

I really liked your app on android3.x! Then I did the upgrade to ICS and was disappointed, Delayed Lock didn't work "out of the box" anymore with pattern lock (I know, it's not your fault).

So I finally decided to root my Galaxy S2, just for your app!

I have installed the latest version, placed it on the system folder but I'm affaraid it doesn't work as expected :crying:

So more details:

- I select "admin permission" and "deactivate pattern (root)"

- I set the delay to "20 seconds after screen off",

- I also use "Keep service running" and "vibrate when locking"

The I press the power button, press it again : it works, I see the app in the notification bar and don't need to use the pattern.

After 20 seconds, the phone vibrate, looks good ... but : I still don't need the pattern. But the notification icon disappeard which means next time I will need to use the pattern for sure, even if I don't wait 20 seconds this time.

What do you need from me to be able to debug?
[Paid Software Announcement and Discussion] j4velin:
you dont need the "keep running" service on ICS any more, dont know if that makes a difference. also you should check the android internal lock delay. so when delayedlock has enabled the pattern lock, go to the security settings and set the delay to lock immediately.
[Paid Software Announcement and Discussion] mouaaah:
I removed the "keep running" option, and reviewed the androidinternal delay : still no success
[Paid Software Announcement and Discussion] j4velin:
i've sent you a PM with another version to test
[Paid Software Announcement and Discussion] letsgoflyers81:
I'm using RC1.
[Paid Software Announcement and Discussion] Kocane:
j4velin, is the 'power button locks no matte rwhat' feature, that really hard to make?
[Paid Software Announcement and Discussion] j4velin:
yes as i dont know any why to determine if the screen went off because of the timeout or the power button
[Paid Software Announcement and Discussion] Kocane:
ah okay fair enough bro :)
[Paid Software Announcement and Discussion] eXtremeDevil:
Do this work with customizables lockscreens, like Go Locker?
[Paid Software Announcement and Discussion] j4velin:
it kinda works with WidgetLocker but the GoLocker team doesn't offer an API or responds to email so it wont work with GoLocker
[Paid Software Announcement and Discussion] eXtremeDevil:
What do you mean with kinda?
[Paid Software Announcement and Discussion] stridger:
Face lock?

Thanks for this app, which works brilliantly for me! Do you have any plans to make it work with face lock? It seemed to work fine with face lock on 4.0, but since my upgrade to JB it changes the lockscreen to a pattern lock after a reboot (works fine until that). So it looks like it can be made to work, there is just something missing?

Thanks!
[Paid Software Announcement and Discussion] j4velin:
well, it can unlock/lock widgetlocker, and on Android versions prior to 4.0 it can also use widgetlocker as simplelockscreen when using the "hide lock" method.

only if there will be an API for that someday. it's currently just not possible (at least i dont know how, maybe with some root hacking)
[Paid Software Announcement and Discussion] dc46and2:
Phone not locking without screen on/off cycle

Hi j4velin, thanks for making this app. I've got the trial version at the moment, but I can't seem to make it work the way I want. I've got a Samsung Galaxy Exhibit (SGH-T679) and I'm using jocala's Peach Sunrise 2.01 Android 2.3.6 ROM.

I want to get rid of the "swipe to unlock" screen, while retaining the ability to have the PIN or pattern locking. So if the screen goes off automatically, I can promptly press the power button and get right back to whatever I was doing without swiping or anything. If the screen goes off automatically and I don't wake it back up, then after the configured delay, the phone should be locked with PIN or pattern.

My setup:

Enable Delayed Lock: true

Admin Permission: true

Method: hide lock

Delay: lock 10 seconds after screen off

SimpleLockScreen: false

External Power: false

Show Notifications: true

Vibrate when locking: true

Protect Settings: false

Keep service running: false

Avoid Locking delay: false

In the phone settings, I've configured a PIN lock for 15 seconds after the screen turns off automatically.

What's working: the screen goes off, I press the power button, it comes back on with no lock or swipe screen--yeah!.

What's not working: the screen goes off; I do nothing; after 10 seconds the phone vibrates (lock enabled); I wait another 30 seconds just in case; I press the power button; phone comes back on with NO lock screen--yikes! If I let the screen go off again, wait 15 seconds, then hit the power button again, now the phone is locked.

So to summarize the problem: after the phone vibrates to indicate locking is enabled, I have to do another screen on/off cycle before the phone will actually be locked. Is that the way it's designed to work? Is there a way to make it behave the way I want?
[Paid Software Announcement and Discussion] SamuelDebruyn:
I get this error on Nexus S on stock Android 4.1.1 with Delayed Lock Trial + Notification Toggles when I press the toggle (screenshot added)

Sent on a mobile device (possibly your mother)
[Paid Software Announcement and Discussion] j4velin:
no that's not the way the app should work. i dont know why, but some people have the same issue on their devices while for others it's working great. as i never had this problems on my devices, i dont know what to do to resolve that. just make sure you dont use NoLED or any other app that might interfere with the lockscreen

dont see any screenshot, can you describe the problem?
[Paid Software Announcement and Discussion] SamuelDebruyn:
That's strange, I used Tapatalk to upload.

Here's the screenshot on my dropbox: http://db.tt/boCvK5rB

I'm rooted.

Verstuurd van mijn Slider SL101 met Tapatalk
[Paid Software Announcement and Discussion] nursoda:
ICS with FDE enabled

Is there any chance to get Delayed Lock to unlock on a Samsung Galaxy Note stock ICS 4.0.4 with FDE enabled?

If no, would it work as root (with 2nd method)?
[Paid Software Announcement and Discussion] j4velin:
not sure about the pattern root method, but PIN method will definitly not work with FDE
[Paid Software Announcement and Discussion] dhjean:
Greetings,

I just installed Delayed Lock with the wifi and bluetooth plugins on my Verizon Galaxy S3, and I have a couple of questions. I apologize if the answer is obvious.I did try searching and couldn't find anything that applied.

First, the app does a perfect job of locking and then turning off wifi when I leave my home. It works exactly as I would expect. Is it supposed to scan and turn wifi back on when I return home, and then unlock when it connects? It's not doing that as I would have expected. Once I manually turn the wifi back on, the app disables the lock.

Also, I have it set to use a pin and also first to use a slide lock with direct access to some apps. Is it possible, when at home, to disable the pin but keep the slide lock (just would help to avoid pocket dialing someone)?

Thanks so much for the help and the great app!
[Paid Software Announcement and Discussion] j4velin:
nope, it does not enable or disable the wifi radio but only the lockscreen (it can optionally disable the wifi if it's not connected for several seconds but that's a nice additional feature on not the main goal of the plugin).

i think that might depend on your android version, but on mine it works like this. you should try selecting the "slide" lockscreen in the android security settings once DelayedLock has disabled the PIN lockscreen
[Paid Software Announcement and Discussion] CheriePie:
I know I've read that this doesn't support ICS 4.0 using Face Unlock, but I'm just wondering if that's something you plan to eventually support in a future version. Or if it's a definite no go.
[Paid Software Announcement and Discussion] j4velin:
if i find a way to make it work with FaceUnlock, i'll implement it. just havent found a way yet
[Paid Software Announcement and Discussion] fclifton:
I looked back a few pages, but didn't see the answer. Does Delayed Lock work with Jelly Bean 4.1.1? I have a Verizon Galaxy Nexus running a 4.1.1 ROM. If it does work, can it be setup so that only the power button wakes the screen? Thanks!
[Paid Software Announcement and Discussion] j4velin:
works great on my JB ROM (pattern requires root), but my device even wakes when pressing "home" button
[Paid Software Announcement and Discussion] NoyNoying:
I'm interested with your android application but what is the

difference with trial and paid? could you please explain it to me?

:confused:
[Paid Software Announcement and Discussion] Alpine-:
Evo 3D & ICS Rom here (exact versions below).

I keep finding delayed lock to have "disabled" itself after rebooting. In other words, under General Settings, "Enable Delayed Lock" is unchecked when I have not manually unchecked it. What am I missing here? Is this normal behavior when the Delayed Lock is disabled by BT-plugin or Location plugin (both of which I have set up).
[Paid Software Announcement and Discussion] j4velin:
in the location plugin, you have an option to define some areas as "dangerour" and disable delayedlock while in these locations (so the secure lockscreen is not delayed and your device is always locked). the plugin should enable delayedlock again when leaving that location
[Paid Software Announcement and Discussion] albert88rules:
Lotus Traveller

Please help me out :crying: I have an atrix 2 (rooted) and Im using Lotus Traveller on my phone. It has setup up itself as an admin and I need to provide a long pin just to unlock my phone. I have tried using this Delayed Lock(Trial) but Im unable to get it working for Lotus Traveller. If someone out there has figured out how to get it working, please please help :highfive:
[Paid Software Announcement and Discussion] j4velin:
no app will be able to deactivate the lock if another app enforces a PIN code