yashsingh1/xdaforums huggingface dataset:
[Touch Diamond, MDA Compact IV Themes and Apps] lexluthor:
I don't know if it's just me, but unless I uninstall the old version first, I wind up with 2 versions in add/remove.

Is there any way you could build your installer to uninstall the old version before the new version gets installed? That's pretty much how much programs I've used works.
[Touch Diamond, MDA Compact IV Themes and Apps] JoeSchmoe22:
Just installed v1.7 WIP2 and it appears to be working great on my CDMA Diamond!! No more 20 second delays to turn on after a power-off, no more random unlocks in my pocket. I haven't tried the touch panel only, but the light sensor is working so well, I don't think I need to worry about it. I'll wait the 2 second delay to let the light unlock the device. Before I couldn't get the light sensor to work so great so I had to rely on the 3 touch or "touchpanelonly" to leave the hardware keys unlocked.

Thanks for all your work!
[Touch Diamond, MDA Compact IV Themes and Apps] m4j2t:
CMDA diamond touch pro:

Testing now, sorry for the delay. The power button issue is fixed ONLY if I put it to sleep with the power button (physical), or if the devices times out. It comes back on locked first press of the power button 99% of the time. This is ONLY if I suspend the device with the physical power button--works reliably in both portrait and landscape modes. (keyboard stowed and extended) :DGREAT JOB--this was a deal breaker for me.:D

If I use the ZZZ icon to suspend it, the power button will not wake it up. I have to remove the stylus or crack the keyboard. This may be as you intended it? I kind of like it this; it's like another layer of security. Now I can choose the method of waking by the procedure I use to suspend it.

Separate issue: If I wake the device by sliding open the keyboard the bat-clock SOMETIMES repositions all the way left and covers half the EVDO icon. I can then see the stock BATT icon. Sometimes the bat-clock moves itself back, sometimes it doesn't. This only happens if I wake the device by sliding the keyboard. If it's unlocked and I slide the keyboard the icons stay the way you intend them. I'll try to get a screen shot, but it won't be quick (traveling).

What does the upper-right icon do again? It doesn't respond to touching? The power off, soft reset, lock, and settings icons all work, even though you can not save the setting changes yet.

Your app is coming along nicely :)
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Great to hear 1.7 WIP2 has solved your problems :)
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Great. It did costs me some headaches to find the problem. The different possible power states were causing the problem, a little mistake in my program was the cause for the problems for some people....

Thanks for the donation :)
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Yes it works, the middle button does write the registry changes. But there is no feedback. Probably I go to write the registry changes 'automatically' when pressing the previous or next button.

Great, so my effort in combination with the test effort of numerous people eventually pays off. Thanks :D

PROBLEM 2. This is not a problem, because it will automatically lock at power on, very fast.

PROBLEM 3. This is not a problem, this is because of the setting AutoLockOnPowerOn. Related to previous answer.

PROBLEM 4. The hardware locking method I use does lock all buttons, also the power off button. So this is normal behaviour. You indeed need to unlock first, before you can press the power button to go to sleep, or wait on the backlight off setting to suspend.

I still looking into an alternative way of locking the hardware buttons, but then that should be based on the LockTouchPanelOnly and capture all hardware keys myself. So this takes more investigation/development effort.

Also I implemented your request to independent configure the number of vibrates for Lock and Unlock (VibratesLock and VibratesUnlock setting).

TouchLockPro does automatically reread the settings. But some will not yet effective immediately, before the next startup (probably logdebug settings, clock position, etc.). But most of the others will be effectively immediately. Although not yet fully finished/tested, I made this already available in WIP2, so you can use this already for changing the registry. But if you want to be sure the values are picked up, you need to restart TouchLockPro via the Programs folder or softreset.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Probably this is because I have a version name in the installation. Some people liked the fact that they could look up which version they did install. I use the 'normal' way of installing/uninstalling. It is always best to uninstall the previous version first before installing a next version.

Especially if locations of software has been changed, it is better to always uninstall the previous version, also with other installers. Otherwise software can be left over in other locations.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Problem 2 is normal with the hardware lock API I use.

The hardware locking method I use does lock all buttons, also the power off button. So this is normal behaviour. You indeed need to unlock first, before you can press the power button to go to sleep, or wait on the backlight off setting to suspend.

I still looking into an alternative way of locking the hardware buttons, but then that should be based on the LockTouchPanelOnly and capture all hardware keys myself. So this takes more investigation/development effort.

I will consider these wishes or ideas. Definitely the gesture part is something I will implement. I also want to see if I can enable the PIN lock when it goes to locked (if configured).

The problem with the phone slider is, from my opinion, that it is a window over the other screens, so the real information cannot be seen. That is the great point of TouchLockPro. It does not interfere with other running programs and what is shown.

As I understand, it is not possible to have a *REAL* transparent window cover the whole or part of the screen in Windows Mobile. If it can and someone can me provide the source code for that, I can consider that.

For locking only incoming calls there are also other alternatives, like answerkeys disabler.....
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Great to hear it works also on CDMA Diamond. Enjoy my software ;)
[Touch Diamond, MDA Compact IV Themes and Apps] fourcc:
WOW ZuinigeRijder, you answer post by post! This is what i call great support.

thanks a lot for giving us your time.

yes of course but one tool for every locking situation is better and answerkeys disabler doesn't locks harbuttons and touchpanel.

BTW i don't know anything about programming but it seems an easy feature to implement to TLP, or am i wrong? ...just as an option ( lock every screen turn on or only when receiving sms and calls)
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Great that the major problems you did encounter are solved.

This is not the intention. I cannot explain why the ZZZ button is not working, I have no problems with it. Can you enable debug logging and post the logfile as attachment?

I detect once per second if the orientation is changed (portrait or landscape). If you open the slider, it will automatically switch to landscape. This will be detected by TouchLockPro within a second and it will be repositioned according to the negative ClockX setting (I assume you have that too, the default value).

Maybe I do this not correct for the locked BattClock. I will have a look at my source code.

The upper right icon should just exit the TouchLockAction screen.

For saving the settings, you need to press the middle bottom button (accept button), but there is no feedback. Probably I will couple this just to the previous and next button (auto-save). Although TouchLockPro will reread the settings, not all of them are effective immediately yet. So for some you do need to stop/start TouchLockPro via the programs folder or do a soft reset.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Yes, a configuration option to just lock when receiving sms and calls seems doable. The code is not so difficult, so I will have a look if I can implement this in one of the next versions.
[Touch Diamond, MDA Compact IV Themes and Apps] Slide:
Hi ZuinigeRijder,

thanks for your perfect programm and support!

I send you a Donate.

Greeting

Slide
[Touch Diamond, MDA Compact IV Themes and Apps] lexluthor:
I don't know. With almost every other program I use, when I click the .cab install, it first uninstalls the old version as part of the .cab install. This should really work this way.

Anyhow, everything seems to be working fine for me.

The only thing I can think of now, would be another way to unlock. I'm finding the capacitive touch to be too difficult sometimes. I don't know. Sometimes it works easy, sometimes it doesn't. I'm not sure if it's touchlockpro or if it's the phone (which I think is possible). The stylus is a 2 hand unlock, so that's not easy to do in some situations.

Perhaps the gestures you said you may add would solve this problem for me.
[Touch Diamond, MDA Compact IV Themes and Apps] MRE-net:
Ok thanx for your reply and the way you explain it had changed my mind on how to lock and unlock my device. I just have to get used to the hardware button being locked when wakeing up my device. Will take me a minute ;)

Ok then...I think it's perfect now. Also read the suggestions in the other post about adding a slider etc etc. I think you should keep it this way. The core functionality works and that is what is was all about. Adding new features like sliders and screens on top of screens will bring new problems.

Will send you a €10 donation for your hard work and great service. Now I can get my device out of my pocket without using the top of my thumb and pointing finger and getting a bit rough on my diamond. Nice..... :yes:

Edit - Donation made....Thanx again....

Also, a few things.

When editting the settings, you there isn't an option to use the keyboard.

When enabling the battstripe, the program crashes

When setting the clockx setting, the first time it works but after a softreset, it doesn't work anymore and I have to deinstall and reinstall the whole program.

When enabling Stealth, all values are set to 0. When disabling Stealt, all values should be original again.
[Touch Diamond, MDA Compact IV Themes and Apps] m4j2t:
Here's a log

The upper right IS working. It was late I must have been mistaken.

I did get the registry changes to save by clicking the middle button. :)

I tried uploading but the log file is 44kb, and I can't upload a rar file... I'm working on it
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
With WinRar you can save it also as a zip file. That one can be uploaded.
[Touch Diamond, MDA Compact IV Themes and Apps] DomSim:
k after a day with wip2 have one issue to report and one request. for the issue, after several correct lock and unlock events touchlockpro seems to get stuck in a loop where the stylus will ALWAYS toggle the lock no matter the time i wait. my toggle time is set to 2 seconds and when it gets stuck in this loop i can wait any amount of time reinserting the stylus locks the device.

for a feature requests, someone else already mentioned it, to turn the screen off after 10-20 seconds after being turned on if no unlock event occurs. that way if you get a text and the device wakes up but you can get to it the phone does not stay on in your pocket. i know we can turn on an option like this in the power setting but i do not want my device to turn its self off all the time. only when it is locked.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Normally, when it is in LOCK mode, it will also lock when the stylus is put in. When you toggle the lock mode to disabled (taking stylus out and putting the stylus back in within 2 seconds), it will not lock anymore. Also when the phone is powered on, it is automatically in LOCK mode, so taking out the stylus and putting it in later, it will lock again (or it must be unlocked by triple touch or light sensor).

Maybe this was the case with you?

Or do people want the mechanism, that when the stylus is taken out, it is by default also in the UNLOCK mode and when the stylus is put back it will not lock again :confused: The LOCK mode was made when there was only the Stylus for locking/unlocking (StylusLock).

That is exactly what the setting SuspendOnBackLightOff=1 does. You only need to set the Windows Mobile setting for backlight off to the wanted seconds (e.g. 10 or 20 seconds). Note that the suspend setting for Windows Mobile is independent of the backlight off setting. Only when the phone is locked, it will suspend, when the backlight switches to off. In normal unlocked usage, the backlight goes also off (good for battery), but it does not suspend. You can enable the backlight again, just by pressing the ok hardware button (the middle circular button), when it is unlocked.
[Touch Diamond, MDA Compact IV Themes and Apps] DomSim:
i thought it would only lock with the stylus when it it removed and inserted within the set toggle time? so it is supossed to lock with each time the stylus is inserted? can this be disabled so that the stylus cannot lock but can still unlock?

as far as the backlight setting, as i said, i do not want my backlight to turn off all the time. for instance if the backlight is set for 30 seconds and i am reading a post online, it willturn the backlight off all the time. i would prefer touchlockpro to switch it off so during normal use my backlight never turns off but when locked by touchlockpro and the device is woke up by a text or a call then it will turn off automatically in a user set amount of time. if this is not possible then so be it, but i dont think im the only one who would appreciate this option. anyhow, thank you for all your hard work. it really is appreciated.
[Touch Diamond, MDA Compact IV Themes and Apps] Bäcker:
your idea would make it impossible to use the phone as an alarm clock. When the alarm rings und touchlock puts it back into suspend then the alarm will stop.

it's good to save battery one incomming events like a msg or call you can't or won't answer.. but it would be a problem in events which need to keep the phone on in order to work
[Touch Diamond, MDA Compact IV Themes and Apps] DomSim:
definitely not impossible. i have been using klaxon with s2u2 since i got this phone months ago. s2u2 i believe checks for processes running and determines if it can be blocked or let it pass. so it is most definitely possible. and for me at least would make this damn near perfect.
[Touch Diamond, MDA Compact IV Themes and Apps] Bäcker:
But thats probably one of the reasons why s2u sucks your battery emtpy ;) (monitoring a lot of processes)
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
I want to keep TouchLockPro lean and mean, with no battery drainage. Only additions which are functional and making the program not too big I will consider. And IMHO the backlight off possibility is just good enough for this purpose. If you have a program which needs to be on and keeps the backlight on (e.g. GPS), TouchLockPro will not try to suspend when locked. I have my backlight setting on battery power for 30 seconds and that is very workable in daily practice.

With the new TouchLockAction configuration settings, you can even switch very fast between the different settings, because you want to use it differently for a special purpose (e.g. toggle the SuspendOnBacklightoff, disable the light sensor). You even do not need to restart TouchLockPro in the upcoming 1.7 version, when you change settings.

Some comparisons with respect to lean and mean:

* TouchLockPro is only 33 Kb in memory!

* PocketShield is 1.7 Mb (50 times more)

* S2U2 needs 4 Mb free ram (125 times more)

And S2U2 is known as battery drainer (although later versions are a bit better).
[Touch Diamond, MDA Compact IV Themes and Apps] Wond3r:
the bottom left button on the action screen thing no longer just suspends the phone, its the settings. There is no button on the action screen that just suspends the phone... or am i wrong
[Touch Diamond, MDA Compact IV Themes and Apps] mzshortay:
Sorry for such a delayed responce, but I had been quite busy.

I'll try and see if I can work on this tomorrow. And let you know the results.

Like you had said, you never know.
[Touch Diamond, MDA Compact IV Themes and Apps] at10ti0n:
i think i found a bug in test versiun 1.7 wip2 if LockTouchPanelOnly = 1 then the both screen and capacitive is unlocked
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Yes, you are right. I have replaced the "Suspend" with the "Settings". The following considerations lead to this:

* the default setting AutoLockOnPowerOn=1 makes the LockSuspend do the same as Suspend

* You can also just press the Power button to go to Suspend

* You can configure a soft-key or hard key to suspend immediately via \Windows\TouchLockAction.exe Suspend (see post #4)
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Thanks for the donation :)

Yeah, the Action settings screen were not yet fully finished (WIP). Most of the issues mentioned I have resolved already locally. I am still learning programming Windows Mobile, now you can enable the SIP keyboard, but it obscures mostly the input boxes. I am looking into this, but apparently programming the SIP is not so easy.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
I have changed indeed the locking design of the "LockTouchPanelOnly = 1", I do no longer reapply the touchpanel lock regularly. What I can imagine is that the current design only works when my locking panel is the topmost one. On the other hand, this locking design is the same as in SensorLock.

Do you have a CDMA phone? Which (special) programs are installed?

Can you enable debug logging (logdebug=1 and logdebugdetailed=1) and post the log-file as zip attachment (see post #3). This helps in finding the cause.

Others also having the problem that "LockTouchPanelOnly = 1" is not working :confused:

Please provide me your phone type and also respond if it WORKS with your phone.
[Touch Diamond, MDA Compact IV Themes and Apps] SimonW500:
Just a quick note/follow-up on this one:

Once your security lock is setup on a time delay (ie. mine on 5 mins), going to Start>Settings>Lock does NOT lock your device; instead all it does is bring up the interface to alter your lock settings, by way of first asking you to enter your current PIN and then showing you the settings. Try it - 'lock' your device in this manor, switch it off if you like when you consider your device to be 'locked', then try and use it.. while it looks as though it's locked (same PIN entry interface) you can in fact just select cancel (or hit one of the hard keys - Home, Back etc) as it is in fact not locked at all but instead like I said just showing the PIN entry screen pre-altering the settings!!

Oh well..
[Touch Diamond, MDA Compact IV Themes and Apps] at10ti0n:
i have a touch pro gsm phone. Programs i have installed: wkTask, spbMobileShell, gyrator... i will post later the log, i'm at work now sorry :(

a mention: previous version (1.6) worked ok on my phone with locktouchpanelOnly = 1
[Touch Diamond, MDA Compact IV Themes and Apps] Bäcker:
XDA Diamond and i use LockTouchPanelOnly which works just fine.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Using Google as my friend, I found another API which could trigger the PIN lock: SHDeviceLockAndPrompt

You could try the action screen in the provided attachment, the LockScreen and LockSuspend (first and second icon) calls this API. Maybe that works?

Just put the exe inside the ZIP somewhere on your phone and execute it.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Hmmm, the logging looks Ok, it says that it did lock.

In the 1.6 design I constantly (once per 250 ms) I did reapply the lock in case of LockTouchPanelOnly=1. I did not like that design (still not) and it was more a hack to keep it locked. So I did change the design, so I should always be locked. For others it seems to be working Ok :confused:

I do not like to reintroduce this constant (configurable?) locking. Is it for all touch pro gsm phones not working?
[Touch Diamond, MDA Compact IV Themes and Apps] dinfinity:
Goed werk!

ZuinigeRijder, nice job at TouchLockPro. Save from some minor issues, it is _exactly_ the lock tool I've been looking for.

Unlocking using the light sensor is pure genius!

Now for the issues that I think should be adressed:

1) Wakeup on battery low does _not_ lock my phone. Shouldn't TLP be locking on display off?

2) I also experience an earlier mentioned issue: Sometimes taking out the stylus and reinserting it leads to the windows locking of keys (Unlock + *). It seems to make more sense to have TLP do its normal lock on stylus reinsertion. BTW: I think the "LOCK" mode is confusing everybody, especially because the state is quite hidden (no visual indication of the state).

3) When manually locking using the action screen and keeping the display on, the light detection is activated immediately and thus TLP unlocks again. It seems to make more sense to disable the light detection on manual lock. After all, with this functionality being something you use to keep the screen on while locking input, the phone would almost always be in light conditions.

4) I experienced some strange behavior in which my screen would turn off, almost immediately after unlocking (by either the light detection or capacitive touches). The only remedy was (very) quickly tapping on the screen between unlocking and screen off. I'm not sure what caused this, but I suspect PocketMusic (v5), which does its own display off-hook, I believe.

5) Starting the action screen from the task bar is a bit too slow for comfort. I think integration is the better way to go (you could always use a shortcut or even a launcher exe for using the commandline functionalities and binding to buttons).

And finally, a suggestion: I'd add text to the bottom of the icons in the action screen. I rebooted my phone several times because I pressed the wrong button :-)

Again, I want to stress that TLP is the best locking app to date, even with the abovementioned issues(!)