yashsingh1/xdaforums huggingface dataset:
[Touch Diamond, MDA Compact IV Themes and Apps] NLS:
Haven't checked with 2.1 yet, but 2.0 let me down a bit, yesterday...

I have zero on SuspendTimeOutPowerOn and I have SuspendOnBacklightOff ticked (enabled) as the author suggested is the DEFAULT WM system setting (!?).

Well I had the device in my car, using the car-charger (so one more reason it should not lock), yet MORE THAN ONCE device turned itself off! (suspend!) ...With my GPS software this means soft-reset as it freezes when loosing the COM port!

So I was trying to find my way and the device kept switching off after a few minutes and I had to stop and reset it to continue! ...Plus my wife was in the car. That is baaaaad.

There no other software in my device that my have affected suspend.

In fact since GPS software keeps the device alive (AND the charger should keep the device alive), something FORCES the device to suspend.

Must be TLP.

Second issue:

For some reason MANY times, the screen is not responsive when I have the device cabled for sync and charge. Probably doesn't happen immediately, but after some time. There is NO indication that the device is locked!

I even try to "touch unlock" it (ignoring that there is no indicator for lock) and the device does not unlock.

Solution? I remove the cable, device immediately locks (and indicator line shows), then I reinsert the cable and it unlocks properly and can use it.

...so... Is there anything I can do to help resolve those two issues?

(BTW I think you forgot to update the version string in 2.1)
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Sorry to hear from your bad experience.

I double checked my source code, and TouchLockPro will only suspend the phone, when it is locked, when the backlight off changes. So it looks like it does have nothing to do with TouchLockPro, but of course you never know. I use IGO8 with TouchLockPro and with the backlight off setting in combination with a car charger I never had a problem. Maybe you can enable debug logging and try to reproduce the scenario (when you know your way :D).

For the second issue, also a debug log may help too.

Please note the exact time, when the problem occurs, because this makes finding possible problems easier.

You can use version 2.1, although this version will not solve your problem. The only advantage there, is that it append the log to an already existing log, when a soft-reset/restart is done.
[Touch Diamond, MDA Compact IV Themes and Apps] NLS:
OK will check it out - thanks.

BTW, this happened with Destinator (PN, a very old version, but one that I know keeps the device alive), I think I also seen this happen with iGO8. I'll investigate.

Good that you have debug options. It is nice to be able to help us, help you... help us (and in the end... help you ...make the program better). :D :D :D
[Touch Diamond, MDA Compact IV Themes and Apps] bill48105:
Hi ZuinigeRijder,

I noticed you added my INI example post to your todo wish list. That is very cool! Thanks for taking my expansion of Kraize's original request & adding it to the list, I look forward to seeing it implemented. :)

Please keep in mind that I only used INI as an example to better organize & convey my thoughts on how I was suggesting a way TLP might act differently depending on state or current app in front. It certainly doesn't have to be an INI file if you feel something else is better. Not sure how you store settings now (thought it was ini or plain txt) but I'd imagine it could be the same (such as registry or XML or INI) but unless you provide user interface in settings to change it then it'd be helpful if it was easy to edit. (Like INI or XML which we could do on the computer quickly & transfer) vs registry which would be a big pain to type it all in.

Speaking of which as TLP has more & more settings an export/import feature would be nice. Of course if the settings are stored in a file I suppose that could just be backed up & restored..

Btw I tested 2.1 & it definitely fixed the 'touch screen during wake up' problem which is cool so thanks for the update!

Just to note that the problem of touching capactive areas during wake up & those areas not responding to unlock still exists. I am betting this is something that is causing a lot of people frustration when they can't unlock the phone & wonder why since if they are like me they have thumb over end/back key area when pressing power button then try to touch the same area to unlock but it is no go. Perhaps this isn't something you can fix but I wanted to make sure you were aware of it since I didn't see it on your list.

Sorry so much in 1 post but I think I am at my weekly quota for XDA for now. lol

Bill
[Touch Diamond, MDA Compact IV Themes and Apps] imranbashir_uk:
ZuinigeRijder,

I have asked the question over in Dutty’s thread let’s see if we get an answer. I was wondering if there might be a compatibility issue with 2.03 ROMs and the version of TF3D, if this is the case then it will start effecting more and more people as they upgrade their ROMs.

Not sure if this has been asked before, as I didn’t search your thread. But have you thought about unlocking via depressing of a hardware button, ideally the centre button as it is recessed and so unlikely to be depressed while in your pocket.

This would also solve the capacitive locking issue on Duttys V4 ROM.

Food for thought....
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
I knew 2.1 will not solve the capacitive touches on certain ROM's, because I did no changes for that. Actually, I cannot do much about it, because the relying HTC dll's do not react as expected. Probably this means that I definitely need another unlocking mechanism, like "shake to unlock". So I will spent time on that one now. And the other parts on the TODO/wish list have to wait for that :cool:

But I am glad at least locking of TouchPanel is now working already at suspend/screen off.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
As far as I have investigated, to receive/lock keypresses, the application needs the focus. And because TouchLockPro does not want to interfere with running application, I think this will be a dead end.

Anyway, you can couple a command to a hardware key: "TouchLockAction.exe" unlock

Of course , then you should configure LockTouchPanelOnly=1. I can consider an option to unlock only the hardware keys when there is an incoming call, so only then you can unlock via the hardware key.

I got this link from sunny127 about the hardware buttons: http://pocketpcdn.com/sections/input.html. This also confirms that you cannot get the hardware button presses when you are not the 'main'application in front. But it gives you also some links how you can couple a command to hardware button.

On the Touch Diamond you can couple commands to a hardware button, via Start -> Settings -> Personal -> Buttons

After adding TouchLockAction to the "long press Phone button", I could see it in the registry: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shell\Keys\40C6\Default

I did change it into:

"TouchLockAction.exe" unlock

And it worked! But of course, you need to configure TouchLockPanelOnly=1.

Hope this helps.
[Touch Diamond, MDA Compact IV Themes and Apps] NLS:
There should also be a parameter for toggle.
[Touch Diamond, MDA Compact IV Themes and Apps] Darmach:
Hello ZuinigeRijder

As we talked before - i've tried your application on LG KS20, and i have few remarks.

I've changed ClockHeight to 0 - and it has dissapeared completely :) (which is good for me)

Phone Touchscreen is locked completely, either i wake the phone up using 'Power' button or it will wake up by itself on incoming call.

#########################################################################

And now a question:

Is there a way to unlock touchscreen when waking up phone using 'Power' button but still locking it on incoming call ?

I mean such situation:

Behaviour on incoming call

1 - Phone woken up, touchscreen unlocked, hardware buttons unlocked [pressing 'Power' button]

2 - Phone suspended, touchscreen off, hardware buttons locked except 'Power' button

3 - [call incoming] Phone wake up, touchscreen ON but locked, hardware buttons unlocked [pressing 'Answer' to answer call]

4 - ...blah, blah, blah... [Call Ends]Touchscreen ON unlocked, hardware buttons unlocked [pressing 'Power' button]

5 - Phone suspended, touchscreen off, hardware buttons locked except 'Power' button

OR(maybe make this an option "behaviour after call"?)

1 - Phone woken up, touchscreen unlocked, hardware buttons unlocked [pressing 'Power' button]

2 - Phone suspended, touchscreen off, hardware buttons locked except 'Power' button

3 - [call incoming] Phone wake up, touchscreen ON but locked, hardware buttons unlocked [pressing 'Answer' to answer call]

4 - ...blah, blah, blah... [Call Ends] Phone automatically go >> suspend (without pressing 'Power' button)

5 - Phone suspended, touchscreen off, hardware buttons locked except 'Power' button

On manual wake up

1 - Phone suspended, touchscreen off, hardware buttons locked except 'Power' button [pressing 'Power' button]

2 - Phone wake up, touchscreen on AND unlocked, hardware buttons unlocked [pressing 'Power' button]

3 - Phone suspended, touchscreen off, hardware buttons locked except 'Power' button

(I mean automatically unlock touchscreen if wake up was administered manually by pressing 'Power' button)

Is this possible to write? :)

#########################################################################

This LG phone is my first one on windows, and i was shocked when i saw how it handles touchscreen locking on incoming call/sms....

And i personally doesnt like such apps like S2U - i like things small, working and minimalistic :D

And from what i see - your app is the best - and i hope maybe i found a perfect one screen locker/unlocker :D

Darmach
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Yes, that is a command useful in TouchLockAction, toggle between lock/unlock. I will set it on the TODO/Wish list.
[Touch Diamond, MDA Compact IV Themes and Apps] NLS:
In fact I would also love a tiny exe that works as a toggle, WITHOUT parameter (because there are some shortcut managers that don't support parameters).
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Great to hear it is in the end working on a non HTC device!

You can configure a small stripe, to have a visual indication the phone is locked:

LockIndicator=0

ClockX=0

ClockY=0

ClockHeight=1

ClockWidth=340

You can also change the color from white to something else.

I am investigating another way of locking the hardware buttons. I still have to test it, but probably I can lock all keys, except the Power and Volume keys. And it is also a standard Windows Mobile solution.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Haha, I do not have one.Maybe I introduce it in the coming time. But for now, I just want to improve TouchLockPro, the donate button is on a lower priority :)
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
I first need a reliable solution for locking only the TouchPanel.

The wait is a result of the HTC API to lock the hardware keys and touchpanel.
[Touch Diamond, MDA Compact IV Themes and Apps] raspdeep:
Here is a suggestion. Create a transparent VGA size form that is ALWAY_ON_TOP, FIXED (cannot be moved) to cover the screen? This way if user try to touch the screen, it will only press on your form which is doing nothing... So you do not need to do any locking..

Another suggestion is to have AutoLockOnScreenOff instead of AutoLockOnPowerOff. AutoLockOnPowerOff only locks when you press the power button? What if you let the screen go off automatically? Is your algorithm keeping track of the state? AutoLockOnScreenOff should cover both scenario where the screen goes off automatically and if you press the power button (where the screen also goes off)
[Touch Diamond, MDA Compact IV Themes and Apps] 4D3:
Personally, i think that the capacitive touch is better than pulling the stylus in and out, it is a breakthrough!! nice work

I dnt like the battclock, it messes up my pretty taskbar ;). i think it would be better as a separate app as this is "TouchLockPro" maybe call it "Clocklock" or implament a way to hide it.

As it stands, i prefer the functionality of styluslock, it had nicer features, but i like ur projects, so i stick with you!!

(dnt get me wrong, i understand coding is hard and laborious, i know some VERY hardcore programmers, one of them has expressed an interest in your project so if you are having trouble maybe he could help you? he can write almost any language, and taught himself c# in 8 days for his uni disertation!!)

touchlock with your intergrated action screen!! you r tha man, serious, that looks too cool!!
[Touch Diamond, MDA Compact IV Themes and Apps] samspoon:
ok so i see there's the tap power twice to get it to turn the screen on but i was wondering if there's a way to make it so it locks everything BUT the power button. I don't really have problems hitting this button and would prefer to just have to hit it once to turn the screen back on

maybe hold the power button in for half a second? i have troubles getting the double tap to actually work for me
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Do you know how to have a transparant form in C++ on Windows Mobile?

The only thing I found was on overriding the onpaintbackground().

But the information below the transparent form is not updated.

A lot of features in Windows Mobile have been left out :(

AutoLockOnScreenOff is in TouchLockPro the SuspendOnBacklightOff = 1 setting. So in TouchLockPro AutoLockOnPowerOff and SuspendOnBacklightOff are both supported and work together.
[Touch Diamond, MDA Compact IV Themes and Apps] raspdeep:
Are you using VS and WM SDK?

Or create a black color form with message that says "LOCK" or put a clock or something.. hehe

But you will need to get the caller ID and name if it rings to display on your form (in later version)

Another idea is to create forms that cover the "vital" areas.

Base on the 2 scenario:

1) Phone not ringing - Normal transparent form (information below not updated)

2) Phone ringing - forms to cover "vital" areas like start button, answer keys, etc
[Touch Diamond, MDA Compact IV Themes and Apps] egoist6:
very comprehensive and amazing app.

two questions:

is it possible yet, to lock AND activate sleep mode from command line (i think you mentioned s.th. like that) ?

does tripple touching the pad would wake-up AND unlock the device? can i do that without the stylus?

i guess i have to set setting -> system -> key lock -> do not lock buttons.
[Touch Diamond, MDA Compact IV Themes and Apps] the guitarist:
hi there and thanks for the great app BUT if had these two annoying issues i thought i'll pass them by you :

1- when i touch the panel .. i have to touch it more than 3 times to unlock the device (it's not really accurate) maybe you can increase the sensetivity of the touches

2- when the i press the power button to switch off the screen, the phone locks and the screen goes off BUT i can't unlock the phone by thouching the panel 3 times i have to unlock it by taking the stylus out !!!... so the 3 touches method doesn't work unless the screen is turned on and that's really annoying because if i locked the phone and put in my pocket the screen will go off automatically .. and the only way to unlock it again will be to take the styles out

sorry for the long post but i wanted to write my issues in detail to help the development of this promising APP

thanks
[Touch Diamond, MDA Compact IV Themes and Apps] JoeSchmoe22:
Inconsistent

I have been playing with this app for the last 24 hours. I have noticed that sometimes it gets confused and I can ONLY unlock via the stylus pull-out method.

+1 for the power button to stay unlocked. It is REALLY difficult to turn it on first of all. Secondly, what's the big deal if it does turn on, the touchpanel and all of the other buttons are locked. Allowing it to turn on via the power button provides a quick view of what's happening on the Today screen [time, SMS message balloon, email count, etc.]

If you do consider the request for allowing the power button to be activate, but worry about burning excess battery for no good reason when it is turned on in your pocket or purse, consider a sleep timer setting of 15 seconds or less. As long as TouchLockPro has focus, it should be able to at least turn off the screen based on it's timer.

+1 for other hardware buttons to allow it to deactivate the lock. I.e. hit the Home key 3 times to unlock or hit home then back to unlock. I'm sure that this adds a huge amount of programming time and effort, but I have noticed inconsistencies with the center capacitive button not recognizing my taps even though the device is on. Sometimes I have to hit it 9 times (3x 3 taps) before it unlocks.

THANKS FOR THE HARD WORK!!! :D
[Touch Diamond, MDA Compact IV Themes and Apps] 4D3:
I have used this app now all day, it is virtually impossible to unlock the phone using the three taps. when using the device normally (i.e. without an incoming call and with 2 hands) the success rate is less than 20%.

I have missed so many calls and had to make many call backs, because i cant answer the call with the hardware keys, triple tapping doesn't work, and i cant remove the stylus when driving.

Please Impliament the existing features from styluslock!!
[Touch Diamond, MDA Compact IV Themes and Apps] Ddriver:
Thanks a lot for this great app!!!

This one work like a charm on my Diamond. :-)

The touch area is very good!

The best one till now. ;-)

Greets Ddriver.
[Touch Diamond, MDA Compact IV Themes and Apps] andrediaslopes:
thanks for this great app!
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
I am looking into this, if it is a problem introduced in version 1.1.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
I am using VS2008 with WM 6.0 SDK.

I do not want to make a special solution, only for incoming calls. For that, use answerkey disabler.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
I am busy with a separate Action screen program, which will also be able to handle command line parameters. So keep an eye on this thread.

The capacitive navsensor does not react, when the phone is off. It does only react when there is a form in the foreground and visible.

I know it is possible to awake the phone with any hardware key (a system settings), but that would wake up the phone too easy :mad:
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
1. You must not touch other area's while doing this, because that resets to 1 touch. Also, once per 4 seconds I need to recreate the BattClock, to keep getting capacitive sensor events. So for 1 second events will not be taken.

2. unlocking does only work when the phone is on, not when it is asleep. When just powered off, you cannot always immediately use the power button to power on.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
I cannot unlock the power button via the HTC API, when the hardware keys are locked. Sorry.

Currently only locking the touchpanel is not working. I am looking into this.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
be patient, I am looking into the touchpanel problem.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Great to hear it is working for you.
[Touch Diamond, MDA Compact IV Themes and Apps] bill48105:
Hi,

Yeah I figured you hadn't even worked on it but it was more or less a reminder of the issue. ;) It it too bad you won't be able to fix it but you should at least put a note on your 1st post & your site about the 'issue' for others who might run into it. As I said it is natural to be touching that area just holding it so I am surprised more people haven't run into it. Or maybe they did & they threw the phone out the window or removed TLP.

I saw the shake to unlock thing but wasn't sure how exactly that would work. I can see myself shaking it like crazy & it going flying like Wii controllers do! YIKES! :eek: Speaking of disclaimers & such that reminds me to remind you on alerting people to the possibility they might not be able to make urgent calls in an emergency depending on their settings.. The thought of that is quite scary & I think many people haven't even considered the possible consequences of a 'super locked' phone. I mean even the built in MS locker let you dial 911 while the phone was locked so they had to have been aware of the possibility.. I'm not sure to what extent you go about warning people but IMO it should be considered.

I think it is very good you are looking for many ways to unlock since that gives people options at least, even if they don't like some. Each person is different. I *really* think the 'INI' custom config stuff (where the user can define how TLP acts in certain situations) will help a ton to help us all customize to suit our needs without you chasing your tail to please everyone. :D

Let me know if I can help in any way with testing on Dutty's v4 or figuring out this custom config stuff.

Thanks & keep up the good work!

Bill
[Touch Diamond, MDA Compact IV Themes and Apps] Samohtrelhe:
BINGO !! Capasitve Touch now perfectly responsive!!

And now with the screen locking allready at power off (along with the SuspendWhenBacklightOff) thats all I need for locking :-)

That also solved my problem with lockdown of the Powerbutton when removing it from the active Brodit carholder.

To be able to remove the phone smoothly I prefer to press the powerbutton before removal. But then after removal from the ACpower in the holder, the Powerbutton was also locked and the only way in was the stylus :-/

Now that it locks the screen just on the powerbutton I've just removed the tick at UnlockOnACPower.

Idealy there should be BOTH an "UnlockOnACPower" and "LockWhenNoACPower"
[Touch Diamond, MDA Compact IV Themes and Apps] Samohtrelhe:
Give zuinigerijder credit and show him you apreciate his work!

This app is truly impressive and zuinigerijder responds with great effort to all the wishes we come up with.

So SHOW him that you truly apreciate it!

12000 downloads and only 22 donations ??

SHAME on anyone using this app without donating a little I say!

Think it over; You buy a phone at +500$ with a grave built in problem.

zuinigerijder solved it and you can't spare a fiver?
[Touch Diamond, MDA Compact IV Themes and Apps] bill48105:
I agree ZuinigeRijder deserves plenty of thanks & appreciation for his work & am glad TLP is offered up by him for free as donationware but I'm not sure guilting people into donating is fair or polite for that matter. I'm sure your comment was not directed at anyone in particular but consider even if our screen names can't be matched up with our real names shown on the donation hall of fame (or shame depending on if you donated or not & your POV). The Donate buttons are prevalent in his signature & on his site so I think the key to donations is they are completely voluntary and perhaps some people 'donate' in their own way such as spending time helping the author field support questions, giving web site hosting, visiting sponsors with advertising on the site or simply saying 'thank you'. Granted those might not buy much of monetary value but perhaps the joy of that heart felt thanks is reward enough for the author. That being said I hope people do what they can or what they feel is right without fear of being singled out or ridiculed. Of course I could be way off base here & completely out of line & ZuinigeRijder is welcome to set me straight but that is just my 2.2 cents.

Thanks again ZuinigeRijder, MUCH appreciated. Feel free to contact me if there is anything I can do to help out.

Bill