yashsingh1/xdaforums huggingface dataset:
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
The SuspendOnBackLight is only working when the phone is locked. Can you post a debug file (logdebug=1 and logdebugdetailed=1), see post #3, so I can see what TouchLockPro sees for events.
[Touch Diamond, MDA Compact IV Themes and Apps] Edw00d:
Uploaded a debug file. The other one was blank.

Seems like TouchLockPro doesn't lock the screen fast enough, so the pressure from the carrying case keeps my Touch Pro from turning off.

Is there a setting where I can make it lock faster? Thanks for checking into my problem. Hopefully you can figure something out from that huge txt file.

-Ed
[Touch Diamond, MDA Compact IV Themes and Apps] haustin:
Re: problem w/SMS wake-up

Well, I have the backlight turn off at 30 sec, but I'm also running Lumos to manage the backlight -- if the ambient light is zero, it sets the backlight to zero. There should've been at least some light on the sensor during the logged test, but apparently not. I'll kill the SuspendOnBacklightOff setting and test it again.

Thanks! -hea

P.S. In further testing, I've noticed that capacitance-tapping appears to be ignored until the OS and other apps are done with their notifications... For example, I can't unlock for an incoming call wake-up until the callerID info is finished scrolling at the top. Can't unlock for an SMS wake-up until the notification tone and vibration are done. There is also a delay for TPL to lock upon SMS wake-up, so I can manipulate the screen and buttons before they get locked down. Haven't noticed a similar locking delay on power-button wake-ups nor on incoming call wake-ups. Hope this info is useful. -hea
[Touch Diamond, MDA Compact IV Themes and Apps] Slide:
Hi ZuinigeRijder,

can you tell us what everything will be new in V1.9?:)

Greeting

Slide
[Touch Diamond, MDA Compact IV Themes and Apps] fourcc:
hope the "only lock when receiving a call" option in settings!
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
So that explains the screen off behaviour. In fact, Lumos can be contra-productive in saving battery, because now the screen will only go off, when that timer is expired. What is the setting for screen off?

In TouchLockPro version 1.9, the suspend timer can be set independent of the backlight off.

The capacitive sensor will only give callbacks, when it has the input focus. Apparently the caller ID scrolling is making sure it gets focus. Is this a special program doing the scrolling of the caller ID? Anyway, I recreate the BattClock once per 8 seconds, you can try to lower this value to 4 seconds, so it is recreated more regular.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Pressing the screen will not power the device on or keep it from going off. And if that was the case, those touches would be detected and reacted on by the programs.

In the logging I see that there are a lot of POWER_STATE_ON events.

=========================POWER_STATE_ON============================

And just before there is often a SCREEN OFF (not always, but regular).

That explains the vibration, because your setting is vibrate on lock and unlock.

I also see another unrelated strange value:

SetBatteryLifePercentage(): 255. This means UNKNOWN.

That explains also with others, why sometimes 100% is shown, because in version 1.8 I set it to 100% when it is greather than 100. I will fix this in version 1.9.

But my conclusion in analyzing the log-file is that some program does often a power on again, just after a screen off. But this is not always the case, as I can see in the logging.

What programs do you have installed and running?

Do you synchronize mail?
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
A quick overview:

* added TAPI support

* added AppToDate support

* show -1 when battery gives BATTERY_FLAG_UNKNOWN

* fixed TouchLockAction Screen ClockBackground and ClockForeground

* now in all occasions the input is enabled at power off/screen off, so all power on problems should be solved by this now (EnableInputAtSuspend setting)

* LockWhenIncoming = 1; // lock when there is an incoming call

* UnlockWhenConnected = 1; // unlock when call gets connected

* ScreenOffWhenConnected = 1; // screen off when call gets connected, to avoid presses with your ear

* EnableInputAtSuspend = 1; // enable input at power off/screen off to avoid power on problems

* UseStylus = 1; // when false, it will not react on stylus changes

* UseTAPI = 1; // when false, TAPI will not be loaded

* DateDDMM = 0; // show date in DD-MM instead of battery percentage

* DateMMDD = 0; // show date in MM-DD instead of battery percentage

* StylusOutDisablesLockMode = 1; // stylus out disables lock mode, yes or no

* SuspendOnStylusIn = 1; // stylus in suspends the phone, when locked

* SuspendTimeOutPowerOn = 30000; // suspend when the phone is locked and the suspend time has expired

* CommandCallIncoming // command to execute at incoming call

* CommandCallConnected // command to execute at connected call

* CommandCallEnded // command to execute at ended call

* CapacitiveTouchesSequence = 222 // now you can configure the sequence order of area 1, 2 and 3 to unlock. More/less than 3 touches is possible. So you can also use this as a security unlock, if you disable the other unlock possibilities, including the UseStylus.
[Touch Diamond, MDA Compact IV Themes and Apps] Slide:
Thank´s for the overview.

Greeting

Slide
[Touch Diamond, MDA Compact IV Themes and Apps] fourcc:
thnaks a lot ZuinigeRijder!

BTW, do you plan to include the option to only lock certain buttons and to leave unlocked other buttons like volume & power on/off.

I think that a lot of pages before in this threed, you said something about the mechanism you use to lock the device does not allow to partially lock the buttons of the device but i'm not sure. Volume buttons and power on/off would be nice to have them unlocked, at least as an option.
[Touch Diamond, MDA Compact IV Themes and Apps] haustin:
Re: problem w/SMS wake-up

One minute is the minimum to set via the interface. I was planning to set it to 35 or 40 sec via the registry, but I hadn't gotten around to it yet. I actually use Lumos for its superior backlight control, not to save battery (but I had noticed the very problem you mention).

Excellent.

Actually, it's an AT&T branded Fuze with no additional callerID software. It scrolls (actually, alternates) "AT&T" and "Incoming voice call" a few times at the top left of the screen. I don't know if the timing is actually related, but the ability to unlock via capacitance appears to correlate with the display of the last message in the sequence. I.e., with a three-second delay before ringing (to accommodate gathering callerID info) and the further arbitrary delay, it's several seconds after the phone wakes up before I can actually answer it. After several attempts, I was able to answer once immediately after the ring.

Thanks for your unexpectedly attentive support! -hea
[Touch Diamond, MDA Compact IV Themes and Apps] Slide:
Is it also possible to choose which area 1,2 or 3 is activ?

Greeting

Slide
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
If you mean, within an area which part is touched: No.

Yes, if you mean the order, the default will be 222 (3 triple touches to only the middle center button). But you can make other combinations too, For example 123, 2123, 12. So now you are no longer restricted to triple touch to the same area, you can configure it to how you like it.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Indeed, with the current HTC API I cannot control that. Maybe that in the future I will get another way to control that, but for now I do not have a clue how to program that, especially when you do not have input focus and without interfering with other programs.

But I am open if someone can point me to source code which can achieve this, without having input focus.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
I would expected others would reply, to help you :(

I have a Touch Diamond with a Dutch Windows Mobile, so something like:

Start -> Settings -> Sounds & messages -> Messages

And then select:

Messages: new SMS

And there choose your options.....

I have it set not to show a message on screen.

Hope this helps.
[Touch Diamond, MDA Compact IV Themes and Apps] fourcc:
thanls for confirming me that. i can not help you but Pocketshield does it. btw, it isn't open source so we can not know how they do it.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Yes, but PocketShield has the FullScreen window in front, as I know. I do not want to go into that route.
[Touch Diamond, MDA Compact IV Themes and Apps] Edw00d:
Something is not right with TouchLockPro. My battery drains even faster now. Hopefully ver 1.9 is better with battery usage.

My battery was fully charged last night at around 11pm. By 8am, my battery was at 35%. That's extremely poor battery life for my phone being idle.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
As I already concluded earlier (and that it is not due to TouchLockPro):

But my conclusion in analyzing the log-file is that some program does often a power on again, just after a screen off. But this is not always the case, as I can see in the logging.

What programs do you have installed and running?

Do you synchronize mail?
[Touch Diamond, MDA Compact IV Themes and Apps] Edw00d:
I don't synchronize mail. I don't have anything running when I put my Touch Pro to sleep. I even disabled activesync from constantly running, by not allowing my Touch Pro to automatically sync time.

I also have another problem. The power button no longer functions most of the time. Only pulling the stylus or sliding the keyboard wakes my Touch Pro up now.

Also, the capactive touch is not very responsive. I've missed a lot of calls because of it not registering my touches to unlock it. I now use the stylus pull out switch to unlock.

-Ed
[Touch Diamond, MDA Compact IV Themes and Apps] datlang:
I am really impress on the works that you have done, but I have 1 problem. I notice that the capacitive touch panel seem to be not functioning sometime especially after answering or making a phone calls and the display is still at the phone dial pad screen. I sweet a lot especially on my palm, I need to keep touching the panel for few time to amke the count to unlock the screen. Just wondering if thee is any possible add in another option to unlock by pressing the hardware button?
[Touch Diamond, MDA Compact IV Themes and Apps] Edw00d:
I have the same problem too with the capacitive touch not registering to unlock. Pulling the Stylus out or sliding the keyboard is the most reliable means of unlocking.
[Touch Diamond, MDA Compact IV Themes and Apps] lexluthor:
Not trying to hijack this, but are you saying the reason activesync is constantly starting up all day long is because of the time sync? I just disabled time sync and I'll see if it stops loading activesync. That's been annoying me. I hope it's it.

And yes, I've reported beore about the capacitive touch not being responsive as well.

EDIT: That was fast. No, that didn't stop activesync from starting up again on it's own shortly.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
That the power on button is not reacting is a known problem, when it goes to suspend while locked not as action to TouchLockPro. This will be fixed in version 1.9.

The capacitive touches can only be received when the BattClock has input focus. Therefore I recreate the BattClock once per 8 seconds. Probably it is better to lower this value to e.g. 5 seconds.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Unfortunately I lock all the keys and I cannot control some keys to be unlocked. Of course you can only lock the touchpanel and assign a hardware key to unlock the phone via TouchLockAction.

I also going to see if I can add "shake to wake" to TouchLockPro.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
did you try this to disable active sync
[Touch Diamond, MDA Compact IV Themes and Apps] haustin:
That would be sweet. I'm glad to see I'm not the only one having problems with delayed capacitance focus... In the meantime, I'll try your suggestion of lowering the redraw delay from 8 seconds to 4 or 5.

Thanks for all your hard work. Once this gets a "touch" more usable, you can count on a donation from me! -hea
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
I just uploaded version 1.9 on my new website (see post #1)

Many thanks to Dennis van de Sande, alias Mr_Q from XDA-Developers, for sponsoring/donating the website and domain.

I wish you a merry christmas and a happy new year!
[Touch Diamond, MDA Compact IV Themes and Apps] ertert:
Thanks for your great program and the updates.

I want to learn if there is a way to unlock the phone from sleep without pressing the on/off button. I don't want to press that button always to turn the screen on and also don't use the light sensor.

By the way I am using the etting that when the phone sleeps all the buttons except on/off button is disabled from the settings of the phone.

Thanks for your help...
[Touch Diamond, MDA Compact IV Themes and Apps] quicksite:
This is one of the most beautifully DOCUMENTED "problem/solution" paths I have seen.

I just want to say to the author: I know that most people are just thrilled to get an app that succeeds in solving a problem.

In this case, I do not have one of the Supported Phones, so it appears I cannot use what sounds to be a GREAT app -- one that is as necessary as A_C's S2U2 . But, I just wanted to say to ZuinigeRijder, it is so impressive to see how you documented your application & PROCESS at your website. Just a small example from your website:

I also want to say: It is such a testament to this whole site & community in the collaborative solving of problems. It may sound corny, but I just love watching how the members of this site are from countries all across the world, and how people work SEAMLESSLY... with no issues of national identity, skin color, race, or monetary-gain ever interrupting the problem-solution flow.

This is in stark contrast to the way this world typically functions. And it's just joyful to watch and experience -- because it is all in the background. Attention is never even called to this phenomenon.

Lastly, on an even deeper philosophical note: I'm a "creative" type - a filmmaker, and down the line to user interface design... And it is a very commonly-known area of tension in product design, software design, any kind of design enterprise, that "creatives" and "engineers" often clash in their sensibilities, with negative brushstroke images of engineers being so digital -- just either yes or no.

But over the past 20 years I have come to see that, in general, engineers have no barriers or prejudices when it comes to problem-solving. And while there are always the human problems of people who prefer to work by themselves, and not collaboratively, which leads to information-hoarding and sometimes a strong competitive instinct to not share anything, lest someone else beat you to the finish line, nevertheless I have seen the following:

The strongest cooperative spirit I have seen in the human race is with people who are engineering-dominant. Many a problem that governments so quickly go to war over -- the antithesis of the cooperative spirit -- could probably be solved if you got engineers from all those countries in the room, and kicked out the diplomats and celebrity-leaders, and religious zealots, and press-agents, and PR spinmeisters.

So this is just a tip of the hat to all of you engineers, and engineers-at-heart: The instinct toward knowledge-sharing and easy cooperation amongst people everywhere regardless of borderlines, observing a common ruleset which is all about physics and logic, having nothing nothing to do with religion or "belief", is inspirational in what gets achieved.

And now, having said all that -- can anyone get this kind of sensor-function to work on my T-Mobile WING (HTC Herald) ? :D
[Touch Diamond, MDA Compact IV Themes and Apps] renegade:
Great app. I Just donated :D .

Keep up the good work. :)
[Touch Diamond, MDA Compact IV Themes and Apps] JimSmith94:
This is a great app, and it works great on my Sprint Touch Pro. I have noticed a couple minor issues though, that maybe you can address in a future release:

* I have my TouchLockPro clock set for 12 hour time, but at midnight, it shows 0:00 instead of 12:00. I haven't had a chance to check what it shows at noon.

* When my phone is cradled, I use MyMobiler to view and control it, so I can still see the screen. I have the phone screen set to blank while on a call. While on a call, the time of the call increments as I talk, but the TouchLockPro time on the taskbar doesn't update until I end the call.
[Touch Diamond, MDA Compact IV Themes and Apps] haustin:
v1.9 issues

I've installed and configured v1.9 and it works much better than v1.8. The main problems that I've found so far are:

If it unlocks due to the light sensor, the lock indicator stripe remains visible (LockIndicator=0).

Occasionally, it doesn't lock on power up (even if the light sensor is covered and the stylus is in). This has (so far) always been the first power up after starting TLP.

That's all I see so far. Great work! -hea

P.S. What are the interactions among ClockLockActiveTime and CapacitiveToggleTime? I.e., does the former have to be longer than the latter, etc.? (Trying to optimize to be most sensitive and timely with capacitance notifications without failing to count any valid capacitance touches...)

<EDIT>

Just made my first donation to the TLP cause. :-)

</EDIT>
[Touch Diamond, MDA Compact IV Themes and Apps] renegade:
It seems that I've spoken too soon... :(

I'm facing a problem with TLP v1.9 recognizing the sensor touches on my Diamond. It almost never recognizes the touches and only works after many attempts with only the middle sensor.

In addition the vibration does not work.

Going back to v1.8 resolves above problems.

I will try to post the logs later.
[Touch Diamond, MDA Compact IV Themes and Apps] hibby50:
huge problem here... when i installed 1.9, manila wouldnt launch on my sprint pro. right when i uninstalled it launched. back to 1.8
[Touch Diamond, MDA Compact IV Themes and Apps] lexluthor:
I was about to post the same thing and go back to 1.8, but I changed it to 2 taps in Zone 3 (33) instead of 222 and it works much better.

It wasn't registering the touches in the center zone at all.
[Touch Diamond, MDA Compact IV Themes and Apps] renegade:
Yes Thanx. I figured it out after reading the description of CapacitiveTouchesSequence option. But I think the description for that option is not very clear. Vibrate works also. Back to v1.9 :) .
[Touch Diamond, MDA Compact IV Themes and Apps] hibby50:
wait so no one else is having trouble with manila not launching?
[Touch Diamond, MDA Compact IV Themes and Apps] haustin:
Re: v1.9 issues

I previously wrote:

I've since found:

Doesn't recognize middle sensor (i.e., CapacitanceTouchSequence code 2) taps.

Can't handle a single-digit (single-tap) code sequence (e.g., CapacitanceTouchSequence=1 will not unlock except with stylus).

There are numerous scenarios where the LockIndicator=0 stripe remains visible after the phone is unlocked. When that happens, it will go away only if you suspend & re-unlock.

Otherwise, it works better for me than v1.8 did.

I'll keep testing. :-)

-hea

P.S. I have the "Owner Information" screen set to come up at power-on, and the center button can dismiss the Owner screen, so I was hoping that pressing the center button would accomplish both tasks: unlock the phone (CapacitanceTouchSequence=2) and dismiss the Owner screen. Since neither single taps nor the center button work in v1.9, I was wondering if you could add a "UnlockOnCenterButton" option that would unlock on the keypress (rather than the capacitance tap) of the center button. (Since it's lower than the rest of the keypad, it's very unlikely to get pressed accidentally.)
[Touch Diamond, MDA Compact IV Themes and Apps] DomSim:
i cant seem to get the capacitive unlock to work right with this update. maybe i just dont understand the new set up but i would like it to be able to unlock with two tap to any section as i had it set in previous builds.
[Touch Diamond, MDA Compact IV Themes and Apps] lexluthor:
From what I'm reading, I don't think that's possible now. I think that might be a mistake. Your touch sequence has to be pre-determined now.
[Touch Diamond, MDA Compact IV Themes and Apps] hellcat2007:
Ok. All I want it to do is lock on an incoming call. I have everything unchecked except lock touch panel only, unlock on ac, use TAPI, unlock when connected, and lock when incoming and it still does not lock the touchscreen on an incoming call. I dont neccesarily want it to lock as soon as i hit the power button. Help would be appreciated.
[Touch Diamond, MDA Compact IV Themes and Apps] Slide:
Hi Zuinige Rijder,

i have tested the new V1.9

I feel the reaction of the capacitive panel after wake up is slower then V1.8.

Can you look into my logfile please.

---------------------------------------------------------------------

After a Softreset my complete Device is very slow!

CORRECTION:

I have reinstalled V1.9. The Device speed is now O.K

---------------------------------------------------------------------

Question:

It is not possible to set the CapacitiveTouchSequence=2 for one Touch the middel Button?

Greeting

Slide
[Touch Diamond, MDA Compact IV Themes and Apps] Mr_Q:
Zuinige Rijder,

It is good to see you finished v1.9 and the website. I just started testing your latest application on my HTC Touch Pro.

However, what I also noticed before is the following:

I have set the lock-indicator to Stripe, which gives a nice stripe above my start menu / icons to indicate that the device is locked. The width of this line is 480 pixels.

However, when I slide my phone open, the line is still 480 pixels and the last part (160 pixels), the line is gone. Is there a way to ensure this line is 640 pixels when in landscape mode (keyboard is open on Touch Pro).

Futher, I would advise you to crosspost/link a post in the HTC Touch Pro forum, so more users will see / visit your post/website. Just like me (except once :p), the most other users won't look in the Diamond section when they have a HTC Touch Pro.

I hope you enjoy your website, and I can help you with expanding it with some features if you like.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Currently I subtract 12 hours from the 24 hour clock if it is above 12 hour.

I was also not sure what people like the most, but thinking about it, I must adhere to a watch with 12 hour clock. This does not have 0 too :eek:

I will fix this in the next version, showing 12 instead of 0 for the hour when Clock12 is set.

When the phone screen is off, I do no updates anymore (just to use no CPU and battery). So probably this is the case in this situation.

Then I indeed do no longer update the clock.

I think in this case I choose for no CPU/battery usage (keep it as is), instead of the MyMobiler use-case with the phone screen off.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
The sensors are only used, when the phone is on (so also not when the screen is off). That is what is also expected by Windows Mobile. If there is nothing to do, Windows Mobile can go to deep sleep, so less battery is used. Actually, the radio is working independent of Windows Mobile, so it is only awakening when there is an incoming call (or SMS if you have configured that).

The only way to make your device power on again from a (deep) sleep:

* press the power button

* take out the stylus

* slide open the keyboard (if you have that)

* attach it to your computer (activesync)

* call yourself with another phone :D

Of course a program can keep the phone in the state that only the screen is off, but then all programs may keep their channels open (Wifi, GPS, Data Connection, etc.), which will drain battery.