Related
First, the important stuff:
Download Link:
http://www.mr2-power.com/downloads/DeviceLock.CAB
Here is the old thread discussing the app from the time I first released it:
http://forum.xda-developers.com/showthread.php?t=261277
I have released a new version of my Device Lock application. There is one primary enhancement in this version, but it is one many people have asked for.
Upon installing the new version you will notice a two new options in the Device Lock control panel applet. First is "Easy Unlock". What this option does is allow you to unlock the device with a single click of the left menu button (the button directly under the Unlock menu that appears when the device is locked) and not need to touch the button on the screen or type "*" on your keyboard. The second option enables a vibrate alert when the device is unlocked using this method. This is to avoid having the phone unlock in your pocket (fairly unlikely) and not notice it.
If you want the least number of button presses to unlock you can always select the "Do not lock buttons" option in the Lock tab of the Buttons control panel applet (same place you assign programs to different buttons). This means that even if your device is suspended you can simply press the left menu button to unlock the device. One click, easy, but also prone to accidental unlocking (so you should probably use the vibrate option).
The safest (and my preferred) method) is to select the "Lock all buttons except Power button" or "Lock buttons if device is locked" option. Then, if your device is suspended (mine usually is when in my pocket) you have to first press the power button, then the left menu button to unlock. Still only two button presses and easily done without looking at the device. If the device is not suspended.
Everything else is the same as it always was.
Enjoy!
-Matt Armstrong
Terrific, almost perfect. It miss an important feature for me: turning off display after lock, which is important for listening music.
Good job.
Updated: Found the option "blank screen" is what I want. Shouldn't it be "black screen"? My understanding of "blank screen" is unlock to today screen.
Perfect now.
Hey Matt! First, thank you very much for this great software and for the improvements. Also a special thank you for sending me an email that my request has been heard
Still, I have problems on my Hermes using your new "Easy unlock feature". I assigned DeviceLock to the left SoftButton in my TodayScreen. When I press it it locks the device and for unlocking, I have to repress the left soft button. When repressing, I still have to touch the screen and it also doesn't vibrate.
Could it be that it's because of me using WM6? Do you have WM6 installed on your device? Can anyone confirm it with a Hermes running WM6?
Dandie said:
Hey Matt! First, thank you very much for this great software and for the improvements. Also a special thank you for sending me an email that my request has been heard
Still, I have problems on my Hermes using your new "Easy unlock feature". I assigned DeviceLock to the left SoftButton in my TodayScreen. When I press it it locks the device and for unlocking, I have to repress the left soft button. When repressing, I still have to touch the screen and it also doesn't vibrate.
Could it be that it's because of me using WM6? Do you have WM6 installed on your device? Can anyone confirm it with a Hermes running WM6?
Click to expand...
Click to collapse
No, I do not have WM6 on my Wizard and the software has never been tested (by me) on WM6. The issue could be that you are mapping the lock software to the same button required to unlock it.
Here's a simple test, when you press the left SoftButton to unlock the device, does a dialog pop up with a title of Unlock? If so, does the dialog say that you can press the button on the screen or type "*"?
-Matt
nice release! thank you a lot!
Thank you very much.
Very nice program... simple, and it works.
armstrom said:
Here's a simple test, when you press the left SoftButton to unlock the device, does a dialog pop up with a title of Unlock? If so, does the dialog say that you can press the button on the screen or type "*"?
Click to expand...
Click to collapse
Yes, that's what it does - as it was always doing before . I hope this issue can easily be resolved. Maybe you're using some functions that are different for WM6.
Dandie said:
Yes, that's what it does - as it was always doing before . I hope this issue can easily be resolved. Maybe you're using some functions that are different for WM6.
Click to expand...
Click to collapse
Crossbow can't be the reason for the problem.
App works w/o any problem on both my HTC devices.
Cheers
hrb
hrb said:
Crossbow can't be the reason for the problem.
App works w/o any problem on both my HTC devices.
Cheers
hrb
Click to expand...
Click to collapse
Also with the EasyUnlock feature? No additional touchscreen press necessary?
Someone else who has it assigned to the left Soft Button for activation and working EasyUnlock?
There are still a small issue left. When the devicelock is activated and display is off (with blank screen option), only pressing the left or right soft keys can turn on the display. Even worse, pressing the softkeys will trigger the commands of softkeys before the unlock windows shows up. For example, in today, pressing the left softkeys will run email.exe in my treo 750v before " unlock " shows up, which is very annoying.
When can't it just lock/unlock without any extra effect?
This is probably a problem with the microsoft lock mechanism. I'm using the method described in the MSDN to turn off the screen, so I'm not sure how I can do it differently. I can search for an alternative method to blank the screen, but I don't have much hope of finding one. I did not write the locking mechanism itself so I have no control over the way it locks/unlocks. All I'm doing is automating the process that is built into the OS. So I cannot fix bugs in the lock itself. Even the Easy Unlock solution is simply an automation. The solution turned out to be very simple, I simply keep the device lock application resident in memory after locking the device. It continually searches for a window with the title "Unlock" and then simulates pressing the * key... That's it. After sending the keypress it vibrates (if enabled) then terminates. So the application is only resident in memory while the phone is locked.
And I'm not sure what you mean by lock/unlock without any extra effect. The only "effect" I add is the vibrate on unlock, which is optional.
-Matt
armstrom said:
This is probably a problem with the microsoft lock mechanism. I'm using the method described in the MSDN to turn off the screen, so I'm not sure how I can do it differently. I can search for an alternative method to blank the screen, but I don't have much hope of finding one. I did not write the locking mechanism itself so I have no control over the way it locks/unlocks. All I'm doing is automating the process that is built into the OS. So I cannot fix bugs in the lock itself. Even the Easy Unlock solution is simply an automation. The solution turned out to be very simple, I simply keep the device lock application resident in memory after locking the device. It continually searches for a window with the title "Unlock" and then simulates pressing the * key... That's it. After sending the keypress it vibrates (if enabled) then terminates. So the application is only resident in memory while the phone is locked.
And I'm not sure what you mean by lock/unlock without any extra effect. The only "effect" I add is the vibrate on unlock, which is optional.
-Matt
Click to expand...
Click to collapse
Sorry, Matt, I didn't make me clear. As to the extra effect, I mean the side effect of triggering commands before unlocking. Since it also happens to other lock program, I guess i have to settle with it.
Well, this may be a problem specific to the Treo. I tried the scenario you describe on my Wizard and had no problem. I changed myoption to "blank screen" and the device unlocks just fine for me when I press the left app button. However, the difference with my phone is that the only way to turn the screen back on is to press the power button (just like waking it up from being suspended). Unfortuantely, I doubt there is anything I can do to solve your problem, I'm sorry.
Edit: Just to clarify something, are you pressing the left app button (the one with the mail icon on it) or are you pressing the left menu button? I may have made a mistake in my initial post Basically, you need to press the button that is directly below the menu item that says Unlock.
-Matt
Hi, this device lock works fine on my orbit.
One small issue as previously stated with the left soft key.
I use wm5 new menu.
With first press new menu pops up
Second press, bye bye new menu
Third press unlock and vibrate
Thanks for the app, I was already using the previous release and this is now more convenient for me.
Great update!
On the easy unlock, could you make the vibrate much shorter?
I have SPB shell and get the "now screen" on wake up
It would be nice to have the unlock app the way it is right now but separate so that I could map it out on the "now screen"
Thanks
I mean left softkey ( the key corresponding to the two big buttons on bottom). In treo 750, once devicelock is activated, only the softkeys (left or right) can turn on the screen (same in vjdevicelock), all hardware buttons and keyboard keys are locked.
Maybe it is not related to treo. You see, both uniqueboy and Kikouyou has the same problem as me.
oh my, please port this to smartphone!
GREAT !
An absolutely superduper great and VERY useful little app !
Specially using the "Lock all buttons except Power button" approach
Cheers hrb
hi
was checking out Slide2Unlock just now and I actually set it to be launched by DeviceLock (launch program when device is lock feature) and the result is not desirable. there's some 'violation' error.. = ( anyway of overcoming this?
think it will be cool to have the phone auto lock when it's off and launch 'Slide2Unlock' when it's awake!! = )
Please tell me you can! Give me a dream! Show me some hopes.
(i am about to break my x10 in half for 1-2 more lock screen freeze on calls)
Have you tried MyLock from the app market?
There's an app called "No lock" That disables the initial swipe lock, but if enabled it unfortunately also disables the security swipe codes too.
how do you use MyLock
I found it useless
+1 for nolock
no lock is ****e. it doesnt properly lock and unlock the screen. more like a black screensaver.
what is needed is a way to unlock using KEYS, something like in the keyboard mapping trick
http://forum.xda-developers.com/showthread.php?t=683902
or http://forum.xda-developers.com/showthread.php?t=703539 (desire's kernel mod...)
I've had "goto" for a few days and it's great.
Lots of options from lock screens; shortcut to email, call logs, messages, etc.
Sometimes it goes to x10 default swipe screen but goto screen will kick in almost immediately. You'll see what I mean.
You'll be glad you tried it out
I hate the lockscreen slider
When I press "on" I want my phone "on"
And answering calls with the finger slide is a pain in the ass
I thought I would get used to it, but NO
NoLock didn't solve the problem because you still have to slide to answer, and yes your phone goes to homescreen when pressing the ON button, but also when pressing ANY button (including the volume keys which get pressed easily inside my pocket), finally NoLock screws up the notification bar slider
There MUST be a way to answer calls by just pressing an icon or button, without having to slide the finger
There MUST be a way to just press the f*ck!ng ON key and start using the phone
.
If only we can remove that bloody lockscreen...
Sent from my X10i using XDA App
gtrab said:
There MUST be a way to just press the f*ck!ng ON key and start using the phone
.
Click to expand...
Click to collapse
My experience with touchscreen phones is this is a completely silly idea.
Think of all the time the button would get accidentally pressed in your pocket, and the battery life loss while on in your pocket.
I don't know how it works on Windows Mobile, but one would think this would be an even worse problem due to how prolific resistive touchscreens are on WM.
dpk0875 said:
I've had "goto" for a few days and it's great.
Lots of options from lock screens; shortcut to email, call logs, messages, etc.
Sometimes it goes to x10 default swipe screen but goto screen will kick in almost immediately. You'll see what I mean.
You'll be glad you tried it out
Click to expand...
Click to collapse
The problem i found with goto is that to answer calls you still have to swype, and when trying to turn off an alarm clock at 7 in the morning its really uncomfortable to use. Other than that its pretty awesome.
there should be a way to do this, perhaps tinkering with framework-res.apk could do the trick (either enable double click to unlock like in hero, or just simplify the swype movement)
(ive asked about this before)
im just discovering android and x10.
if get desperate enough i'll try to simply replace the relevant files from stock 1.6 firmware ... im gonna reflash anyway for 026 or 2.1
worst thing is this lockscreen during call - many times i dont even se WHO is calling.
iead1 said:
My experience with touchscreen phones is this is a completely silly idea.
Think of all the time the button would get accidentally pressed in your pocket, and the battery life loss while on in your pocket.
I don't know how it works on Windows Mobile, but one would think this would be an even worse problem due to how prolific resistive touchscreens are on WM.
Click to expand...
Click to collapse
I disabled the menu button switching on the phone by editing the file in system/user/keylayout, now only the power button switches it on.
To get rid of the lockscreen would be really useful to me now I've done that...
Sent from my one-click-rooted X10i using XDA App
i wonder if messing with the framework can do it,
what i really noticed is how GOTO Lockscreen are able to replace the original one 99% of the time while other app like lockbot - which i adorably like - can't do this and instead show two lockscreens over each other
mylock and nolock are of NO USE they are both useless
No app i found can replace the swipe call , and only GOTO can fully replace the standby lockscreen,
i triend most of the lock screens out there but with no use..
btw, Widgetlocker is for 2.1+ right ??
Ive tried to use tasker to do this, so far it can react headphone plugged in and unlock the screen automatically (sometimes: /)
I ve tried to test if camera button can be detected during call and then unlock the phone - didnt work - event which supposed to fire on call is not activating.
Also camera button is ignored on locked screen.
By editing the keymap with the FOCUS key the phone wakes up but tasker doesnt handle this key. Perhaps it is possible to write the plugin....
Ah if only we could compile custom kernel.. every problem can be solved when you can cook on your own...
twentybenson said:
I disabled the menu button switching on the phone by editing the file in system/user/keylayout, now only the power button switches it on.
To get rid of the lockscreen would be really useful to me now I've done that...
Sent from my one-click-rooted X10i using XDA App
Click to expand...
Click to collapse
Ah, I see.
Still, to me, it seems useful to have that extra layer of security protecting my battery life. Never know how many times that power button will get accidentally pressed in your pocket!
twentybenson said:
I disabled the menu button switching on the phone by editing the file in system/user/keylayout, now only the power button switches it on.
To get rid of the lockscreen would be really useful to me now I've done that...
Sent from my one-click-rooted X10i using XDA App
Click to expand...
Click to collapse
Hi twentybenson, so could you explain how you edited the file, which file (i have three) and changes you made?
Can someone help me in getting rid of the lock screen? I wan to use my phone just after pressing the home screen no additional step by swiping the lock screen.
Very simple, install No Lock. It does what it says.
Working on Cognition 1.31,
Cheers.
huzz said:
Very simple, install No Lock. It does what it says.
Working on Cognition 1.31,
Cheers.
Click to expand...
Click to collapse
I installed it, but still not working is there any tricks?
A bit weird way, more of a bug in the lock screen, is to hit the home key 4 times, the lock screen doesn't prevent the voice system from being activated. So you can hit once to activate the screen, two quick to enable the voice talk, and then once more to return to main screen. Bad way, but working.
To repro:
1. Run some app like Terminal that runs in the 'background'.
2. Power off screen.
3. Power on screen.
4. Press the taskbar.
5. Press the app notification.
Tablet is now unlocked...
On the plus side, this is does not happen when using other than 'slide' for lock.
Some might call this a 'feature', but it seems more like a bug... (or a very untested feature).
leppie said:
To repro:
1. Run some app like Terminal that runs in the 'background'.
2. Power off screen.
3. Power on screen.
4. Press the taskbar.
5. Press the app notification.
Tablet is now unlocked...
On the plus side, this is does not happen when using other than 'slide' for lock.
Some might call this a 'feature', but it seems more like a bug... (or a very untested feature).
Click to expand...
Click to collapse
A little reminder to you, the only thing Slide protects your tablet from is your unborn kids.
It is not a 'some might call this a feature' thing, tablet simply considers user navigating notification menu just as valid 'unlock' act as Slide itself is. As it should.
The odds of getting unlocked is much greater via an accidental press of a notification then using the slider.
Like I said, it might try to be a feature, but it fails...
I don't know how big your notification-bar is... but the chance that you press one of those buttons in the corner is minimal...
Well I dont see much use of a slide to unlock screen on a tablet anyway since I have no clue how you can accidentally turn the TFP on... It's not like you have that thingy in your pocket...
leppie said:
The odds of getting unlocked is much greater via an accidental press of a notification then using the slider.
Like I said, it might try to be a feature, but it fails...
Click to expand...
Click to collapse
You have to do a lot more than just accidentally press a notification. First of all, your Prime screen needs to be turned ON first, which means you need to accidentally press the really-difficult-to-accidentally-press power button. Then you need to touch corner of the screen not once, but twice in very specific locations (first to open the notification menu and then click on one of the buttons.
Slide unlock is entirely meant for phones, where the chance of accidentally turning on the phone in pocket is more likely. On a tablet it is just a beautiful startup screen that - until Android starts supporting user accounts - is nothing more than that.
Go to security and change from slide to pattern or password if you want a more secure lock. I think that the notification panel only gets past the slide unlock.
Hi all,
Any ideas where I can find a floating dock for Nokia 8? My primary purpose is to be able to avoid using the button on the side to turn the screen off/lock the device. There are several available on the Play Store however they do not offer the ability to turn the screen off individually. I have to enter the pin when I wake up the device?
Alternatively, any gesture app would work too...I coud doube tap anywhere on the homescreen to turn the screen off!
Thanks!
mghs13 said:
Hi all,
Any ideas where I can find a floating dock for Nokia 8? My primary purpose is to be able to avoid using the button on the side to turn the screen off/lock the device. There are several available on the Play Store however they do not offer the ability to turn the screen off individually. I have to enter the pin when I wake up the device?
Alternatively, any gesture app would work too...I coud doube tap anywhere on the homescreen to turn the screen off!
Thanks!
Click to expand...
Click to collapse
You can use Microsoft Launcher and set home button as turn off screen.
If you don't mind widgets, Screen Lock by Prahallad works. No problem with fingerprint/PIN (have to enable support in settings). Doesn't fully lock immediately; screen blanks then in few seconds device enters actual locked state.
torhonia said:
You can use Microsoft Launcher and set home button as turn off screen.
Click to expand...
Click to collapse
yeah well, then again, its a whole launcher....I like my pixel launcher as is....just need a small app for the dock...not looking to install an entire launcher for that purpose. But thanks man!
P.s. I did install it and check it out....however, it locks the device rather than turns the screen off....so back to square one