Related
I know, I know... vijay555 just released a similar application earlier today. It seems we were working on the same thing at the same time. After discussing this with him in his thread: http://forum.xda-developers.com/viewtopic.php?t=45851
I've decided to go ahead and release my own version as an alternative.
The program can (and probably should!) be mapped to a hardware button using the Buttons control panel applet. I run mine on Button 4(hold) because I never use the voice recorder. This also prevents locking the device unintentionally.
I have also added two minor features to the application that some might find useful. You can optionally put the device to sleep after it is locked (same as pressing the power button) and you can configure a program to run just before the device is locked. This is useful if you have an application that you may want to look at frequently without unlocking the device. (Contacts, Calendar, a full-screen clock application, etc).
Both of these options are set in a control panel applet System->Device Lock.
NOTE: I know some people have use memmaid to register the lock application to run on wake up. If you do this, DO NOT select the suspend device option!! This will result in not being able to wake your device up for more than a few seconds (Wake up the device, your notification tells the device to lock, the lock process suspends the device, You wake up the device, rinse, repeat)
If you do this, all is not lost, just soft reset your device and uncheck the option to suspend in the control panel.
Here's a link to the installer (Requires WM5 PocketPC edition):
http://www.mr2-power.com/downloads/DeviceLock.CAB
You will likely need to soft-reset to see the new Control Panel applet.
*NEW* The latest version does NOT require the Lock Device today item to be loaded!
Enjoy!
-Matt Armstrong
Tried it on a BA and it works but change the default from suspend when locked since the applet doesnt show till after soft-reset. Thanks.
so you're saying make the default behavior NOT to suspend. Someone in another forum also requested the ability to blank the screen rather than suspend. I'll likely add this option in the next couple of days. I can change the default registry entry now though. A new installer should be up in a couple of minutes.
-Matt
Ok, yet another new CAB file has been uploaded. This new version has the option to suspend the device OR just blank the screen. If you blank the screen your programs will continue to run (and consume more power!). To restore the screen just press the power button. I also changed the default behavior after install to JUST lock the phone (not susped or blank). Everything else is the same.
-Matt
P.S. I appreciate all of the feedback very much. Keep it coming!
Thanks for the changes armstrom, ill download and test again. Thanks
Just installed and it works ok.
I have updated the software one final time for the night.
I have eliminated the requirement that the Lock Device today item be loaded. Now you can go unload that item and free up 20 pixels of screen real-estate For some reason this was a biggie to many people :? So it's finally done.
Keep the bug reports coming as you find them.
-Matt
great version. Without the plugin makes it invaluable. Maybe you can make as an option to hook it to the power button to get it to run when you power off? Or we can use vjkey for that
Well, I can add that option. In fact an early revision of the software did have it. I was just having inconsistent results with it on my MDA. For some reason the MDA wasn't firing the wakeup event if I suspend and then resume with just the power button. (press the power to suspend, then press again to resume). If I programmatically suspend the device, then I get the event every time. I can add it back in though if you want to try it on your device. Maybe you'll have better luck?
Edit: I just installed the new version vj's software and it has the same problem as mine. For some reason my phone does fire the wake-up event properly! I'll add the option back in to my software since it seems to work on other people's hardware just fine.
-Matt
Awesome!!
Man this place is great!
Armstrom, both you and VJ are awesome. This was the biggest single thing I've missed since buying my 8125. Since I use Xpress mail and the device wakes up when a message comes in, and if it's in my holster, and a button is gettind pushed, all sorts of weird things would happen.
So I had to always remember to go to Today, scroll down, hit the lock function...grrr.
But no more. I can't believe the terrific amount of support, hard work and resources you guys all contribute to these cool little gadgets.
Thanks again to both of you.
-JMS
If this can be made wot work reliably with power on events it would be awesome.
Thank you for putting these together.
One quick question...
I would love to have the Today screen as my default app to load on a lock action, however I can't find a way to do it. There is no .lnk file to point your Device Lock to.
I tried installing PHM Keys (as there's a Today .lnk in there) but it won't install in WM5.
Any programatic way to invoke/call the Today screen from a shortcut/lnk file so I can point the Device Lock to that file so Today is always showing when I lock my phone.
Thanks again, you guys are great.
-JMS
(Apologies for multiple entries - posting problems)
(Apologies for multiple entries - posting problems)
(Apologies for multiple entries - posting problems)
Great job Matt.
One quick question for ya - I would like to keep Egress running on the today screen when the device is locked. When I choose NOT to suspend the device or blank the screen, the today screen shows but the egress app is not cycling thru the latest news (it sticks on the last before the lock).
Is there any way to keep Egress at least cycling thru the news it d/l before the lock (if not allowing it to continue to update at egress specified times)?
Thanks again!
Thank you
A very useful app!
jkimrey said:
Great job Matt.
One quick question for ya - I would like to keep Egress running on the today screen when the device is locked. When I choose NOT to suspend the device or blank the screen, the today screen shows but the egress app is not cycling thru the latest news (it sticks on the last before the lock).
Is there any way to keep Egress at least cycling thru the news it d/l before the lock (if not allowing it to continue to update at egress specified times)?
Thanks again!
Click to expand...
Click to collapse
I'm really not sure how to solve that issue. I've never use the application you're talking about. Perhaps it is detecting the device being locked and not updating itself? I'm really not sure.
-Matt
Matt,
I think it must have something to do with the phone being in locked mode. I've found that when the phone is locked, the screen will go black after a couple seconds for both the lock on the today screen as well as when using a hardware button thru your application.
When I use the today screen app, after tapping the screen when black, it will display the today screen with the cycling headlines.
When I use your lock app, however, and tap to get the screen back, it doesn't cycle. If I hold down the power button and then turn it back on after being locked by your app, however, it does cycle.
Not a huge deal, just found it interesting...Wonder what would be different between the included today screen lock and your lock app that would cause this?
Thanks again!
armstrom said:
jkimrey said:
Great job Matt.
One quick question for ya - I would like to keep Egress running on the today screen when the device is locked. When I choose NOT to suspend the device or blank the screen, the today screen shows but the egress app is not cycling thru the latest news (it sticks on the last before the lock).
Is there any way to keep Egress at least cycling thru the news it d/l before the lock (if not allowing it to continue to update at egress specified times)?
Thanks again!
Click to expand...
Click to collapse
I'm really not sure how to solve that issue. I've never use the application you're talking about. Perhaps it is detecting the device being locked and not updating itself? I'm really not sure.
-Matt
Click to expand...
Click to collapse
Ok, I have added the option to lock the device on wake-up. Note: I have not been able to test this because my device does not properly send wake-up notifications. If someone could give this a try and let me know if it works I would appreciate it.
I have also added command line options to override the configuration specified in the control panel applet. The options are as follows:
-o:* Overrides the lock options and takes a number 0-2.
0 = Lock Only
1 = Lock then Suspend
2 = Lock then Blank Screen
-r:* Overrides the application to run after locking. This must have Quotes around it. Specifying -r:"" will prevent the default application from running.
Here are some examples:
Blank the screen and run the calculator.
DeviceLock.exe -o:2 -r:"\Windows\calc.exe"
Just lock and don't run anything
DeviceLock.exe -o:0 -r:""
You do not need these command line options if you just want the device lock to always follow what you have specified in the applet. These are only to optionally override the specified behavior. Some people on another board expressed the desire to have the device lock in two different ways depending on what they were doing. This is the way
Again, please let me know if the lock on wake functionality works or not
The cab is in the usual place.
-Matt
Here are some examples:
DeviceLock.exe -o:2
Hi,
After a couple of days playing with the HTC touch HD I noticed that I can not lock the device anymore by long pressing the end key. I have looked into the settings and it clearly states that long pressing the end key should lock the device.
whenever I long press the key I see the some screen refresh but the device is not locked.
If I switch off Touchflo3D and show the device lock on the today screen, then the device gets locked. Could this be a bug in touchflo3D?
I would hate to have to perform a hard reset just to fix this issue...
If anyone knows a solution, please let me know.
Edit: well, I found the reason why this happens. Once you setup a password for your device, it stops locking the device using long press end button. It sucks, but I can live with it...
Looks like a hardreset is the only way to go.
Lucas0511 said:
Looks like a hardreset is the only way to go.
Click to expand...
Click to collapse
If I perform a hard rerset, will I still have all the applications that came standard with the like touchflo3d and google maps? or will I need to reinstall some of the applications myself?
You will have them. It will reset to factory settings, original ROM plus all installations HTC chose to put on the HD.
this hasnt worked on mine from the moment i got it, so i suppose a hard reset isnt going to fix things (?).
indup said:
this hasnt worked on mine from the moment i got it, so i suppose a hard reset isnt going to fix things (?).
Click to expand...
Click to collapse
in my case it was working fine....until it stopped working. Looks like a bug in touchflo3d, because you can still use the default device lock from the today screen. that one works...
david-v said:
in my case it was working fine....until it stopped working. Looks like a bug in touchflo3d, because you can still use the default device lock from the today screen. that one works...
Click to expand...
Click to collapse
yes that one works when you turn touchflo off but the touchflo end key press never worked.
Can someone confirm that you no longer get a choice of action for the Long Press End Key, i.e. it locks the device and that's it. On the diamond you are able to choose an action or choose the display choice list.
Thanks, cojo
cojones said:
Can someone confirm that you no longer get a choice of action for the Long Press End Key, i.e. it locks the device and that's it. On the diamond you are able to choose an action or choose the display choice list.
Thanks, cojo
Click to expand...
Click to collapse
You can configure it. standard it will lock your device, but you can also choose to show a choice list.
david-v said:
You can configure it. standard it will lock your device, but you can also choose to show a choice list.
Click to expand...
Click to collapse
A-ha...found it, they moved it to the Button setting (not one for reading the manual). Now...what about the 'Lock all buttons on device lock' setting?!
indup said:
this hasnt worked on mine from the moment i got it, so i suppose a hard reset isnt going to fix things (?).
Click to expand...
Click to collapse
This is the same with me and I've not touched push e-mail or exchange server settings. I've only had the phone for 36 hours so not done much at all. The first thing I went to try and do was lock the phone and it didn't work. I'm reluctant to do a hard reset as it didn't work out of the box.
Did you try a hard reset? Did it solve the problem?
no i didnt try a hard reset,didnt think it was worth it just try to get the lock to work.
Has anyone else had the same problem with it not working right from the start and tried a hard reset? If so, did it solve the problem?
spikeysas said:
Has anyone else had the same problem with it not working right from the start and tried a hard reset? If so, did it solve the problem?
Click to expand...
Click to collapse
I performed a hard reset and then it worked again. But after setting up exchange, it stopped working. The device lock on the today screen still works though, but not from touchflow3d
I decided to go for it and do a hard reset. The device lock still didn't work. All I had done was follow the original setup screens after the reset. During this I set up Lock with a simple PIN and to prompt for it after an hour of inactivity. If I remove the settings from Lock I can then use Device Lock on long press End key but I can't use both.
This is rather frustrating as I had simple PIN (paranoid as had an Ef stolen a few months ago so at least this would stop them accessing any info stored directly on the device as they would have to do a hard reset to clear it) and Device Lock set up on my Elf which worked absolutely fine.
Has anybody managed to get both working together on the HD? I use the Device Lock to stop any buttons being pressed when I don't want them to be and the PIN so it's harder for people to access any of my personal info if the phone is stolen (not that I intend for this to happen again!). I really would like both to work together!
Just spoken to CS at Orange and they have no idea if this issue with only able to have either Lock or Device Lock working at any one time is specific to my device or whether everyone is affected. If anybody is able to try and let me know their results I'd be grateful as I don't know yet whether I need to send the phone back as faulty.
spikeysas said:
Just spoken to CS at Orange and they have no idea if this issue with only able to have either Lock or Device Lock working at any one time is specific to my device or whether everyone is affected. If anybody is able to try and let me know their results I'd be grateful as I don't know yet whether I need to send the phone back as faulty.
Click to expand...
Click to collapse
Just confirmed that removing the password re-enables the device lock. Nice find!
I am on Vodafone.
I assume that one of the manila files in \Windows is checking a registry entry. I wonder if it is possible to make a change that allows both functions to co-exist.
david-v said:
Edit2: well, I found the reason why this happens. Once you setup exchange server for push mail, it stops locking the device using long press end button. It sucks, but I can live with it...
Click to expand...
Click to collapse
I have Exchange with Push and still works for me.
Steve James said:
Just confirmed that removing the password re-enables the device lock. Nice find!
I am on Vodafone.
I assume that one of the manila files in \Windows is checking a registry entry. I wonder if it is possible to make a change that allows both functions to co-exist.
Click to expand...
Click to collapse
Thanks for the reply. I guess that confirms that it's not specific to my device! As I mentioned before both functions did co-exist quite happily on the original Touch (Elf) so it is possible. I wonder if it is related to the newer style TouchFlo3D and if anyone experienced the same issues on the Diamond or the Touch Pro?
I hope it is something that could be sorted with "tweaks" to certain files or registry entries. If anyone finds out how to solve it I for one would be very grateful!
tnyynt said:
I have Exchange with Push and still works for me.
Click to expand...
Click to collapse
Did your exchange policy force you to setup a password? it appears to be the problem. When you setup the device initially with a password, then you cannot lock the device anymore using the long press of the end button. Device lock in today screen always work, the problem is the long press of end button, that stops working as soon as you have a passwaord set up.
I have a Kaiser, and there's nothing more irritating than accidentally bumping a button while having the phone in your pocket, then having random things in your pocket scroll through your address book until it calls someone. Or opens up IE and finds a high-bandwidth website. When you don't have a data plan.
Things like this hurt. I've been trying to find a solution to it, and I happened to stumble upon an olllllld application on another forum. It's called AutoLock. I found it Here.
Anyways, long story short, it uses the built-in Windows Mobile screen lock and turns it on whenever the phone's screen turns on. So hitting the power button is enough to lock your phone. It's super convenient, and for the most part, it's not too buggy.
I've been using this for probably over a month now. It's a lifesaver. I had the .exe on my SD card, and every time I reflashed, I had to make a new shortcut and place it into the startup folder. So tonight, I made a CAB file out of it.
I hope you guys get as much use out of it as I do.
A quick note: It runs in the background. Terminating it will not allow it to function. The CAB will add a shortcut to the startup folder, so a soft reset will start it. Otherwise you can start it from the shortcut in the Programs folder.
Frequently Asked Questions:
Q: Is there a way to disable the program window that pops up after a soft-reset?
A: There is no way to disable the message screen on startup. Just hit the X in the top right corner, and it should minimize out of sight.
Q: When receiving a call, does the answer button and screen stay locked?
A: The answer button and the screen both unlock when the phone is ringing. If the call is answered/ignored/stops ringing, the screen will be re-locked.
Q: Will it work with my phone?
A: This program has been confirmed to work on a few models. I believe that it should work on pretty much any touchscreen device running Windows Mobile. Please, try it and tell me if it works!
Tested Phones:
Kaiser (ATT Tilt)
Touch Pro (Fuze)
Xperia
racer7 said:
I have a Kaiser, and there's nothing more irritating than accidentally bumping a button while having the phone in your pocket, then having random things in your pocket scroll through your address book until it calls someone. Or opens up IE and finds a high-bandwidth website. When you don't have a data plan.
Things like this hurt. I've been trying to find a solution to it, and I happened to stumble upon an olllllld application on another forum. It's called AutoLock. I found it Here.
Anyways, long story short, it uses the built-in Windows Mobile screen lock and turns it on whenever the phone's screen turns on. So hitting the power button is enough to lock your phone. It's super convenient, and for the most part, it's not too buggy.
I've been using this for probably over a month now. It's a lifesaver. I had the .exe on my SD card, and every time I reflashed, I had to make a new shortcut and place it into the startup folder. So tonight, I made a CAB file out of it.
I hope you guys get as much use out of it as I do.
A quick note: It runs in the background. Terminating it will not allow it to function. The CAB will add a shortcut to the startup folder, so a soft reset will start it. Otherwise you can start it from the shortcut in the Programs folder.
Click to expand...
Click to collapse
Nice one mate!
I assume you can also use this on a Touch Diamond??
neways, I will give it a shot....
Thanks for your work
Regards
Jeroen
thanks
racer7 said:
I have a Kaiser, and there's nothing more irritating than accidentally bumping a button while having the phone in your pocket, then having random things in your pocket scroll through your address book until it calls someone. Or opens up IE and finds a high-bandwidth website. When you don't have a data plan.
Things like this hurt. I've been trying to find a solution to it, and I happened to stumble upon an olllllld application on another forum. It's called AutoLock. I found it Here.
Anyways, long story short, it uses the built-in Windows Mobile screen lock and turns it on whenever the phone's screen turns on. So hitting the power button is enough to lock your phone. It's super convenient, and for the most part, it's not too buggy.
I've been using this for probably over a month now. It's a lifesaver. I had the .exe on my SD card, and every time I reflashed, I had to make a new shortcut and place it into the startup folder. So tonight, I made a CAB file out of it.
I hope you guys get as much use out of it as I do.
A quick note: It runs in the background. Terminating it will not allow it to function. The CAB will add a shortcut to the startup folder, so a soft reset will start it. Otherwise you can start it from the shortcut in the Programs folder.
Click to expand...
Click to collapse
this is a very usefull program.is there anyway to disable message screen when program start after softreset?thanks a lot in advance
It's unfortunate that I didn't create this program. I only found it through about six months of searching on the internet. Maybe a friendly XDA-Developer could write a similar program and keep it updated with new features!
As far as I know, there's no way to disable the message screen on startup. Just hit the X in the top right corner, and it should minimize out of sight.
As for if it works on a Diamond... go try it and tell me how it works!
Awesome program! Thanks
Looks interesting. Thx for sharing!
racer7 said:
It's unfortunate that I didn't create this program. I only found it through about six months of searching on the internet. Maybe a friendly XDA-Developer could write a similar program and keep it updated with new features!
As far as I know, there's no way to disable the message screen on startup. Just hit the X in the top right corner, and it should minimize out of sight.
As for if it works on a Diamond... go try it and tell me how it works!
Click to expand...
Click to collapse
yep i am just hitting x .it works in my xperia without problem.thanks again.
So what happens when a call comes? Does it lock the answer button too? And the screen?
kull said:
So what happens when a call comes? Does it lock the answer button too? And the screen?
Click to expand...
Click to collapse
Since it's the inbuilt Windows Mobile locking setup, when a call comes in, the phone is still locked, but the answer skin floats above the lock. So the screen "unlocks" so you can answer or reject the call, but it locks as soon as you answer or ignore it again.
I've discovered, using my Jade, that you can do the same thing by just setting the built-in Windows Mobile device lock to 0 minutes... You'd need to provide a password, though...
First press of the power button puts the phone to sleep... Press it again, it will ask for your password to unlock...
I have a problem when booting my phone in terms of trying to enter the password code for the sim when windows starts up. The screen pops up for this but does not allow you to properly enter the 4 digit code before other screens appear such as the Mobile Shell3 front end etc, meaning I can't make calls straight away.
In order to access the password screen properly I then have to go to comm manager, turn off the cellular radio then toggle it on again so that I am prompted with the sim unlock code, and it then can be input.
This is a bit of a pain & makes the whole soft reset process longer & more messy so if anyone knows how to get round this I'd be really pleased.
Got to admit though I LOVE SPB shell 3 so far. It's like Winterface but much better, especially with the registry hacks that allow you to extend the shortcut screens. Will be buying this once the trial expires (assuming you actually can buy it now...).
I have the same problem. Have to say that your way of resolving it is quicker than mine, though. Until I read your post, I was exiting MS3, enabling then disabling TF3D in order to get the password prompt.
I'd like a permanent solution, though.
Pretty sure I still had this problem before installing MS3 but it wasn't as bad. Beforehand the code screen would appear, then other stuff would appear over it, then once it had nearly finished booting it would re-appear and allow you to enter the code, but now that does not happen.
Hi guys. I've been trying to search for this problems i've encountered on my X2 and i simply can't find any answers for it.
I have few minor problems which i want to ask.
1. My device keeps on charging even if the led image says that it's already 100%. I only assumed it is still charging because it is well written on its Status right above the led image.
Is this normal, and is there a way to fix this if ever? I'm worried that my battery gets overcharged if i wont to anything about this.
2. Sometimes my camera button fails to work. It happened several times now that when i try to activate the camera using its button on the right side the camera doesn't appear right away. Another thing, sometimes when i'm trying to take pictures and i pressed the camera button, the camera will just pause for a while and then green square boxes will appear on the screen. No image will be taken. Is that normal? or my camera is having problems?
3. I also noticed that the contacts are filtered by to view all contents (sim and device contacts) by default. I set mine to filter it to be able to just view the device contacts but whenever i open the contacts it reverts back to its default filtering which is "All Contacts". It is very useful at least for me to use the device as the contact's handler because my sim has limited memory and is divided into 2 parts. The first part is the one that appears and the other one can only be viewed if you disable the first part and make the 2nd part available by using the sim services embedded with it. So what i did was i copied all the 1st part and the 2nd part sim contents to my device and i was planning to hide them and use the phone's memory as the handler for contacts.
It was then that i realized the filtering problem. RIght now all copied contacts from my sim appears as well as the other part of the sim which is enabled. Which makes a lot of duplicated contacts (one from the device and one from the sim).
Is there away to make the phone permanently filtered in the device contacts?
4. I saw some of you guys teaching some members here to edit the phone's registry. Can i request for a 3rd party software to do that. Or can i just go directly to the mobile's registry and edit one of it (I don't know to do that by the way :-I )
5. Lastly, is there any way to activate the screen in order for me to unlock it? when the phone is locked and in stand by mode i can't seem to find any buttons to activate it. I am unable unlock the phone because the slide unlock button is not appearing.
What i'm doing to activate the slide unlock button is to press the power button or to slide the qwerty keyboard. I was hoping there are other ways to do it though just like on old phone wherein you can press the menu button and the asterisk key .
One last thing to end my post, please give me a Total Commander link too.
All replies would be very much appreciated sir/ma'am
To the moderators, please lock this thread if ever i violated rules. I just can't seem to locate any answers for my queries that's why i decided to created a thread with all my questions in it.
Thanks in advance.
its too early but ill try to answer some
1. same problem dunno if it hurts
2.never had problems with camera except sometimes failed (needed reboot) to start but i think people found out they had not enough memory - if im not mistaken
3.no clue
4.
use http://www.ghisler.com/pocketpc.htm
5.
nope the power button is ment for itit turns the screen on/off and has some other options aswell
indycar said:
its too early but ill try to answer some
1. same problem dunno if it hurts
2.never had problems with camera except sometimes failed (needed reboot) to start but i think people found out they had not enough memory - if im not mistaken
3.no clue
4.
use http://www.ghisler.com/pocketpc.htm
5.
nope the power button is ment for itit turns the screen on/off and has some other options aswell
Click to expand...
Click to collapse
Thanks for the reply.
Hmmmmm, regarding my query on the contacts filtering, i'm sure there is a registry tweak to for that. I was trying to look for it last night but i wasn't able to locate it.
Perhaps there are geniuses here that can do that for us.
Registry Editing to make the contacts filtered on "device contacts" by default. The default by the way is filtered as "All Contacts"