yashsingh1/xdaforums huggingface dataset:
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
You can get this effect, by overruling the setting "AutoLockOnPowerOn=0". When you lock the phone yourself (via the Action LockSuspend or Stylus OUT/IN), it will keep the phone locked. With setting "AutoLockOnPowerOn=1" I disable the lock, because people have problems with the Power button otherwise. But if you are fine with taking out the Stylus, "AutoLockOnPowerOn=0" would do what you want, while listening to music.
[Touch Diamond, MDA Compact IV Themes and Apps] vangrieg:
Maybe I wasn't clear, sorry.

The key here is that it should auto-lock when screen goes off. Manually I can lock the device with standard Windows thingie, I wouldn't need anything else. So instead of disabling AutoLockOnPowerOn I rather need AutoLockOnScreenOn!

And no, I'm not comfortable with the stylus, but that's another story and at least I can unlock via a hardware button (although here the Power button would be perfect - can it be used?).

An ideal solution would be this - I press the Power button while the device is working - it gets locked no matter if it goes to standby or just turns off the screen. I press it again, it wakes up/turns the screen on and gets unlocked. Is it possible?
[Touch Diamond, MDA Compact IV Themes and Apps] sapeur38:
yes but most of the time, my phone respond alone if he's in my pocket by the hardware kay.

it is possible to lock only hardware key?
[Touch Diamond, MDA Compact IV Themes and Apps] sapeur38:
you with your touch HD, never happen when you receive a call and try to remove your phone from the pocket to answer or reject a call, by accidently pressing the hardware sensitive key???

me a lot of time. is for this i try to find a good locking solution...
[Touch Diamond, MDA Compact IV Themes and Apps] vangrieg:
Excuse me, are you saying you have a Touch HD and get the green key pressed accidentally??? How is it possible, it's not a real key, it's a sensor!
[Touch Diamond, MDA Compact IV Themes and Apps] vangrieg:
No, I've never done that.

But nevertheless, if you're saying it happens to you then it's possible. Which makes the Power button the best option to lock/unlock the device.
[Touch Diamond, MDA Compact IV Themes and Apps] sapeur38:
yes it is...

because is sensitive key, not capacitive.

i mean inside a cover, or inside a pocket, if something touch this button, the sensitive key detect it and give response or reject..

it's happen 5 time since 3 week i have this htc hd.

try to push the sensitve key with anyhing around you, like a pen like key or i don't know... you will see he detect it.

and when you have inside the cover, and try to pull out, sometime he touch the cover and reject or accept the call....

and sometime i don't have time to detect the vibration of the hd than he already give response for me...

you don't need so much pressure for detect it
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
My English is also not native, but I thought I understood what you meant.

Maybe this is a bit misleading, but actually AutoLockOnPowerOn does also lock immediately when the screen goes from off to on.

But I thought the problem was that, while listening to music the hardware keys were enabled, with the screen off.

Unfortunately not with the current locking mechanism, you cannot unlock via the power button.

Currently it does not lock then (there is no setting AutoLockOnPowerOff).

That is why I proposed an alternative, but then YOU are in control (must remember) when to lock and when not.

First Overrule setting "AutoLockOnPowerOn = 0".

When you do NOT want to lock, just press the Power Button.

If you want it locked, you must do it in one of the following ways:

1) Via TouchLockAction LockScreen (if you want the phone locked with the screen on)

2) Via TouchLockAction LockSuspend (if you want to phone locked with the screen off)

3) Via Stylus OUT/IN within 1 second (same effect as 1)

Note that 1) and 2) can be coupled via a soft-key, hardware key or shortcut, via the command:

\Windows\TouchLockAction.exe LockScreen

or

\Windows\TouchLockAction.exe LockSuspend

In that way, the hardware keys are also locked, while you are listening to the music. And also when the screen goes on, it will reenable the LOCK.

Just try it, you must however change the behaviour how you lock.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
I will have a look, if this can be easily done. Does not seem too difficult and does not impose much complexity to TouchLockPro (just adding the setting and some small local changes).
[Touch Diamond, MDA Compact IV Themes and Apps] vangrieg:
Then it just doesn't work on my device. While listening to music powering the device on and off doesn't trigger locking. In all other circumstances it does.

I have no issues with hardware buttons, I only need screen locking.

Thanks for your suggestions and your help, but this is exactly the situation I want to avoid. For manual locking, I'm happy with the native WM mechanism. It does have a drawback in that it goes to the Home screen after locking, but it's much easier to unlock. Other than that, it behaves perfectly.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Can you provide a debug log file (logdebug=1 and logdebugdetailed=1), see post #3. So I can have a look why going to "screen on" while listening music, it is not locked by TouchLockPro?

I assume you are aware of the fact:

But Windows Mobile has an OEM screen locker!

Yes, Windows Mobile locks the screen, but unlocks the Answer and Ignore buttons as soon as a call rings, so it is useless. The same happens when any notification pops up, the Snooze and Dismiss buttons are enabled even when screen is locked, leaving them vulnerable to any accidental touch.

So this is not a problem for you :confused:
[Touch Diamond, MDA Compact IV Themes and Apps] vangrieg:
I will, but I'll have to reinstall TouchLockPro, will try to do it tomorrow.

Useless? That's exactly what I need and how every phone on Earth behaves! You can answer by pressing the "green" button no matter whether it's locked or not. Do you really suggest that pulling the stylus out is a better way to answer calls??? :confused:

That it brings up the Home screen instead of the music player is a bit annoying, but not a showstopper, and of course the fact that there's no auto-lock (i.e. there is, but it's just buggy on HD), is what causes me to look for an alternative.

Doesn't happen here, my HD doesn't wake up on messages/reminders/other notifications, only on calls.

Like I said, my only problem is related to device waking up on incoming calls while I listen to music (because that's the only time I use a headset and don't pull it out of the pocket to answer).
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Yes, the third icon in the first row is just for exiting the Action screen
[Touch Diamond, MDA Compact IV Themes and Apps] cybermaus:
TouchLockPro on Touch HD

Hi

Proper and intuitive locking is one of my issues with my brand new Touch HD (last friday). I tried several programs, most do not lock the audio buttons. Sensorlock, with its rotate lock is also nice, but the HD is slightly too large to easily rotate with one hand.

So when I read the discription on this one, it sounded really nice.

And when installed, most of it seemed to work. Stylus lock, poweron-lock, battery indicator. Only the Capacitive lock.

Now, I know it was not written for the HD, and I could understand if it would turn out the HD did not have any capacitive input, however, it works really strange:

- If I hold the device in my hand, and I touch 3 times, it will not work. Regardless if I touch it with the same hand that is holding it, or the other hand.

- But if I lay down the device on the table, and then touch it 3 times, it works perfectly.

It is almost as if there is a capacitive input, but its signal is not strong enough if I create a capacitive link between back and front of the device. If I put it on the table, therefor having a different potential, it does seem to work. Or at least, work more often (sometimes even then it does not unlock)

Please tell me, would it be possible to increase the sensitivity the program reacts to, or otherwise, would it be possible to make an option to react to 3 non-capacitive presses instead. Maybe with an extra rule they have to be 3 presses on the same position in a limited time frame without any presses on any other position in between?

I did not yet test the light sensor. No idea if the HD has in fact a light sensor.

Thanks
[Touch Diamond, MDA Compact IV Themes and Apps] Atze001:
The touch hd has a light sensor and it works great but in too dark conditions ist will not response. On my HD it dont work with the 3 presses.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
There seems to be no capacative sensor support on Touch HD. So probably your phone was unlocked by the light sensor? Is it coincidence, that it unlocked while lying on the table and doing 3 touches then?

Can you provide me a debug log file (logdebug=1 and logdebugdetailed=1) and try again to unlock by the capacitive touches (as well as lying on the table, as having it in your hand). See post #3 for more details.

Maybe we can solve the mystery :rolleyes:
[Touch Diamond, MDA Compact IV Themes and Apps] NLS:
...So still no possibility to change the mini-clock to something else? Maybe use an external bitmap.

I want a "button" that has indication of the taps and ability to lock when hitting it (so I want the rectangle there maybe with an unlocked lock graphic when idle), but don't want the clock. Is it so strange?

Also because the top bar is VERY crowded I'd love a way to move this to the bottom bar (and also be landscape aware).

I don't use this program just because of these reasons.

Keep up the good work - hope in some future reincarnation it fits me.
[Touch Diamond, MDA Compact IV Themes and Apps] Icepick66:
If I lock the device then let it fall asleep it wont turn back on again!

Only way to turn it back on is soft reset, or pull the stylus out

surly it should unlock the second it falls asleep, and re-locks after the power button has been pressed to switch it back on again.

Also, could you make the answer call hardware button, need a capacitive + physical press to answer, that would be perfect, just 1 press and it checks if it was accidental or not.

and the icon wont change colour, it does not remember the settings.

Thanks, (Raphael btw)
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
I added AutoLockOnPowerOff in version 1.1

The bottom bar seems a good idea, but it will be mostly NOT visible when another application is running. This depends of course which program is active. If you have a Full Screen application, also the Start bar will not been seen. But the bottom bar is often not visible, even in a non-full screen application. Maybe it is visible in your Today screen, but I want to keep TouchLockPro as generic as possible and should also as much as possible usable with other programs too.

Refreshing the BattClock is needed, to get the capacitive touches. So for now I keep with the current BattClock.

Maybe option 1 with AutoLockOnPowerOff is good enough for you :confused:
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
AutoLockOnPowerOff is implemented.

The problem with the capacitive sensor is that the BattClock needs focus. So when in non-locked mode I cannot regain focus, because that would hurt the operation of the running program.
[Touch Diamond, MDA Compact IV Themes and Apps] KukurikU:
thanks m8! you did a fine job!

don't even think to get discouraged by the quantity of suggestions:)

keep and implement the good ones, disregard the others. this thread is like a brainstorming session. love it!:D

this app is going to make waves;)
[Touch Diamond, MDA Compact IV Themes and Apps] nuumuun:
you are the best! :)

can you maybe implement a AutoLockOnPowerOn feature?

this way you can wake the diamond from sleep mode and then unlock it with any button on the device.
[Touch Diamond, MDA Compact IV Themes and Apps] 4D3:
I have also found another bug, with styluslock, it was possible to have only the touch panel locked so the other buttons work.

Has this feature been removed? it is a real pain in the arse continuously having to remove the stylus to see phone screen.

It was also useful for turning the phone screen off once the device was locked, saving battery power!

:):)ZuinigeRijder please bring that back!!!:):)
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Thanks for the nice words.

I know I cannot make everyone happy. Also I do this in my free time, without any donations. Till now it is fun and while implementing things I learn more about Windows Mobile programming (although I am an experienced programmer).

It is sometimes difficult for non-programmers to understand the technical issues you have to resolve to implement sometimes a very simple idea. So indeed I had to find some magic tricks to have a non-intrusive TouchLockPro with still the possibility to capture the capacitive touches. But eventually, by hard thinking and experimenting, I found a solution :)

My motto: less is more!

That means I will not add features which are not generic and features which will drain battery or hog the CPU........
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
As described in post 3 the BattClock will occur when locked, otherwise you cannot unlock via capacitive touches.

If you do not want the appearing BattClock, you can make the BattClock one pixel, as described in post 25

The flashing has been removed in version 1.1.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
I found locking the touchpanel only is not idiot proof, as described in post 30.

In version 1.1 AutoLockOnPowerOff is implemented. Now it is easy to unlock the phone with the 3 touches, doing your job and put the phone off with the Power button.

You will get used to unlocking the phone, immediately after pressing the power on button, via the 3tap. I am convinced you will automatically 3tap, when you use a phone from someone else :) not having TouchLockPro installed :D
[Touch Diamond, MDA Compact IV Themes and Apps] 4D3:
Ur a star, as soon as i arrive at my destination and can check bank account im sending you beer money!!

i have been using this for a while now and it is definitely worth its weight in gold.

I saw your post earlier about people not donating so i will!!

NOTICE TO OTHER USERS:

If you try this for a few days and dont like remove it, if like me you have been using this since the initial concept (styluslock) and continue to do so

DONATE!!

(you should be happy also about the number of suggestions you get, it just means that your app is REALLY hot and EVERYONE is using it!!!)

Congrats Bro
[Touch Diamond, MDA Compact IV Themes and Apps] GriFolle:
Ok, your app - 1.1version - it's quite fabulous...no memory or battery leaks till now (but I'm using it just from 1 hour).

Just my2 cents:

Would be awesomw if you add a config file to allow the user to choose if:

A) enbale/disable the "lock on p. off" feature;

B) enable/disable the vibration feedback;

C) locking/not locking hardwarebuttons.

I think theese are very vey "generic" and useful things...i.e. locking hard button it's a little annoying for those who like to power on the device by pressing them...

Anyho, as I said, just my 2 cents...YOUR JOB IS REALLY GREAT AND I LIKE SO MUCH THE BATTCLOCK BUTTON ON TOPBAR ;)

edit: ooops...I'm really sorry I didn't read the part of your guide regarding the regediting...forgive my words about the config file :p and about the vibrat. feed!
[Touch Diamond, MDA Compact IV Themes and Apps] washi:
is it right that the power button is locked too if i lock the phone when turned on?

is there a way to exclude the power button?

i would like to disable the lock on power off. but atm i cannot lock the phone maually and turn it of manually.
[Touch Diamond, MDA Compact IV Themes and Apps] GriFolle:
I'm sorry for the provious edit and now for the double post but...what do you think about an apptodate support? I think this will be useful too!!!

Cheers.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
I am thinking of another solution, although it will probably be called AutoLockOnPowerOn.

You only want to unlock when it is done intentionally by you, by pressing the Power button. But you do not want to unlock, when there became a program active, which awakend the phone. The best example is of course the "incoming call". But it could be any other program.....

I do not want to make a specific solution, e.g. interacting with the telephone API (and all of the problems with it, as answerkey disabler encounters with German Homezone O2 numbers, as well as forwarded calls, as well as CDMA phones)

So I was thinking about a generic solution for this :confused:

My idea is to get a list of running processes at Power OFF. When the at Power ON, no new processes are running, I assume it will be done intentially by the Power press (although there is still a small chance that the power button will be pressed in your pocket).

But anyway, you do never want missed calls.....

I did not check yet, if the "incoming call" is a new process or an already running process. Probably others can check too for me :)

I hope it is a new process....

Others having a marvelous simple idea, like this?
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Just take out the Stylus and the phone will be unlocked too.

Unfortunately, the HTC API for locking the hardware keys and touchpanel does not allow for excluding the power button. Maybe a request to HTC :)

So you do need to unlock the phone first when locked.... via one of the methods in post #1
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
I encountered problems with only locking the touchpanel, so I left this option out. If the unlocking is real easy, locking also the hardware buttons is always safer. Because they can also be accidently pressed when taking out of your pocket.

I go for the safe side, because I do not want that anyone gets missed calls due to a buggy, not always locking TouchLockPro.....

StylusLock had the option to lock only the touchpanel, so you can consider to use that version. Although I am not sure that is fool proof with that respect (I had no complaints though)
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
I know that others, like SensorLock and AnswerKey disabler have implemented it. My first concern now, is to get the separate Action screen program integrated with TouchLockPro.

Maybe something for later.

However, for now, just subscribe to this thread via the XDA Thread tool.
[Touch Diamond, MDA Compact IV Themes and Apps] Krzysiec:
Coception is great but i think it should have differnet behave... it shouldn`t lock power button. it should only lock touch panel. Because after autolock (by pressinf off button) i can`t unlock it (because i dont want to use stylus). I think so...
[Touch Diamond, MDA Compact IV Themes and Apps] nuumuun:
actually what i meant was the possibility to turn the screen on / wake the device up by pressing any hardware button. it should still be locked when this happens. after waking it up i want to unlock it with tapping. its pretty similar to the idea of only locking the touch screen.

i am aware that this would pose a threat to accidentally answering or rejecting a call when the phone is in your pocket but that rarely ever happend to me before with any other phone :p

anyway ... i like the app just as it is right now and any improvements are only a nice addition :D
[Touch Diamond, MDA Compact IV Themes and Apps] NLS:
Thanks for AutoLockOnPowerOff and all the effort man. :)

As for the rest, some comments.

Indeed many programs remove the bottom bar. Not too many though. In fact most of those that remove the bottom bar, remove the top bar as well. More importantly: GPS programs.

This raises the argument of some extra way to LOCK the device except the little button and except the juggling method with the stylus. Use of the capacitive area again probably.

Still for programs that are OS friendly and keep the bars, I'd love the option to be able to use the bottom bar, also the option to have a different icon (NOT A BATTCLOCK), like a lock (for the bottom bar) or like a tiny "half-width" or "one-third-width" icon that someone could put to the... left of the start button or even an "empty" button that can indeed be put like a thin bottom bar that covers the lower 2-3 pixels (for people that already use the top 2-3 pixels of the top bar).

Anyway, the whole project seems to progress nicely.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Action Screen Proto

I am working now on the TouchLockPro Action Screen. It will be a separate program, for the following reasons:

* It can be started via a shortcut, or via a Today Screen, or via Programs

* It does not consume extra memory (only shortly, while executing)

* It is written in C# (you cannot combine C++ and C# in 1 executable)

The meaning of the action buttons, from left to right, top to bottom:

First row:

* Lock (and keep the display on)

* Lock and suspend immediately (Power off)

* Exit the Action screen

Second row:

* Configuration options (so you do not need to use a registry editor anymore, and easily switch between settings)

* Show detailed battery details

* Free RAM memory (Garbage collect, let other running applications free memory)

Third row:

* Soft reset your device

* Power off the phone completely (you do no longer need to long press Power Off)

* About screen

The basic functionality is working (except the second row is not yet implemented), but I need to integrate it with TouchLockPro. So be patient.....
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Unfortunately I am restricted to the taskbar area, because there I create a subwindow. So I cannot move it to the bottom bar.

If you do not like the BattClock, you must just hide it when not locked. If you still want to see when it is locked, just make a small rectangle somewhere in the startbar area. Having an icon in the taskbar area does also not seem much to help, because indeed it is already crowded. Also you get used to the capacitive touches, so the showing number of touches is not so important.

So sorry, I am aware of the fact I cannot make everybody happy. Maybe another solution fits better (see post #5).
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Ok, I understand the first problem. Currently I do not unlock when falling asleep, so on some phone the power on button does not react anymore (looks like the Touch Pro has this problem). It is even possible that my program does not get the time to unlock (I removed the unattended mode). I am not sure I want to reintroduce the unattended mode to be able to capture those power off events, maybe I should make it configurable. I will think about it.....

With the current hardware keys locking mechanism, I do not control the hardware keys. If I can control/lock individual hardware keys (question asked at CSDEVCTRL developer), then I could maybe introduce this.

Yes, this is a known bug, will be solved in the next version. You can however just change the values in the registry.

See also post #558
[Touch Diamond, MDA Compact IV Themes and Apps] VETTEPC123:
answering calls with touchlockpro

ok one lil issue i am having is that when i get an incoming call the screen lights up and i try to do the triple touch, however it takes forever for the first touch to register. the phone rings twice before touching registers. is there any way to speed this up so that as soon as the phone rings i can start my triple touch. thanx for the great program otherwise. i had answered too many calls just pulling my fuze outta the case.
[Touch Diamond, MDA Compact IV Themes and Apps] _rav:
I daresay it is't the most useful piece of soft that I've installed on my TPro so far. :)

Works soo much better than the stanard lock. Now my phone unlocks itself almost intantly after I turn it on from the standby (thanks to light sensor) but it won't accidentaly unlock while being in a (dark :]) pocket or case.