yashsingh1/xdaforums huggingface dataset:
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
The default keyboard hook will also trap the bluetooth key presses. Dependent of your BT, it can be the same button as the answer/reject key, and then configuring to pass through those keys makes it also vulnerable for missed calls. So you have to check, by enabling debug logging and see which keys are "Hooked", by pressing the BT buttons.

With HTCLockAPI = 1 you can just answer with the Bluetooth answer keys, then those keys will not be blocked. But then you miss some other functionality, like unlocking by keys, ZoomBar not working, etc.

So it is a hard choice :cool:
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Yes, I was already planning to add this in a next version.
[Touch Diamond, MDA Compact IV Themes and Apps] madbird:
hi,

i found another thing with the proximite sensor. i will try to explain it:

1. i switch the phone off, and tlp locks it (in my case it vibrate tow times when locking).

2. i cover the proximite and press a button on the phone (no matter wich, home,windows, back). the display lits up for less then a second and goes off again. so far every thing is like i expected.

3. when i now remove the finger from the prox. sensor the device is switching on and unlocks. even if i wait 10 sec. after pressing the key. i found this out because i carry the hd2 in my jacket today and it was swiched on everytime i pulled it out.

regards mad
[Touch Diamond, MDA Compact IV Themes and Apps] nolannolan:
Hi

ok thanks

how can i avoid that ?

a setting or a fix?

I thought proximitysensor was diaabled because bluetooth is conendted - thats what i chose in settings, hence i thought that proximitysensor should not be able to unlock at all ?

regards Nolan
[Touch Diamond, MDA Compact IV Themes and Apps] shamrock73:
Dear ZuinigeRijder, first of all thanks for this great application!

I have a problem though and I was wondering if can be solved in some way

I use my HD2 to let my daughter watch movies while on the move

but she keep messing up touching the display

Now with your application and TouchLockAction I am able to use CorePlayer

and then lock the touchscreen. But this is possible only in normal mode (i.e. not fullscreen). Infact I cannot figure out how to enable the lock without exit the coreplayer fullscreen mode...Infact in fullscreen more I cannot see the battery icon..

Would it be possible to insert a 'timer'/'delay' feature so that after pressing the lock icon it won't lock immediately but after few seconds to give me time to put the player in fullscreen mode?? hope it makes sense, thanks a million for your work! :)
[Touch Diamond, MDA Compact IV Themes and Apps] intrados:
TLP proximity on Omnia Pro and SMI 2_2_0

Hi, thanks a lot for prompt reply. I found new release of Samsung mobile SDK 2.2.0 which claim to support Omnia pro. Unfortunately I still have the issue. Do you think you could investigate. I have attached the log file as well as SDK redistributable.

All could be downloaded from Samsung innovator page. _https://innovator.samsungmobile.com

Thanks and BRGRDS

Rado
[Touch Diamond, MDA Compact IV Themes and Apps] Bib_x:
Yeah, this problem i explained some time before.

If you press button while proximity sensor is covered, the phone wake up from standby, then only screen is shut off. Now if you press a button again, while phone is still covered and only screen is shut off, the display goes on and won´t shut off anymore, it stays on - but it´s locked.

So one idea to fix this issue was, when covering the proximity sensor while phone is locked and button is pressed, it should not only dim the screen - it should directly go back to standby.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
I did check the update 2.2. Omnia Pro is supported, but not the proximity sensor. Probably it does not have a Proximity sensor hardware.

See page 7 of the attached PDF.

Oops, could not upload because too big. Just zipped it.
[Touch Diamond, MDA Compact IV Themes and Apps] shamrock73:
Regarding with my previous question I'm happy to say that I've fixed this using th e G-sensor controls! Coreplayer in fullscreen now locks touch screen while keeping the movie active.

Thanks!
[Touch Diamond, MDA Compact IV Themes and Apps] madbird:
hi i think thats similar but not the same. what you describe happens when i select the 'use psensor' option only.

i use the 'use psensor' and the 'psensor screen off' option. so i can press the buttons as many times i like, the screen comes to life and shuting off immediately. but if i remove the coverage of the p.sensor then the device is switching on again.

regards mad
[Touch Diamond, MDA Compact IV Themes and Apps] darfri:
Issue found

When someone calls I am unable to unlock with the slip on the lower board edge, have to pull out the stylus to answer the call. Otherwise seems working quite well
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Good that you found yourself how to do it :)
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
I assume you mean the Zoombar?

I most of the cases it should be able to unlock by the light sensor, you can configure to lock only the keys if you have a slide2answer builtin, so you can still answer/reject via the slide2answer.
[Touch Diamond, MDA Compact IV Themes and Apps] darfri:
Great idea! I'll find the slide to answer (i think you ment the phonecanvas thing), I have it somewhere. And I think only newer devices have the zoombar, I have, if it should be called that way, zoom circle
[Touch Diamond, MDA Compact IV Themes and Apps] darfri:
Another one

I have a feeling that the power button presses during locked mode get sometimes delayed instead of blocked as occasionally after unlocking the device the screen goes off-on-off...etc few times and sometimes it acts like keeping down the powerbutton (shows the shut down confirmation)
[Touch Diamond, MDA Compact IV Themes and Apps] intrados:
Thanks again. You are right it is not supported as per documentation. Strange we omnia pro has proximity and light sensor for sure and samsung dialer supports it. Will look for next release.

Thank you.
[Touch Diamond, MDA Compact IV Themes and Apps] Latty:
I noticed one issue with the BattClock: for some reason, the battery levels are rounded to the nearest 10%...

ie. only 100%, 90%, 80%, etc. are shown.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
I do no rounding in TouchLockPro myself, I just use the Windows Mobile API: SYSTEM_POWER_STATUS_EX.

Apparently, the BatteryLifePercent on your phone is rounded. On my Touch Diamond it increments of 1%.

What type of phone do you have?
[Touch Diamond, MDA Compact IV Themes and Apps] alan7467:
great program! Quick question (sorry if it's already been asked). would it be possible to set it up so you can do a capacitive unlock with just one touch instead of 3?
[Touch Diamond, MDA Compact IV Themes and Apps] Latty:
I have an HTC Touch Pro. I'm using a third party ROM though, so maybe I should ask if that's an issue everybody using that ROM has.

Thanks!
[Touch Diamond, MDA Compact IV Themes and Apps] Latty:
One more quick question:

What's the minimum UnlockOnLightSensorTime that can be used? I'd prefer the program to immediately detect ambient light. I've tried 50ms, 500ms, and 1000ms, but for all the times I've tried, it still occasionally bugs up and does not detect bright light properly.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
I only poll once per second the light sensor. So in practice, this means that if you specify any value below 1000 ms, 2 subsequent light senses will be seen as unlock. It will never do it immediately, when it first senses light. This is also not so practical, because the light sensor sometimes gives wrong information back. So 2 times seen light is also the practical minimum, to avoid the wrong sensor read out.

Also the light sensor is activated/deactivated at power up/power down, to save battery (although I do not know it helps). Loading the light sensor takes also some time. So with a value of 500 ms, it will practical only unlock in about 2 seconds minimum.

Note that the light sensor is not so sensitive, so although there seems to be enough light, it does not always see that too.

Hope this answer helps.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
This would means that any (accidently) touch of the capacitive area will unlock. I do not know if that is so practical. However, I could make a configuration item for that. 1 touch seems to me not practical, 2 could be for some people better.

Currently the unlocking via triple touch is already very sensitive. Do we really need another configuration item for this? Others want this too?
[Touch Diamond, MDA Compact IV Themes and Apps] m4j2t:
When I wake up the device with the power button the screen is locked, and I get the warning window

"Power will be turned off and you may lose data if you have not saved them. Do you want to continue?"

Any ideas. I did read the whole thread, but didn't find this issue.
[Touch Diamond, MDA Compact IV Themes and Apps] alan7467:
Thanks for the reply. Perhaps 2 option would be better. Maybe it's just my phone, but I have a difficult time getting 3 touchs to consistantly register.b
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
I will think about this configuration in a next version.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
It can be the case, you pressed the power button too long, so that this is the normal reaction of pressing the power button too long.

I also got this once. This is also related to the fact, that when the hardware keys are locked, it is sometimes difficult to unlock immediately.....
[Touch Diamond, MDA Compact IV Themes and Apps] Latty:
Thanks for your very informative and thorough response. Great support to match a great program =)

I'll likely set mine to 1000ms, from what you mentioned.

By and by, regarding the issue of 10% rounding with the power meter, I think it was built into the cooked ROM I was using. I ended up installing the driver in the below link:

http://www.nuerom.com/BlogEngine/page/nuePower.aspx

Description

nuePower consists of nuePowerCPL, and a modified power driver that allows you to view increasing battery power in 1% increments. The power driver is currently available for the Titan and Vogue (i.e. Sprint Mogul, Touch)

Note: Although the modified power driver increases the precision of the driver, it does not increase the accuracy. The upper range (90-100%) is particularly affected.

Cheers
[Touch Diamond, MDA Compact IV Themes and Apps] m4j2t:
Yeah, now it seems like I can't get it to wake-up with the power button more than 10% of the time. I can hit the power button like 20 times and nothing. Then I touch it once and it's awake with the power warning. Sometimes it wakes up just without the warning. I'm waiting five minutes or so after putting it to sleep with the power button to try waking it back up.
[Touch Diamond, MDA Compact IV Themes and Apps] DomSim:
sorry if this has been covered already, but i am posting from my touch pro and it would be dificult to search through this whole thread, but my probelm is that touchlockpro often turns on when i suspen the device rather than when it wakes up. this is a problem because then the only way to wake the phone up is to pull the stylus which when doing one handed for instance can be very hard. i have setautolockonpoweron to 1 but that doesnt help either. this is with a sprint touch pro with jdrom.
[Touch Diamond, MDA Compact IV Themes and Apps] mzshortay:
Hopefully, a solution to this wasn't already provided, for the length of this thread, is

a bit much to search through!.

Anyway, after installing the latest version [1.5] I suffered a significant amount of battery drain when using TLP. I know it says that none should be affected, but I hadn't had anything else running in the 20 minutes my phone went from 41% [after install] to 35% [right before uninstall]. I typically get maybe a day and a half from a full charge, but with this drain, I won't be able to last 2 hours.

Is there any solution for this?

S2U2 was draining my battery as well, so I chose to use this.

The other 'solutions' posted on the 1st page, I preferred not to use for I wanted a stand-alone lock program, not built into anything else [i.e. throttle lock] or more than just playing with the stylus, etc.

Any help, suggestions? Thanks.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Taking out the stylus, will always wake up the device.

When you look at the debug logging (set logdebug=1), you will see probably that from TouchLockPro perspective there is no wakeup.

Maybe you can enable debug logging and post the results as attachment, so I can have a look.

How is the Windows Mobile backlight off setting on you phone?
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Can you enable "logdebug=1" and "logdebugdetailed=1" (see post #3) and post the result log file as attachment, including the time when the problem occurred?
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
The difference between 41% and 35% is not alarming at all, because the battery driver is not accurate enough.

See also post #332.

TouchLockPro is designed to have no influence on battery life, so it is possibly the best locking solution in that respect. If you want the bare minimum of battery usage, you can try to disable the light sensor (see post #3).

I do not have problems with the battery drainage with the default settings.

We come then in an area about maybe something offtopic, namely measures to get the least battery drainage as possible:

- apply all power savings with Advanced Config

- do not enable bluetooth

- do not enable wifi

- set Windows Mobile backlight off setting to something like 30 seconds

- only enable GSM and not HDSPA for internet

- close the data connection automatically after not used for e.g. 3 minutes (Advanced Config)

- do not check too often for automatically mail via internet

- be sure ActiveSync is closed

- close all open programs when finished (setting that X really closes the program)

- etc. etc.

And of course it can also be your phone or battery. Especially there seem to be different batteries with different serials which are worse/better.

You can also post a debug log file (logdebug=1 and logdebugdetailed=2), so I can see if your phone is really going to suspend, or that another program is keeping your phone busy.
[Touch Diamond, MDA Compact IV Themes and Apps] lexluthor:
I like touchlockpro, but I'm having a couple of problems on my Verizon TP.

I'm not sure if I'm doing something wrong or if this is just how it works.

If I sleep/lock the phone by hitting the power button, many times, with touchlockpro 1.5 running, it doesn't awaken when I hit the power button. Nothing at all happens. If I open the keyboard or take out the stylus, it does awaken.

Also, I'm finding the capacitive touch very spotty. Sometimes, I have no problem activating it and sometimes no matter what I do, it's not registering touches.

Also, I'm finding that when I'm making a call and the proximity sensor turns the screen off, the phone is also getting locked. It's somewhat of a pain to unlock it at that point. Frequently, you might need to hold the phone to your face, then move it away to type something on the on screen keyboard, but the phone is locked once the proximity sensor kicks in.

Any ideas?
[Touch Diamond, MDA Compact IV Themes and Apps] DomSim:
here is my log. the problem occured first time i turned the power off in this log at 12:02. i unlocked the device with the stylus then reinserted the stylus which caused it to lock, then it unlocked from the light sensor then i turned the power off with the power button again and it locked after about 5 seconds again. this all happened in about 15 seconds or so.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Ok, you do have a Touch Pro, so indeed it does not have a zoombar.

I have a Touch Diamond, a Touch Pro without keyboard slider.

Those have a Capacaitive NavSensor, so you can unlock by gently touching the middle button (you do not need to press), by default 3 times. However, there are also moves possible, I use the right swipe up to unlock also.

The setting for the slide2answer you can find here:

KeysOnly (LockWhenIncomingKeyOnly = 1)
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
With the keyboard hooking, the power button is not locked. That is also an advantage, because you can now power off your phone with the power button. There is a setting, HTCLockAPI = 1, which also locks the power button, but then you miss some features, like unlocking via a key sequence.
[Touch Diamond, MDA Compact IV Themes and Apps] darfri:
But when I set it to 0/untick it, the shield doesn't protect anymore
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
This is dependent of other programs, maybe using the same hooking method. Sometimes a soft reset is needed with HTCLockAPI = 0 and I need to activate the phone SIM PIN, before TouchLockPro becomes active, to have the keyboard and screen locked correctly.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Version 2.12.2

Version 2.12.2 (20-2-2010)

Now there are Proximity commands available for greater flexibility.

* Do not do !SCREENON at end call, when (lock)suspend is configured as command at end call

* InCallTweak: do also for landscape, for right handed people

Proximity changes:

* CmdProximityNear, default !IDLE

* CmdProximityNotNear, default !UNLOCK

* CmdProximityOnBluetooth, default empty

* Time proximity change configurable (ProximitySensorTime)

* Added !PROXIMITYDISABLE command

* Added !PROXIMITYENABLE command

Taken over BattClock 1.8.1 improvements:

* Added option to show CPU usage percentage

* Color of CPU info configurable

* CPU indicator configurable (default %)

* Thresholds for Battery and Free memory separate configurable

Extra commands:

* Added !HOME command: add option to automatically go to the home screen when locked (Security)

* Added !SOFTRESET command

* Added !POWEROFF command

* Added !UP command

* Added !DOWN command

* Added !LEFT command

* Added !RIGHT command
[Touch Diamond, MDA Compact IV Themes and Apps] Bib_x:
Thanks for the new version.

The new fields

near

not near

on bluetooth

are empty. What do i have to fill in? I want to go my hd2 to standby, if i accidently push the powerbutton while the device is locked and proximity is covered. I filled in !IDLE but nothing changed - still only screen off and when i uncover the proximity the screen is on again.

CPU Usage is only in % - is it possible to add a speed indicator which shows the current Mhz? Because the new devices with 1 Ghz Snapdragon CPU have speedstepping and it would be interesting, which speed is used currently.
[Touch Diamond, MDA Compact IV Themes and Apps] andersondb1:
Hopefull you can help,

I have used your version on my HTC Fuze to great success.

Now I have a Tilt 2, and i cant get any locking/unlocking using the zoombar.

Can you tell me if the software works correctly on my tilt 2, and what possibly i might be doing wrong.

Also, are you planning to update your website to reflect these new phones because everything points to using a regular touch pro and shows no settings on how to configure for a tp2 or later.

Thanks

-Dwayne
[Touch Diamond, MDA Compact IV Themes and Apps] nolannolan:
Hi

thanks for yet anither great update ;-)

i just tested new version and found the following:

1, disable proximitysensor on BT dont work its still active, i had to set !proximitydisable in all 3 fields for it to be disabled. When pressing on button after a call the phone is still locked even when unlock on screen sensor was chosen

2. for some reason latest version broke opera mini 4.2, but doesnt matter just reinstalled

best regards Nolan
[Touch Diamond, MDA Compact IV Themes and Apps] Slide:
Thanks for new Version!

The CPU Usage stands on my HD2 in idle to 100%!

When i start a Prog. the Usage goes down. Then again in idle 100% .

Is this a display error?

Greeting Slide
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
By default the new fields should not be empty, those should have been !IDLE and !UNLOCK already. Can you post a debug log file, because it should work. I have the default setting shown in the Proximity form.

I do not think there is an universal API to get the current Mhz.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Some HD2 users have this problem. When not on battery, then it is shown correctly. I just use the API GetIdleTime() and display the result.

I learnt that HD2 also has speedstepping (see previous post), so I think the 100% is because of that.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
1. In the current version the BT command is indeed only executed when Proximity is enabled. Can you tell more about what you mean with "when unlock on screen sensor was chosen"?

2. Strange. Can't explain.
[Touch Diamond, MDA Compact IV Themes and Apps] Slide:
Also on the charger it shows 100% idle.
[Touch Diamond, MDA Compact IV Themes and Apps] nolannolan:
HI

sorry, i was unprecise, i meant when a call is ended and i push "on" again the screen is still locked after the last command, even though i have set unlock on light sensor.

Is there a chance you could disable proximitysensor completely - that would solve a lot for me. Basically what i the whole time would like TLP to do is (and i think its possible with current features when every feature works):

1. lock on incoming and outgoing call

2. screen off/suspend when connection is established and during call

3. after ended call screen off/suspend and lock

4. this should apply even when i have set to autolock on power on and unlock on lightsensor. If i push "on" during call phone should not unlock on light sensor

No activities from activity sensor, it should only work if BT is not present

is this possible with the current features (thats what i have aimed for iin my settings posted earlier) ?

regards Nolan
[Touch Diamond, MDA Compact IV Themes and Apps] Bib_x:
Here is my log-file.

I filled in !IDLE and !UNLOCK by myself, because these fields have been empty after the update to new version.

I want my HD2 to got to sleep (and stay sleeping) if i accidently push the power-button while proximity is covered. But it only shut of the screen and when i uncover the proximity it goes on again.
[Touch Diamond, MDA Compact IV Themes and Apps] dagordon:
Hi,

I just found this program. Thanks a lot -- it's great. I'm having a problem, though.

I'm using a stock AT&T Tilt2 (Touch Pro 2). After I haven't used the phone for a while (an hour or so) I will sometimes turn it on to find that the hardware buttons as well as the keyboard are not locked, even though they're supposed to be. This has happened several times since I installed it, about 24 hours ago.

This is a particular problem because I'm basically using TouchLockPro as a kind of password protection for my phone -- I've disabled all methods of unlocking except a sequence of hardware keys. (This is preferable to the built-in password function in my phone as it allows me to see my full Today screen when I turn on my phone and it's locked.) When I find that the hardware buttons have been unlocked, I of course can't enter in my secret sequence of hardware buttons to unlock the phone! Moreover, the phone is operable, as one can use the keyboard to navigate around... so the security aspect is negated.

--

Unrelated: is there a way to prevent the phone from locking during a phone call? That is, if there's a call in progress, don't lock the phone. This would be really great, as my phone (with or without the InCallTweak activated -- it seems to have no effect) will shut off when it's up against my ear, and when I pull it away to (say) enter some touch tones it would be nice not to have to unlock it.

Thanks for great software!