yashsingh1/xdaforums huggingface dataset:
[Touch Diamond, MDA Compact IV Themes and Apps] SimonW500:
LOL - I know, I know, my example wasn't the best!! And for the record, I don't have a habbit of leaving my phone lying around in random places for anyone to steal.

It's more a corporate security thing (for me at least). In much the same way when I walk away from my laptop at my desk I'm always going to 'lock' it (Ctrl-Alt-Del) not so much because I'm worried about people stealing my laptop (after all I'm surrounded by mostly trusted colleagues and employees) but more to protect the information that's on it - potentially privileged information (for another poor example: one of my employees pay reviews). And the same goes for my mobile these days - after all in my case at least it carries my past months Outlook Inbox contents which again can contain privileged information. It'd just be nice to be able to trigger the PIN lock 'on demand' (which I see from a previous point it in fact maybe) for extra reassurance; in the same way if my front door on my house auto-locked after 5 minutes that would be great (even though I'd probably end up locking myself out!) but I'd still want the reassurance of manually locking it when I left the house for the day.

:)
[Touch Diamond, MDA Compact IV Themes and Apps] SimonW500:
Seems like there's more excellent development work your busy with! Much appreciated..

I too have taken a look at PocketShield and reached pretty much the same conclusion as the original poster - would prefer to stick with your TouchLockPro but with just maybe a few 'lessons learnt' brought over to it from PocketShield.

As always, best of luck with the further development work! :)
[Touch Diamond, MDA Compact IV Themes and Apps] SimonW500:
Suggestion: regestry settings

I suggestion for you if I may..

Would it be an idea for the next release to actually include all the possible configurable registry keys actually set to their defaults? That way further user-configuration would be simply just a case of changing the key value and not having to enter the whole key itself.

Perhaps this just a lazy person thoughts :) and if this were a normal desktop app then the difference would be little, however on a WM device creating even two or three registry keys can take a while and prone to error; in fact the two main advantages I see to including them is 1) speed for user configuration and 2) removes potential typo errors (as per has been suggested could be a users problem a few posts ago)

Just my thoughts.. :)
[Touch Diamond, MDA Compact IV Themes and Apps] 4D3:
a config screen is being worked on so there will be no interaction directly with the registry, you would just select options from a screen :D
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
The next version will have a configuration page in the TouchLockAction, so it is easy to change the default settings.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
"ERROR loading HTCAPI.dll" is logged when the loading of this dll fails:

HMODULE hHTCAPI = LoadLibrary(L"HTCAPI.dll");

if (hHTCAPI== NULL) {

LOGDEBUG("ERROR loading HTCAPI.dll");

return; // skip capacitive sensor

}

This way, the capacitive sensor is ignored in subsequent calls and you can use the other features on your Touch HD.

The recreation of the locked BattClock was my way of getting regular focus. Actually the locked BattClock is a topmost WS_POPUP childwindow of the taskbar:

HWND wnd = CreateWindow(_T("STATIC"), _T(""), WS_CHILD|WS_VISIBLE|WS_POPUP, clockX, clockY, clockWidth, clockHeight, g_hTaskBarWnd, NULL, g_hInstance, NULL);
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Hmmm, I cannot find this on my phone (dutch language). Is that because I did not set a PIN?

And you do not mean the regular builtin lock method of Windows Mobile with this?
[Touch Diamond, MDA Compact IV Themes and Apps] SimonW500:
Ah - well there you go then! - obviously this would be just perfect. A little more effort for you to put in to achieve such however effort that will be greatly appreciated by your end-users and will be one step closer to bringing your excellent app closer to a final and polished product!

:)
[Touch Diamond, MDA Compact IV Themes and Apps] SimonW500:
Another suggestion.. for the future..

..just to clog up your forum! :)

I personally do not use the BattClock thingy (I have a custom battery indicator and am quite happy with that); I therefore follow your instructions to have TouchLockPro create a thin bar/line across the top of the screen to indicate 'locked' and don't have any soft-icon to press, instead I have my Diamond to auto-lock and map your ActionScreen thingy to a long power-button-press. Works well for me.. and I suspect a number of users will be in the same situation.

Therefore can I suggest that you offer an alternative to the BattClock? Maybe even split this out completely as previously suggested?

I'd like to instead see some form of key icon somewhere on the screen to visually show the device is looked - either discretely in a corner or even as a large overly in the centre of the screen (configurable I guess as some users will no doubt want to be able to see their screens unobscured even while locked).

Just a thought for somewhere down the road.. :)
[Touch Diamond, MDA Compact IV Themes and Apps] SimonW500:
Excellent looking icons btw - forgot to comment earlier! :)
[Touch Diamond, MDA Compact IV Themes and Apps] texasez:
I am using version 1.6 and can only open black screen by removing stylus on touchpro.

are there any other options to start phone from sleep or black screen.

Larry
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
More people have this problem, especially TouchPro people. I am working on a solution, which I hope will solve the problem.
[Touch Diamond, MDA Compact IV Themes and Apps] Mandragore:
Well, if you are working on a solution, it will.. Otherwise it wouldn't be a solution, would it? ;)

Thanks for all your past, present and future R&D efforts! :cool:
[Touch Diamond, MDA Compact IV Themes and Apps] bpm2000:
couple of problems, using the fuze

1) clock12 = 1. Yes it switches to 12 hour format but at 11:59 - 12:00 it goes from 11:59 to 0:00. is this normal?

2) when i push the power button to turn the screen off and come back, half the time the 3-capacitive touch seems to work and the other half i have to crack the keyboard open into landscape to "break" it out of it not responding at all and then the 3 button touch works (sorry if this was mentioned i did not search this one - originally just meant to talk bout the clock)

otherwise man eats way less batt than s2u2 and goes well with the lite look im going for.

thx!
[Touch Diamond, MDA Compact IV Themes and Apps] Bäcker:
yes, sometimes the capacitive pad doesn't react. only after putting the phone back in suspend and turning it on again
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
1) I just subtract 12 hours from the 24 hours value.

According to Wikipedia it is also not clear what to show at midnight 12-hour_clock

2) Taking out the Stylus always works immediately for unlocking. It is possible that another program got focus. I recreate the locked BattCLock once per 8 seconds. Does it also not react after 8 seconds? You can overrule the 8 seconds to e.g. 4 seconds (see post #3), if this is the problem.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
TouchLockPro 1.7 WIP

I have tried to solve the problems some people encounter with the fact that pressing the power button not always wakes up the device.

Several measures/improvements have been done:

* No longer set PowerPolicyNotify PPN_UNATTENDEDMODE, to catch power off events

* Suspend via simulation Power off button instead of SetSystemPowerState POWER_STATE_SUSPEND

* Different locking mechanism for "LockTouchPanelOnly = 1". With this mechanism I do no longer need to reapply the lock regularly.

* I do not know if this works for all phone variants (e.g. CDMA), so please TEST!

* Only disable input immediately at resume

* Nice TouchLockAction icons, provided by MysticGenius (the settings are not available yet, so this button is disabled)

* The light sensor is closed when the phone gets unlocked

* The default settings are written in the registry, when they are not there (as part of the upcoming Settings screens in TouchLockAction)

Because I did not have those Power button problems, I would be glad to hear if the problems are solved (or less frequently). Be careful, I did not extensively test, but I am sure you will :confused:
[Touch Diamond, MDA Compact IV Themes and Apps] calcop:
Great! but on my HD the triple touch of the capacitive hardware area doesn't work
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Apparently the TOUCH HD is not equiped (at least the software) with the capacitive hardware panel. See post #426.

You can still use the software, but need to use the other unlocking mechanisms.
[Touch Diamond, MDA Compact IV Themes and Apps] 4D3:
just so you know, the icons i have sent are just to look nice for now.

i am custom making a complete set for this app over the weekend and will send the new icons to ZuinigeRijder on sunday evening!!

but it looks pretty enough for now!!

just trying v1.7 now.
[Touch Diamond, MDA Compact IV Themes and Apps] DomSim:
this made it unusable for me. i locks EVERYTIME i suspend the device, either by pushing the power button or using gyrator. to clarify, it locks about five seconds after turning the device off instead of locking when the device resumes. also, it gets stuck in a locking loop of sorts with the stylus. after it locks once on suspend it will lock everytime the stylus is inserted even if you wait longer than the toggle time. i have attached my detailed log with these events,

hit power button suspending the phone

~5 seconds later touchlockpro activates

cannot resume with power button

pull stylus, phone resumes

hold stylus out for ~5 seconds (my toggle time is set to 2 seconds)

replace stylus, touchlockpro activates

remove stylus and turn off touchlockpro
[Touch Diamond, MDA Compact IV Themes and Apps] mikebai1990:
Hm well I'm having none of the problems you have described. In fact I think the latest version is a winner! Haven't had one time where the screen doesn't come on when I press the power button. Only thing I haven't tried yet is whether picking up incoming calls works properly with touchlockpro. Will report back later.
[Touch Diamond, MDA Compact IV Themes and Apps] Slide:
Hi ZuinigeRijder,

can you make a option in the new V1.7 to set the Device in Standby after 20sek. or so when after PowerOn no capacitive imput comes?

Greeting

Slide
[Touch Diamond, MDA Compact IV Themes and Apps] lexluthor:
What does this mean and why is it set that way?

Will my light sensor still work to turn off the screen when I put the phone to my face to make a call?
[Touch Diamond, MDA Compact IV Themes and Apps] hvbelton:
Battery

Has anyone else noticed an increase in battery drain with 1.7. I dropped 11% in an hour of normal use, where before I'd not loose anything like that in the same period and same using 1.6.
[Touch Diamond, MDA Compact IV Themes and Apps] tenxo:
Yes you have to set a security pin first with the built-in WM password lock (not the screenlock). start>settings>lock after you set up your password and timer it will ask you for it anytime you go to start>settings>lock regardless of how long the timeout is set for.

Thanks
[Touch Diamond, MDA Compact IV Themes and Apps] bpm2000:
new version seems to have fixed the wakeup issue, but the non-responsive touch unless in landscape issue still remains.

thx!
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
I looked into the logfile. This is what happens from TouchLockPro perspective:

9:41:37 1321534858 ====== POWER OFF =======

9:41:38 1321534858 ====== PBT_RESUME =======

9:41:38 1321534858 ResumeRequest()

Apparently, although there is a Power Off request, BUT some program is giving it immediately a PBT_RESUME (or keeps the phone awake), which causes the lock (because of the setting AutoLockOnPowerOn).

Do you have some settings, such that the phone never fully goes to SUSPEND, e.g. Bluethooth or Push email?

Can you give some more details of the programs installed/running?

What do we want to do, if immediately (e.g. within 3 seconds), after power off event, a power on event or PBT_RESUME event occurs.

I think we should in that case assume nothing has been changed and AutoLockOnPowerOn should not be applied. Probably this would solve your problem.....but this would also mean the phone will not be locked by AutoLockOnPowerOn. Hmmm, maybe we should not lock as long as the screen is off?

Anyone having thoughts of this?

About the Stylus behaviour. When taking the Stylus out in a locked situation, it will unlock, but lock again when putting the Stylus back in. I see in the logging no other unlocking done (capacitive touches or light sensor, or stylus OUT/In within 2 seconds). So the stylus locking behaviour is as expected.
[Touch Diamond, MDA Compact IV Themes and Apps] MRE-net:
Great app. But can you update the registry actions for the 1.7 version ?
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Yes, with the real 1.7 version it is possible to configure the settings via TouchLockAction screen. I am in a testing face now, the code for the settings is ready :D
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Great that at least the wakeup issue is fixed.

What I do not understand is why in landscape the capacitive touch works and why not in portrait. Because there is no difference in the mechanism.

Can you provide debug logging (logdebug=1 and logdebugdetailed=1), see post #3, so I can have a look what is happening. Please also provide information in the actions done and when......
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Great to hear that my effort seems to solve the reported problems :)
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Currently this is done via the default backlight off setting: "SuspendOnBacklightOff = 1".

If you configure your phone to set the backlight off after 20 seconds (via Start -> Settings -> System -> Energy or something like that), it will automatically suspend when the phone is locked. The default setting "AutoLockOnPowerOn=1" will make sure it will be locked at power on.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Yes, I mean with it, that TouchLockPro is no longer polling/using the light sensor.

If another application uses the light sensor, this will still be possible. The light sensor will be loaded automatically by the "incoming call/dial" program, so the light sensor will still work to turn off the screen.
[Touch Diamond, MDA Compact IV Themes and Apps] MRE-net:
Great, but it would be nice to add the options in words beneath the buttons, just like the PsShut action screen has. Sometimes I press the wrong button and my device is turned off completely.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Actually, nothing has been changed in this respect, it should even use less battery, because the light sensor is closed and the input is less often disabled.

But the battery percentage shown are not always a good indication of battery drain.

See also post #332
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
The disadvantage of words is that there are people using different languages, so you need to provide translations. In my opinion you will get used to the nice icons pretty fast. You will miss them, if they are not available anymore :D
[Touch Diamond, MDA Compact IV Themes and Apps] MRE-net:
Ok I encountered a problem:

When I want to put my diamon in my pocket I always press the power button to lock my device. I feel the 2 vibrations. But when I press the power button again to activate my device, I cannot unlock it by tapping the sensors 3 times. The only way to unlock it is to remove the stylus.

Am I missing something here, a registry setting or is this a bug in the program ?

Can you also split the vibration and the lock indicator ? I want my diamond to vibrate twice when it locks and vibrate once when it unlocks and also have the lock indicator visible at all times. When I use the 2 vibriation option, the lock indicator isn't visable....
[Touch Diamond, MDA Compact IV Themes and Apps] MRE-net:
I meant both of them. So and the icons and just below the icons the function in words. English would ben nice. Almost everyone understands that. But yes...I believe it's my lazyness to getting used to icons only :)
[Touch Diamond, MDA Compact IV Themes and Apps] m4j2t:
CMDA touch pro. still having the power button resume issue. i would like to use this app. let me know if there is anything I can do to help test.

A note: the phone will suspend and resume with the keyboard extended (landscape mode). It works like I would like it to in landscape mode. Meaning I don't have the power button issue with the keyboard extended.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Can you provide me a debug log, "logdebug=1" and "logdebugdetailed=1", see post #3, so I can have a look for the cause. Because this should work.

If you want another vibrate mechanism, then I need to introduce independent number of vibrates configuration possibilities for lock and unlock. I in general think vibration is less good for battery life.

Are more people interested in more control of the number of vibrations?
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Can you provide me a debug log, "logdebug=1" and "logdebugdetailed=1", see post #3, so I can have a look for the cause. Maybe it is the same issue one other user complained about.
[Touch Diamond, MDA Compact IV Themes and Apps] MRE-net:
I will enable the debuglogs and provide them as soon as possible.

I know the vibration is less good for battery life, but it's optional to enable it. So users of your application can make their own decision to use it or not.

Ok enabled the logdebug settings. Didn't know where to put the regkeys exactly so I made it als Dword in \Zuinige Rijder\ActionSettings reg path
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
No, they must be created beneath:

HKCU\Software\ZuinigeRijder\LockSettings
[Touch Diamond, MDA Compact IV Themes and Apps] MRE-net:
Here is my log file.

I already found out that the reg keys had to be made in Locksettings. Done and uploaded.

Problem still exists. If you want feedback in Dutch, send me a PM.

Going to hit the showers right now :)
[Touch Diamond, MDA Compact IV Themes and Apps] MRE-net:
Ok according to my problem, I've tested a little more.

This is what happens. When I press the power butten, my screen goes black and after 1, 2 or 3 seconds I feel the vibration (1 time because I want the Lockindicator). I notice that when I press the powerbutton that there are different timings when the phone starts to vibrate. Some time immediately, some times after 1 second, sometimes after 2 or more seconds.

When my device is locked and I press the power button, sometimes the screen doesn't show up and remains black. After pressing the power butten a few more times, it comes up to full brightness, but I cant unlock my phone then by using te 3 taps, only when taking the stylus out. When I leave my phone for 30 seconds, the screen turns from full brightness to a lower brightness. WHen that happens I'm able to unlock the screen with the 3 tap. Probably this has something to do with my backlight settings which are default.

Verl. uit als app net wordt gebruikt gedurende: 30 seconden. AANGEVINKT

Apparaat uit uitschakelen indien niet gebruikt gedurende 40 seconden: AANGEVINKT.

Hope this helps you to solve this problem.
[Touch Diamond, MDA Compact IV Themes and Apps] Bäcker:
i also have the problem that on pressing the power button repeatedly in 2-3 out of 10 attempts there is no lock indicator. i cant unlock the phone and the screen is locked.

The hardware buttons are still functional as i use locktouchpanelonly.

furthersettings

sensor 0,2s

locktouchpanelonly

lockindicator 0

capacitivetouches 2

suspendonbacklight 0
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Second attempt for fixing the power button problems: : TouchLockPro v1.7 WIP2

Second attempt for fixing the power button problems: TouchLockPro v1.7 WIP2

Not for all the problems were gone. So this is my next attempt for solving the problems.

Several measures/improvements have been done:

* Revisited the state changes for Power Off/On/Suspend

* WIP version of settings screens (second row, first icon) in TouchLockProAction. Press the accept button on a setting screen to save them. TouchLockPro will automatically pick up the changes settings.

* Added settings VibratesLock and VibratesUnlock

* No longer set PowerPolicyNotify PPN_UNATTENDEDMODE, to catch power off events

* Suspend via simulation Power off button instead of SetSystemPowerState POWER_STATE_SUSPEND

* Different locking mechanism for "LockTouchPanelOnly = 1". With this mechanism I do no longer need to reapply the lock regularly.

* I do not know if this works for all phone variants (e.g. CDMA), so please TEST!

* Only disable input immediately at resume

* Nice TouchLockAction icons, provided by MysticGenius (the settings are not available yet, so this button is disabled)

* The default settings are written in the registry, when they are not there (used by Settings screens in TouchLockAction)

Because I did not have those Power button problems, I would be glad to hear if the problems are solved (or less frequently). Be careful, I did not extensively test, but I am sure you will :confused:
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Ok, I have uploaded 1.7 WIP2 for TEST. Can you see if the problem still persists. If not solved, can you send me a new log file.

Bedankt!
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
I uploaded version 1.7 WIP2 which could solve your problem. Can you test. If the problem still exists, can you enable logging (logdebug=1, logdebugdetailed=1), see post #3 and post the log file as attachment.

Thanks!
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Can you test with 1.7 WIP2?
[Touch Diamond, MDA Compact IV Themes and Apps] DomSim:
WIP2 works perfectly for me now so far! no locks on poweroff so far.
[Touch Diamond, MDA Compact IV Themes and Apps] Bäcker:
seems to be fixed :D

perfect - your tool is exactly what i needed to get my diamond closer to perfect. Donation sent!
[Touch Diamond, MDA Compact IV Themes and Apps] MRE-net:
Ok installed it and the action screen looks really nice. But is it me or does the middle button not work ?

The black screen issue seems to be solved. Thanx man.

But now I have the following issue:

1. Device/backlight in on and unlocked and all buttons are fully functional

2. I press the power button to put the device to sleep to put it in my pocket.

PROBLEM: The device doesnt vibrate and isnt locked at all

3. I take the device out of my pocket and press the power button

PROBLEM: The device locks immediately and vibrates.

4. I press the power button to put my device back to sleep to put it in my pocket again

PROBLEM: I can't use the power button because all buttons are locked. I have to unlock first, press the power button to put it into sleep and put it in my pocket. This doesn't save battery because when I don't unlock it, the backlight stays on for 30 secs.

So actually there is one difference in the latest wip2 version and that's that the device isn't locked when pressing the power button when you put it to sleep. Also it would be nice to implement a feature to not lock the power button at all.

But thanks for your hard work :D

Btw....when I change some settings, do I have to soft reset my device or are the changed settings applied immediately ? And is it correct that the middle button (apply button) doesn't work ?