![]() |
[APP][Updated 08-10-08] StylusLock (v1.5) Integrated latest lock code from Details »»
|
|||||||||||||||||||||||||||
|
[APP][Updated 08-10-08] StylusLock (v1.5) Integrated latest lock code from
Supporter Last Online: Nov 2009
There are already a lot of applications to disable touchpanel and/or hardware keys for the Touch Diamond. I added another simple one:
StylusLock Youtube video StylusLock in action on wmpoweruser.com. Note that this video is version 1.1. New version 1.2 onwards has a StylusLock indicator and vibration is different Features: * Great to have *ANY* application locked, e.g. GPS navigation, Music player, Home screen, so you do not accidentally press touchpanel/hardware buttons. * Works with Touch Diamond * Works with Touch Pro. There are reports of shell32 crashes of version 1.2 onwards (with the lock indicator). Version 1.1 does work however. * Be able to put the Touch Diamond in your pocket with touchpanel and all hardware buttons locked. * Taking out the TD from your pocket: the touchpanel or a hardware button cannot be accidentally pressed when locked. * Avoid missed calls, by accidentally pressing the TouchPanel and/or hardware buttons. * With Bluethooth headset still incoming calls can be answered, although it is locked (confirmed by others) * No effect on Battery life. * Consumes no CPU cycles (only in case of an Stylus/Power event, no polling). Check it with a Task Manager!! * Use Stylus for locking/unlocking * Unlocked when on AC or USB power * Vibration when changing lock state to locked * Not having the Vibration bug of "SensorLock" * Lock indication in the notification area (v1.2 onwards) * Go to Suspend when locked and the backlight goes off (v1.3 onwards) * Possibility to overrule default behaviour (v1.4 onwards) What does it do: * There are 2 modes, "stylus lock mode" enabled and disabled - Mode 1 - enabled - stylus in = phone locked - Mode 2 - disabled - stylus in = phone not locked * You can toggle the "stylus lock mode", by taking OUT the Stylus and putting it back IN within 1 second (3 seconds in versions before 1.4) * In fact the second mode permits not to use the lock functionality, in order to use your fingers on the touchpanel and hardware buttons, rather than the stylus. * On startup/boot/reset it will be always unlocked and "stylus lock mode" is disabled * It will always be unlocked, when the Stylus is OUT * It will always be unlocked, when on ACPower/USB power * It will always be unlocked, when the program is exited * In "stylus lock mode 1", putting the Stylus IN and on battery-power, the touchpanel and all hardware keys will be locked * In "stylus lock mode 1", when switching to battery-power and the Stylus is IN, the touchpanel and all hardware keys will be locked * Vibrate once when switching to unlocked state (till version 1.1, version 1.2 onwards does not vibrate anymore, because there is a StylusLock indicator when locked, saves battery) * Vibrate when switching to locked state and/or "stylus lock mode" enabled How to use: * Choose your "stylus lock mode", by using the method above (toggle the "stylus lock mode", by taking OUT the Stylus and putting it back IN within 1 second) - e.g. if you want to put the TD in your pocket, enable "stylus lock mode" - e.g. if you have your TD lying on the table, disable "stylus lock mode" - e.g. you can also use always the "stylus lock mode" when your are fine to take out the stylus for unlocking (you do not need to operate the Power button anymore) How to go to sleep mode immediately AND locking the phone when in "stylus lock mode" Press the Power button and insert the Stylus. You will feel a vibration when the phone gets locked. In this way you do not rely in the Windows settings for going to sleep, it will go to sleep immediately. Version 1.5 * Integrated latest lock code from SensorLock 0.3.4 * Maybe this solves the reported crashes Version 1.4.1 * Fixed bug when lockTouchPanelOnly = 1 was set and a call comes in, the TouchPanel was unlocked. Now I reapply the lock on resume. * Because of the complaints of crashes, I now do the Add/Remove of the lock icon in the background. * Also there is a delay of 1 second before the icon gets added or removed and the lock status has not changed in that time. * However, I do not know if this solves the crashes, but you can give it a try. Version 1.4 * Solved the rarely occurring lockup bug * Changed the Stylus Out/In time from 3 seconds to 1 seconds * Made it possible to overrule the default settings via registry HKCU\Software\ZuinigeRijder\LockSettings Please use a registry editor to create the DWORD values, e.g. PHM RegEdit. A value of 0 means No and a value of 1 means Yes. The default DWORD value is also mentioned. Please make sure to do a soft reset after adding the appropriate overrule settings. * lockTouchPanelOnly = 0 * vibrate = 1 * beep = 0 * lockIndicator = 1 * suspendOnBacklightOff = 1 * unlockOnACPower = 1 * stylusAlwaysControl = 0 * stylusOutInToggleTime = 1000 There is a Stylus.reg attachment having the default values (thanks to Ddriver). Unlocking use case when "stylus lock mode" is enabled and e.g. a phone call is coming in.[/B] * Option 1 (when you want to use the Stylus or have place to put it somewhere): - Take the stylus OUT and keep it out - Answer/Reject the call with the TouchPanel or Hardware keys - When done with the call, put back the stylus IN * Option 2 (if you do not want to use the Stylus and have no place to put it): - Take the stylus OUT and put it back IN within 3 seconds ("stylus lock mode" disabled) - Answer/Reject the call with the TouchPanel or Hardware keys - When done with the call, Take the stylus OUT and put it back IN within 1 second ("stylus lock mode" enabled) (3 seconds for versions before 1.4). Unlocking use case when "stylus lock mode" is disabled and e.g. a phone call is coming in. - Answer/Reject the call with the TouchPanel or Hardware keys, because they are not disabled I would like to thank surfsmurf for his SensorLock software which made it possible for me to have a quick start in programming Windows Mobile and the trick of locking the touchpanel and hardware keys. Version 1.3 * Go to Suspend when locked and the backlight goes off (v1.3) (saves again extra battery automatically) ![]() * You can control this duration time via Windows Mobile power setting "backlight off time" * This way someone can also quickly put on the phone with the Power button to check e.g. the time. It will now fall earlier to sleep * So you do not need to wait too long for putting the Stylus back, if you do not want to toggle. * Again did some measures for preventing rarely occurring lockups. I am convinced the problem is not fully solved though :( Version 1.2.2 :) No longer vibrate when the backlight is on and it goes to locked, because the intention of StylusLock is to use no real extra battery: * Added that StylusLock will no longer vibrate when the backlight is on and it goes to locked. The visual icon is good enough in that case. * But if you put the TD to sleep first by using the power button or the backlight is off and thereafter locking the TD, then it will still vibrate for non-visual feedback. * Also did some measures for preventing rarely occurring lockups. Hope these improvement are liked, otherwise keep version 1.2.1. Version 1.2.1 * Found the problem why the icon was disappearing. So now I do not need to redo the locked icon each 55 seconds. No CPU usage again. * Apply the lock icon immediately AFTER it is really locked * Remove the lock icon immediately AFTER it is really unlocked * I had a lockup of the TD today (with version 1.2), so I do not hope this version is buggy * Added the missing sources (forgot to put under source control) Version 1.2 * Added StylusLock indicator when locked. Works for TouchFlo3D screen as well as other Today screens. * Because the StylusLock indicator is now visible if locked, it no longer vibrates when unlocked (saves extra battery) * Kept StylusLock as simple and small as possible (only 1Kb in memory) and does still consume no CPU (check with Task Manager!!). * v1.2 is even a bit smaller then v1.1, although the StylusLock indicator has been added. Version 1.1 When the stylus is put inside it will only vibrate if "stylus Lock mode" gets enabled and/or the phone is getting locked. If there is no vibration, you know the phone is not locked and "stylus Lock mode" is disabled. Added source code. Version 1.0 First released version Q: Why do you not shutdown the power (go to sleep) when locking is enabled[/B] A: Dependent of the usage, e.g. using GPS navigation or in a call, you do not want to go to sleep mode, because you still want to see the screen or operate. Now the sleep mode is just triggered by Windows Mobile settings, which should be convenient enough. But if you want to go to sleep mode immediately, press the Power Button and insert the Stylus IN. A double vibration will be felt, if the phone is locked. In version 1.3 onwards it will go to sleep when in styluslockmode and the backlight goes off. Make sure that your GPS software does not trigger the backlight off. I use OziExplorer and IGO 8, and there this works. In TomTom, the backlight goes off, so I do not know if there is a setting to disable that. If you do not want the phone to go to sleep when the backlight goes off, you can overrule the setting suspendOnBacklightOff in version 1.4. Q: Can you add a lock/unlock indication A:Added in version 1.2. Q: Can you add a method for locking by pressing a (TouchPanel) button A: I am looking into the NavSensor to unlock or lock possibility in addition of Stylus control. Q: Why do you not make it possible to disable only the TouchPanel A: In my opinion, only locking the TouchPanel will not avoid e.g. missed calls, because also the hardware keys can be accidently pressed (although a little bit less likely). There are also problems reported that it unlocks, when you do not answer a call. This version (also locking hardware keys) does not have this problem. However, I added the possibility in version 1.4 to overrule this via setting lockTouchPanelOnly. Q: Why do you not lock when going to/resuming from sleep mode A: When you are in "stylus lock mode" it will be locked already if the stylus is IN. Otherwise you have decided not to use the "stylus lock" feature. You just can put the TD on a table and do as if StylusLock was not active when "stylus lock mode" is disabled. Q: Why is this version better than SensorLock A: The GSENSOR gestures in SensorLock uses CPU by polling (and takes also more battery). Also the way of turning is not so easy always (drop your TD). StylusLock does not have the vibrate bug. Accidently turning may lock/unlock the TD. Stylus control is the simplest way to operate your locking, why need an extra method for it? Q: Is the Vibrate bug of SensorLock solved in StylusLock A: Yes, the vibrate bug does not appear in StylusLock. Q: Can you change the Vibrate into Beeps A: In version 1.4 you can overrule the default setting. Even you can use both or none. Q: Why is StylusLock better than other solutions? A: It consumes no extra battery/CPU and is as simple as possible but still powerful. It can be used in conjunction with other software and does not interfere with e.g. GSENSOR applications. Q: Can you please add this or that feature? A: The intention is that the program must be lean and mean and still be easy to operate. So yes, you can ask for features and I will consider them, if it is easy to do (complexity) and does not influence battery usage. In version 1.4 default settings can be overruled. If you need more advanced features or more control, take a look at other applications. Q: Which other solutions exist A: This is a list of other solutions * Get A Reward! Create A "answer Only With Hw Buttons" Option! http://forum.xda-developers.com/showthread.php?t=414731 * S2U2 * PDAVIET's dialer * CSDEVCTRL http://forum.xda-developers.com/showthread.php?t=386451 * SensorLock http://forum.xda-developers.com/showthread.php?t=422871 * Answerkeys Disabler http://forum.xda-developers.com/showthread.php?t=425650 Download Now
Show Your Support
|
|||||||||||||||||||||||||||
![]() ![]() |
| Tags |
| appupdated, code, integrated, latest, lock, styluslock, v15 |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [NEW] StylusLock v11 | BigAJ | WM And PPC Applications | 8 | 09-29-2008 07:34 PM |