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!! = )
So I have a habit of sliding the phone open and then pressing the hardware messaging key, and no matter what, it never seems to work. I press the button, and Ill see the today screen, but no messaging window. I have to slide it back closed and open again and everything sorts itself out.
I've tried looking, but haven't seen anyone complain about this particular problem. Anyone else fret about this? any solutions?
no one has this problem?
Similar
I find my X01HT in landscape mode when i wake him um with the "on" button, and have to wait for it to "think" a litle bit to obey me, while that, if I try to push any command he will go crazy and the image will stay locked in the last scene and will not get actualized... Kind of annoying thing, using black Satin... But i'll try schaps now to see if that goes away...
http://forum.xda-developers.com/showthread.php?p=1504436&posted=1#post1504436
V
Im on WM5.
Vijay, I don't want to disable orientation permanently. Just sometimes, I want to start messaging, so in stanby mode itself, ill open and start it up. thats what confuses the 8525, thats all. I have to close the phone, and then slide it open again for it to regain consciousness!
Its no biggie, but i was just wondering if any1 else had a similar issue.
FINALLY... WHAT YOU HAVE ALL BEEN WAITING FOR
Originally posted from here
shlomki said:
I've come to notice that no one REALLY knew how to fully disable screen rotation on WM devices.
Some offered 3rd party apps to get the job done, some only knew how to disable automatic rotation, but when the device went into standby and woke up again - the screen rotated back. So that didnt really work.
So if you're as desperate as i was about screen rotation,
this is what you need to do:
1. Get dotfred's free taskmanager HERE, and run it.
2. Go to "Devices" tab, and look for "MIS1:" device (oem_misc.dll)
3. Long-Tap on it, and tap on "Stop"
4. Long-Tap on it again, and now choose "Set Manual"
5. Go to "Notifications" tab, and look for "Notifications\NamedEvents\VCPowerWakeupEvent"
6. Tap on it to make it selected
7. Disable it
(In dotfred's taskmanager, there should be a button for disabling it, but for some reason some devices couldn't see the button icons, although the buttons are still clickable. Under the notifications list there is an empty light-blue line - the buttons are there, eventough you can't see them.
The disable buttons is somewhere i the middle of that light-blue line, just tap the center until a message box popps up and asks if you'd like to disable this notification - Tap on yes.)All those steps are a one time deal - they stick even after an SR.
This has been tested on htc universal and works great.
The screen will keep its orientation even if you flip your screen, take out your built in keyboard, or turn the device off and back on.
The only time your screen will revert back to the original orientation is when you soft reset your device.
Hope this helps
Click to expand...
Click to collapse
On WM6.5 and WM6.5.x you have the option of using the new sliding lock screen. I for one prefer to use the old 'Windows Classic' lock screen (i.e. the one where you have to tap the soft key then an unlock button like in WM6.1, see images), as it uses less memory and allows me to see the today screen. However, on many ROMs for HTC phones, even stock ROMs, it doesn't seem to work properly with regards to incoming calls.
When you receive an incoming call, the lock screen pops up asking you to tap unlock, but it is unresponsive and obscures the caller ID screen, meaning you can't see who's calling you or the accept / reject slider. On phones / ROMs were it does work properly, you sometimes still have to press the unlock button manually before you can do anything.
This had annoyed me for ages and I couldn't find a solution, so since I am learning C++ at uni, I decided to try and teach myself Win32 programming and create a a program to fix it. The result was this little utility, my first windows mobile app
The program basically just sits and waits for an incoming call, and when the system notifies it of one, if the device is locked it waits for the unlock screen to pop up and then very quickly presses the '*' key. The result is that the device unlocks before the screen messes up, allowing you to see the dialler! The app is very lightweight (executable is only ~6KB), fast (native code), and does not use the CPU whilst idle since it makes use of the windows messaging notification system. Should theoretically work on any resolution on any device, but I've only tested it on my Touch Pro2 (WVGA).
I originally made this just for myself, but XDA Developers has been so useful to me over the years I thought it would be nice to share it with you guys For this reason it is provided as is, I may or may not add to it. I'll try and fix any bugs and stuff if they arise, but I'd like to keep it a simple, lightweight app.
[size=+1]VERSION HISTORY:[/size]
1.0 - Initial Release
1.1 - Multilingual support. If v1.0 works for you, you don't have to upgrade but you can if you like.
Fixed the bug that causes program to crash if not using an English ROM.
Removed message box that tells you you're using the sliding lock. Program now just exits silently.
CAB file now changes the registry key to disable the sliding lock screen for you.
[size=+1]INSTALLATION:[/size]
I've attached the EXE in a zip file, simply unzip, place it on your device somewhere and run it to activate the program. Run it again to exit the program. You might like to place a shortcut in \Windows\Startup. The program will not run if you have the WM6.5 sliding lock enabled, you need to have set:
[HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\LockScreen] "Enable"= dword:00000000 (obviously).
I've also made a cab file which just simply places the EXE in \Program Files\DeviceLockXT, and creates a startup shortcut and the reg key for you, if you prefer
If you already have DeviceLockXT installed and are installing a newer version, you probably need to stop the old one from running first, and you should probably uninstall the old CAB before installing the new one. I don't know what difference it will make if any.
Enjoy!
DISCLAIMER: In the unlikely event that this program damages your device / causes you to lose data / kills your cat / whatever, I am not responsible. Use at your own risk.
Feel free to include it in a custom ROM if you like!
This looks interesting. Like you, I also do not like the latest lock screen (I've been searching forever for a better one). Does yours support PIN lock? And if you wouldn't mind, I think it'd be cool to see a screenshot (or just a google image), I'm not sure if I remember the classic lock screen you are referring to...
Certainly! Images added & first post updated
The reason I like it is that it isn't a lock screen as such, more of a lock softkey. This allows you to see through to the lovely HTC flip clock when the phone is locked / you turn it on to see the time. You only see the rather ugly looking grey screen when you want to unlock the device.
The program will run if you have PIN lock enabled, but there is no need to use the program in this case, it will literally sit there doing nothing. If you are using the PIN lock then the dialler screen works fine, at least on my phone anyway
To use the Windows Classic Lock Screen with a PIN just set:
[HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\LockScreen]
"Enable"=dword:00000000
Then enable a PIN in Settings > Lock and you're good to go! No need to install my program You can also set:
[HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\LockScreen]
"ShowLockScreenPicker"=dword:00000001
To get an extra tab in Settings > Lock which lets you change lock screen without editing the registry.
EDIT: There is not supposed to be a space between the c and r in LockScreen in the reg keys, don't know why the forum does that.
I'm also a fan of the "Windows Classic Lock Screen", and have encountered the same problem that you describe!
So thanks a lot for this great tool, I'm trying it ASAP.
i see your point of locking and seeing at the same time your home screen right there and then and i think i'm liking it. i'll give it a try. any chance to change the "ugly" gray unlock screen to something else? a simple black one would be good for me, or better still to a customized background.
edit: btw, does this work on stock wm 6.5? it says 6.5+ in your post.
Yup, I meant 6.5+ as in 6.5 and above (including both 6.5 and 6.5.x)
Not that I know of, the grey screen is part of the windows mobile locking program itself so I don't think it can be easily changed. On some ROMs I have tried the grey screen is skipped entirely, unlocking straight away when you press the softkey, but this is tied to something at the ROM level I think. So it's possible, but I don't have the time or ability to figure it out
Another way to do it would be to write your own locking program from the ground up that mimics the standard windows classic one, then you could do what you like, which interestingly is what I tried initially. But it was much harder than I thought! Defeats the point of utilising what is already on your phone though, which is what I like to to (minimal 3rd party software).
I repeat my program is NOT a stand alone lockscreen, but a utility to hopefully make the built in one work properly. In my opinion the windows classic lock is fine as it is, apart from the issue my program aims to fix
Great job!
This little app works very well and it does what it promises.
The grey screen is something that I've seached how to change for quite some time, but haven't found nothing. It would be very cool if we could edit it!
This is just awesome...thanks so much for sharing...
What about cooking this program into ROM? Is it fine to do so?
Yeah sure, it says so at the very end of the first post (under 'Disclaimer')
Uch, sorry, I never read disclaimers or other important notes.
Keep up great work. I'll include this software into my ROMs if I don't find anything annoying
thank you very much.this problem is annoying me for a long time,i'll have a try.is this work well,i'll get a reply.wish it work well and jack use it in his roms~
It's work very well in my phone,thank you very much~good job~
Been using this for a day or so now...no complains...works as intended. Thank you!
i find a problem with the app.when i use the app,the screenlight is turn on and turn off,it's change all the time.when i use the swith button to turn off the screen light,the screen light will turn on soon.and if i close the app ,the screen light became well.what's the wrong?can you help me ?
I'm not sure what would be causing that behaviour, what device are you using? What version of windows mobile / ROM are you using? Do you have any other screen lock type apps installed?
It is nice
but unfortunately it works only for WM6.1
i hope i can find one for WM6.5
jamiemckee said:
I'm not sure what would be causing that behaviour, what device are you using? What version of windows mobile / ROM are you using? Do you have any other screen lock type apps installed?
Click to expand...
Click to collapse
I use HTC TOUCH PRO 2 ,HTC Version.and the rom is Jackos EVO FULL v1.1.0.i don't installed another screen lock.do you know what cause the problem?thanks~
Delete Hd2ProximityScreenOff.lnk from /Windows/StartUp
Jackos said:
Delete Hd2ProximityScreenOff.lnk from /Windows/StartUp
Click to expand...
Click to collapse
Thank you very much ,i 'll have a try~
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.
There seems to be plenty of adequate little homescreen button apps to lock the screen. but they turn it off at the same time. I want the option for both. I already have one that turns the screen off, now I want a different one that just brings up the ICS default lock screen (the one that shows up just after turning the screen back on or at OS startup - if you set it to have lock security).
I'll put em in the icon group on the home screen.
It's cos sometimes I just need to lock the screen while carrying the phone for a short while [and don't want to touch something while grabbing it by the screen], then easily [without having to press the power button] unlock phone again to resume using it once I'm done carrying.
IS there one that does this? Without having to be its own lock screen app - I really just want to keep things simple.....
Thanks for your help.
I found a solution even better than I had imagined myself! Hidden Lock Pro! even easier and better for my needs than I myself thought of: I press its widget icon to lock screen, it's a simple blank ICS background which is locked to prevent accidental pressing on something, then even better than the default lock security needs (cos it's only while I'm carrying it, in secure environments, that i ever need to use this temp lock function), and I have it set to 'shake to unlock' mode to simply go back to my work when ready! PERFECT for my needs above .