yashsingh1/xdaforums huggingface dataset:
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Dank je wel

Thanks for your suggestions.

Hmmm, I never drained my battery so low. It should just lock the phone at wake up. It would be interesting to see a debug log for that situation. Could you provide a debug log "logdebug=1" and "logdebugdetailed=1", see post #3. I understand this is difficult to reproduce :D

I sometimes use it for locking (StylusOut/StylusIn within the specified time), keeping the screen on, otherwise I need to press the BattClock. But maybe you are right, only taking the stylus out, should by default also disable LOCK mode, so reinserting the stylus does not lock automatically again. Do others like this also to be changed?

From comfort usage you are right. TouchLockAction sends the LockScreen to TouchLockPro, so it could temporarily disable the lightsensor, till the next Lock or power on.

Probably the same is true for the "SuspendOnBackLightOff", because otherwise you would have chosen for LockSuspend. So temporarily disable this setting too, if set.

It could be that another application indeed did the screen off, just like the "incoming call" pickup does the screen off.

You can just configure a Soft key or Hardware key to start "\Windows\TouchLockAction.exe". The problem with this is that people want to be in control in that decision. So I do not know what I should provide by default.....

Maybe I should make TouchLockAction.exe Today screen aware, so you can put it on your Today screen?

Anyway, you can also add TouchLockAction to the Start menu.....

I do not like the fact to have text, because then you also do need to provide translations. And my application is also used by people who do not understand English too well. But I can make a warning pop-up when you press the "soft reset" button......

Thanks for the compliment. I think with small improvements, step by step, keeping the design in mind, it will be even more perfect in next versions.
[Touch Diamond, MDA Compact IV Themes and Apps] m4j2t:
If you still need it here it is... sorry for the delay:)
[Touch Diamond, MDA Compact IV Themes and Apps] at10ti0n:
i have soft reseted phone after reinstalling the app v1.7 and is working as expected! thank you for your support and sorry for misleading testing :)
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Great to hear it IS working. Thanks for the update.
[Touch Diamond, MDA Compact IV Themes and Apps] lexluthor:
Yes, I'd also prefer than when removing the stylus to unlock, it doesn't re-lock the device when you put the stylus back in.
[Touch Diamond, MDA Compact IV Themes and Apps] m4j2t:
I am having a new power button issue. When I suspend the device with the power button, if I receive a text message or email notification, the device will not wake up with the power button. The touch pad blinks that I have a message, but I can not wake the phone with out removing the stylus.
[Touch Diamond, MDA Compact IV Themes and Apps] javulticat:
ok, so i installed the latest touchlock pro, and i restarted my phone. now i have the battery clock in the upper right corner, which is pretty neat. now... how do i lock the phone?!? i tried hitting the battery clock, then hitting the "lock" icon that popped up, but that didn't seem to do anything. also tried taking out the stylus and putting it back in, which didnt do anything.
[Touch Diamond, MDA Compact IV Themes and Apps] Bäcker:
are you on ac power? :)
[Touch Diamond, MDA Compact IV Themes and Apps] asdahd:
it's very cool!!thanks for your work.by the way,can you make it can use touch pad to unlock when the sms comging?sorry for my english .
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Bäcker is probably right.

See also post #1:

How to lock?

Prerequisite: Stylus is IN, not on AC/USB power

* Press the power button (AutoLockOnPowerOn)

* Pressing the BattClock

* Take OUT the Stylus and putting it back IN within 1 second

Did you change default settings? Did you also soft-reset after installation/changing settings?
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
The TouchPanel is locked, so that cannot be used for unlocking. These are the unlocking methods (see post #1):

How to unlock?

* Wait till the Light Sensor unlocks automatically (default 5 seconds) in not too dark lighting conditions

* Triple touch the capacitive hardware area at the same area within 3 seconds (the number of valid touches at the same area are shown instead of the battery life percentage)

* Take OUT the Stylus

* Attach to AC/USB power

You can use the 3 times touching the capacitive hardware area, in location 1, 2 or 3 for unlocking (does not work on Touch HD):
[Touch Diamond, MDA Compact IV Themes and Apps] asdahd:
thank you for make me know how to unlock. i have another trouble.when the sms come in,i also can't unlock with 3 times touching the capacitive hardware area.how can i do when the sms coming?thank you.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Ok, I also had no time to look into the log file until now.

Just repeating the problem here, you reported:

This was not meant as an extra layer of Security :D

You have the default settings, except you configured Vibrate and Beep and 2 touches to unlock.

You pressed 2 times the ZZZ button, which was seen by TouchLockPro:

8:34:57 719688126 CActions::HandleActionsNotification()

8:34:57 719688126 LockSuspendRequest()

8:35:47 719688126 CActions::HandleActionsNotification()

8:35:47 719688126 LockSuspendRequest()

It does lock then in both situations:

8:34:57 719688126 ========================POWER_STATE_SUSPEND: SCREEN OFF==========================

I immediately see a resume, so that means that programs still can do things with the screen off:

8:34:58 719688126 ==============================PBT_RESUME===============================

TouchLockPro does nothing in this case, because the screen is off. Although the 1 second timer is called everytime, it returns immediately from that.

8:35:14 719688126 =========================POWER_STATE_ON============================

So after 16 seconds the phone wakes up, probably because the keyboard is slided open (I do not see a Stylus out event).

What happens, when you SUSPEND via the ZZZ button, everything is locked first, before going to suspend. On the other hand, you have the setting "AutoLockOnPowerOn = 1", so it will be locked automatically, when the screen goes on again.

So I will not lock anymore at suspend, when "AutoLockOnPowerOn = 1", so the power button is not locked. I think this will solve your problem.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
You cannot put the phone to awake by triple touching. You just have to press the Power button, to get the screen on, and then you can unlock.

What brand of phone do you have?

Does the locked BattClock (default white background when locked) not indicate touches, after pressing the power button (see post #2):

Or does it not awake when pressing the power button?
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Can you post also for this situation a log file. So I can have a look what happens from TouchLockPro perspective?
[Touch Diamond, MDA Compact IV Themes and Apps] jodeltje:
maybe he means it takes a while till you can unlock when a sms comes in (that's what happens with me anyway).

other that that, 1.5 is working like a charm for quite some time now :)
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
You mean 1.7 or 1.5? Because in 1.7WIP2 there are changes to have the capacitive touches react sooner (start with locked BattClock)....
[Touch Diamond, MDA Compact IV Themes and Apps] hkkenchoi:
This is a great app and I like it very much. I am using Touch Pro and after trying the 1.7WIP2 version. Most of the problems have been solved. However, it comes a new minor problem. Sometimes when I press on the manchine, it only locked after maybe 3-4 sec later. That means I can still touch the screen before that period. Usually it happens in the touch flo 3d interface. But it occurs quite randomly, but usually after the phone is turned off for a long period of time. Does anyone else has this problem too?
[Touch Diamond, MDA Compact IV Themes and Apps] m4j2t:
Deleted--ignore this upload. I'm not sure it is the correct sequence.
[Touch Diamond, MDA Compact IV Themes and Apps] m4j2t:
Ignore the first upload in the previous post. I'm not sure if I suspended the device with the power button. This upload is for sure as described:

Device suspended with power button and put in case.

SMS sent via Wife's phone. SMS chime heard from device in case.

Device pulled out of case a few minutes later, power button pressed several times, but the screen remains blank.

Stylus removed--device wakes up
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Thanls again for the testing effort.

This is what I see:

8:42:59 1829428370 ========================POWER_STATE_UNATTENDED: SCREEN OFF====================

8:43:11 1829428370 ========================POWER_STATE_SUSPEND: SCREEN OFF==========================

8:43:11 1829428370 ==============================PBT_RESUME===============================

8:43:32 1829428370 ========================POWER_STATE_UNATTENDED: SCREEN OFF====================

8:43:32 1829428370 ========================POWER_STATE_SUSPEND: SCREEN OFF==========================

8:43:33 1829428370 ==============================PBT_RESUME===============================

8:43:33 1829428370 =========================POWER_STATE_ON============================

Your phone does not go directly to suspended, but via the unattended mode first. So one of the programs you are running, want to catch the off mode (This is no longer TouchLockPro). It is also resumed immediately, so it does not go into deep SUSPEND (less good for battery life).

At 8:43:33 apparently the SMS is coming in........and your phone awakes in your pocket. As a result of that, the input is disabled:

8:43:33 755539914 RESUME_REQUEST

8:43:33 755539914 ==========================DisableInput()==============================

After 1 minute the backlight goes off (probably your backlight off setting is 1 minute).

8:44:33 755539914 NOTIFY_BACKLIGHT_OFF

8:44:33 755539914 ============================Suspend=================================

As a result, the input is still disabled.

So actually, this is the same sort of problem as with your previous log file. I have fixed this in version 1.8, which I will post soon.

In case of "AutoLockOnPowerOn=1", I enable the input, so the power button is not locked.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
TouchLockPro version 1.8

I just posted TouchLockPro version 1.8.

Note that I also updated post #2, #3, #4 and #5 with descriptions/screen shots of version 1.8.

I also posted the source code belonging to version 1.8. Hope you will learn something from it and you are inspired to make great programs too. At the end programming Windows Mobile is not so difficult if you have programming experience. Prerequisites for programming:

* Visual Studio, Express editions are free!

* Windows Mobile 6 Professional SDK (also free)

Note that others pointed out, that Express editions are not suitable for Windows Mobile development. See Smart Development for what is supported by which version. I used myself Visual Studio 2008 Professional SP1.

Note that TouchLockPro is written in C++ and TouchLockAction in C# (and deployed using .NET Framework 2.0).

Enjoy the software :rolleyes:
[Touch Diamond, MDA Compact IV Themes and Apps] blake_spector:
great, will install new version right now...

touchlockpro is awesome, wouldnt know what to do with my phone without this application :D
[Touch Diamond, MDA Compact IV Themes and Apps] Pietje_1985:
help

Hi ZuinigeRijder!!

I have one question..

at this moment I'm using/configuring TLP 1.8 which work quite ok, except for one thing..

Which setting do I have to change in order to lock/unlock my phone with the stylus in/out f.e when I pull out my stylus and put it back in,it locks and when I do the same procedure again, it will unlock...right now to leave the phone unlocked, I have to leave my stylus out...

Can you please help me??:o

Thanxx neway..

Jeroen
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
I cannot reproduce it. Did you soft reset, because maybe the initial status was detected wrongly?

Maybe you spotted a big bug?

Can you reproduce it?
[Touch Diamond, MDA Compact IV Themes and Apps] Pietje_1985:
Yes I did soft-reset! twice!

I will try to re-install the app to see if the problem exists and otherwise should I provide you a log file??
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Yes, that can help in finding the cause. I have soft-resetted too, but it is working like it should. Maybe you have different settings.....
[Touch Diamond, MDA Compact IV Themes and Apps] Pietje_1985:
Allright...I hope I did it well...

included 2 log files about my experiences...

Thanxx again...maybe indeed my settings are wrong..

But I didnt change anything....:confused:

:D
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
20:56:58 99217354 StylusOutInToggleTime: 3000

This is rather long, the default setting is 1000.

So OUT/IN within 3 seconds will lock.

I will look further in the log file.

Indeed it seems that you put the stylus back in within 3 seconds each time.

The design has been changed, so that taking the stylus out disables lock mode.

* Taking the Stylus out now disables the LockMode, so putting the Stylus in will not lock anymore

* Note that StylusOut/In within (configurable) 1 second still locks the device.

When you are too fast with putting the Stylus back, it will enable lockmode again.

Change it into 1000 or lower and your problem should disappear (I hope).

And of course you can unlock via triple touch.
[Touch Diamond, MDA Compact IV Themes and Apps] Pietje_1985:
SOLVED!!

Thanxx ZuinigeRijder....

Your explanation helped me...sorry:o I was just too quick taking out the stylus....I'm just too unpatient probably...

neway...thanxx for all your help and I still enjoy using your app:D

Regards Jeroen
[Touch Diamond, MDA Compact IV Themes and Apps] MRE-net:
Great..will install the 1.8 version although the 1.7wip2 version is working perfectly.

Wow....works like a charm right now. Settings are restored when enabling or disabling the indicator or battstripe.

One thing....when deinstalling, the regkey remains in the registry. I had to remove it manually.
[Touch Diamond, MDA Compact IV Themes and Apps] mr.jcarter:
Great app!

I'm having trouble getting color changes to stick. I have [BattClock], [Clock12], and [LockIndicator] selected and I'm trying to change the white background to black. Upon changing the Background to 255,255,255 the color never actually changes. Any help would be appreciated.
[Touch Diamond, MDA Compact IV Themes and Apps] hvbelton:
Just to clarify, the Express Editions are not supported by the SDK. In other words, you must have Visual Studio in order to use the SDK and develop.

Now I have a couple questions...

What does the BattClock option in setting do?

Once you have the dialog with the icons up, is there a way to dismiss it without picking one of its actions?
[Touch Diamond, MDA Compact IV Themes and Apps] asdahd:
i like it very much.your work is great!my problem be settled.thank you.
[Touch Diamond, MDA Compact IV Themes and Apps] Slide:
Hi ZuinigeRijder,

is it possible to make a option to unlock the screen with press the middel round button on htc diamond?

Greeting

Slide
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Yes, the registry keys are not removed automatically. So your preferences are kept when installing a new version.

If you want the 'default' settings or want rid of them, you can just remove the whole tree with a registry editor:

HKCU\Software\ZuinigeRijder
[Touch Diamond, MDA Compact IV Themes and Apps] ou2mame:
i like the idea of the program, but its very annoying. i take my phone out, turn it on with the power button, and its locked. i fiddle with it and eventually it turns on. i take the stylus out to write something down, put it back in and decide to make a call, and its locked. so i fiddle with it....there's a lot of fiddling. i'd like to disable the stylus locking "feature", and make it so that if i hit the power button, it automatically unlocks. is that possible?
[Touch Diamond, MDA Compact IV Themes and Apps] jimbouk:
I'd like to see this option too. Just one press of the button to unlock.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Thanks for pointing out that the express editions cannot be used with Windows SDK. I did not know that. I will add this information to the original post.

The top 3 BattClock checkboxes (BattClock, Stripe, Stealth) are for convenience, so you can switch to often used settings by other people (I know, because I saw already a log of provided log files). In fact it will fill the other settings on the same page with other values. For the others settings and the meaning, see post #3.

BattClock checkbox is switching to the default way the BattClock is shown. However, some people do not want the BattClock to be shown, because they have already a nice Battery indicator and the clock is shown on their home screen. For that situation, you can use the Stealth checkbox. No BattClock is visible, when unlocked and locked, only a 1x1 black pixel is shown (1 pixel needed, otherwise you cannot unlock with the capacitive touches, because this window needs focus). But there is also no indication if it is locked, yes or no. So often those people activate the vibration on top of that. There is also an in between mode, you only want to see that the phone is locked. There the Stripe checkbox is for. A small stripe is shown (2 pixels height) at the top of the screen, only when the phone is locked. So hopefully you do not think your phone is broken with this option :D

If you only want the BattClock shown, when the phone is locked, this can also be done, by configuring "LockIndicator = 0".
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
You can disable the stylus toggling locking feature by setting "StylusOutInToggleTime = 0".

Unfortunately, I cannot make a difference between wake up by any event and by pressing the power button. You can, of course disable "AutoLockOnPowerOn = 0", so when you press the power button, it will not lock automatically. But then you are responsible yourself to put it in your pocket locked, otherwise you still will get missed calls.

I am looking into making it possible to have a setting, that it will only lock when there is an incoming call or SMS. So that could be something for next versions.

Hope this answer helps.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Unfortunately, I have only the option to lock all hardware keys or only the touchpanel. If someone can help me in how I can lock only specific hardware keys, that would help (I know CSDEVCTRL has this mechanism, but did not get an answer yet).

However, triple touching the middle round button should just work (or twice, if you configure that via CapacitiveTouchesToUnlock = 2). Is that not good enough?
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Is twice a capacitive touch (CapacitiveTouchesToUnlock = 2) of the middle button not good enough?
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Did no one tried this one out? See post #509
[Touch Diamond, MDA Compact IV Themes and Apps] Slide:
I have the programm GSroll running. This prog. deaktivate the capacitive panel for touchlockpro:-(

I have LockTouchPanelOnly=1. The Hardware Keys are unlocked. Can you make this option(press middel key to unlock) for LockTouchPanelOnly=1?

Greeting

Slide
[Touch Diamond, MDA Compact IV Themes and Apps] 4D3:
maybe it would be better to email the makers of GSRoll and tell them to stop restricting the capacitative touch.

why should ZuinigeRijder find a work around for someone elses stupid software design?

this lock works fine, the problem lies with your other software, so email them.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
If you do not lock the hardware keys, you can couple TouchLockAction to one of the hardware keys, but that you need to configure yourself. See post #4:

Command line usage

\Windows\TouchLockAction.exe action

Possible actions (multiple can be specified):

* Unlock

* LockScreen

* LockSuspend

* Suspend

* PowerOff

* SoftReset
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
yes, you found a small bug in TouchLockAction screen

Yes, you found a (small) bug in the TouchLockAction screen.

I used the settings value, instead of the filled in value of numericUpDown for the ClockBackGround and ClockForeground.

So for now, you can just fill in the wanted values with a registry editor, as described in post #3:

ClockBackground = 0

Specifies the ClockBackground color. 0 corresponds to Black, BGR(255,255,255), Blue, Green, Red sequence.

ClockForeground = 16777215 decimal or FFFFFF hexadecimal

Specifies the ClockForeground color. FFFFFF corresponds to White,

BGR(255,255,255), Blue, Green, Red sequence.

Just fill in ClockBackground = 16777215 and then it should work after restarting TouchLockPro (or softreset).

I will fix this bug in the next version of TouchLockPro.
[Touch Diamond, MDA Compact IV Themes and Apps] sapeur38:
try on htc hd

hello,

i try today your software.

it seems working well.

i change the value for the ligthsensor at less than 1 sec...

i can unlock by the stylus...

but i can't unlock by hardware key...

i think i'm not really understand how to configure it...

could you explain me how it work on the touch hd, i mean if it's lock which touc i have to press 3 time (or 2 time) for unlock. it seems on the diamond is the central round, but i don't have it...

thank you
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
There seems to be no capacitive sensor support on the Touch HD, so you have to unlock it via the other means, e.g. light sensor or stylus.

Unlocking via the lightsensor with a value less than 2 seconds does not make much sense, because I poll only once per second and the light sensor values are not always correct, so 2 polls seem to be the minimum.

You can also disable only the touchpanel, keeping the hardware keys on, via setting "LockTouchPanelOnly = 1" (see post #3). You can then assign the command "\Windows\TouchLockAction.exe unlock" (see post #4) to one of the hardware keys for unlocking.
[Touch Diamond, MDA Compact IV Themes and Apps] JoeSchmoe22:
Enhancement Request

I would like to make a request for enhancement to TouchLockPro. If possible, could you allow the user to specify the Font size and the Font of BattClock. If you allowed this, I could make a fairly large clock appear on top of my today screen so I could easily see the time without having to install yet another program to display the time. I do not wear a watch, so occasionally I turn on my device to get the time. I would simply make the clock disappear when the lock is released. A further enhancement would be to allow the user to toggle on/off the battery reading, thus making BattClock, just a clock. :D
[Touch Diamond, MDA Compact IV Themes and Apps] vangrieg:
I tried the application on my Touch HD and, beside the fact that it's quite difficult to unlock (pulling the stylus out seems to be the only option beside assigning a hardware button), there's a shortcoming which amazed me, in fact.

I don't know why people use locking and why they don't notice this, but as far as I'm concerned, the only usage where I need a lock (as opposed to suspending device) is when listening to music. If the device is in my pocket and I get an incoming call, it wakes up and stays with touchscreen enabled, which may cause unwanted screen taps. Other than that, it's next to impossible to press anything on HD accidentally! And this is exactly the case when no locking program known to man auto-locks the device - when I press the power button while music is playing it doesn't go to standby, just turns off the screen so that I can continue listening. And TouchLockPro, just like all other programs I've tried, leaves the device exposed to accidental taps!