yashsingh1/xdaforums huggingface dataset:
[HD2 Windows Mobile 6.5 Themes and Apps] lokiderelb:
Is there a way adding a Dword for Deley?

I cant hit the startbutton with.

If i could tell this thing just turn off after 3 seconds of detecting that would be great.

Additionaly it would be nice if this tool recognises only if its locked, that any proximity turn off the hard keys so the screen wont go on if its locked and in my pocked.

pls answer
[HD2 Windows Mobile 6.5 Themes and Apps] c_shekhar:
Great application indeed....
[HD2 Windows Mobile 6.5 Themes and Apps] filou75:
Hi, thanks for this app.

I have a request... ^^

I read ebooks and comics in landscape mode. I often lock my HD2 while reading... in landscape. My HD2 is pocketed in "landscape mode", and it powers on itself since your app don't lock buttons in that mode.

I know I need to go back to portrait before lock, but... can you enable your app in landscape or at least allow its use by a registry value ?

Thanks :)
[HD2 Windows Mobile 6.5 Themes and Apps] sm151058:
Could you give me a copy of your Exidler in HKCU with the delay? I wrote Scr een and Screen, but without any success...

PS I found, it is no delay of reaction, its a pity!
[HD2 Windows Mobile 6.5 Themes and Apps] hotshot646:
look at page 1 of this thread and all those questions are answered with reg keys :)
[HD2 Windows Mobile 6.5 Themes and Apps] wergor:
can this app switch off the screen when in a call, and have it switched off until i manually switch it on again (using hardware keys)?
[HD2 Windows Mobile 6.5 Themes and Apps] scheffe:
What is the exact setting when I want to implement the following?

1) When the device is in the pocket, bag or etui and it are in standby, by proximity to remain in standby.

2) If the device is not in standby, and I cover over proximity, the display will turn off and on again to where it is covered in proximity.

Can someone tell me the setting?

Thanks.
[HD2 Windows Mobile 6.5 Themes and Apps] kurniawan77:
First post...

HKEY_CURRENT_USER\Software\Exidler\Hd2ProximityScr eenOff

ActiveOnlyIfLocked = dword:0 - Activate Proximity sensor only if Phone locked.
[HD2 Windows Mobile 6.5 Themes and Apps] miniskull:
hi, very good job, great software, can you tell me how to add these keys registry directly in the . CAB
[HD2 Windows Mobile 6.5 Themes and Apps] scheffe:
Thanks for your answer, but I don't lock the device, it's only in standby (the backlight are off).

If I push a hardware button, I must don't unlock the device.

The device is immediately ready.

The setting "ActiveOnlyIfLocked = dword:0" doesn't function.

Without a change of settings, works the "1.)", but not "2.)".

If I put a setting for proximity, it doesn't work either.
[HD2 Windows Mobile 6.5 Themes and Apps] tzuyang:
Screen Off + CHT co0kie's home tab lock screen HDmini

I tried using this it has the following behaviour

press power button, screen turns off

then turns on 1 sec later with locked screen then remains on for 30sec (my screen off time) then turns itself on after 1 minute.
[HD2 Windows Mobile 6.5 Themes and Apps] c_shekhar:
It actually standby (shut) the device instead of screen off in my case on HD2.

When proximity is detected the screen is off. But when proximity is removed the screen switches ON but in device locked mode. whereas I expect it to remain in the same window screen where it was screened-off.
[HD2 Windows Mobile 6.5 Themes and Apps] kenpham:
it's wonderful software to save pressing button times and battery.

When I touch the proximity sensor, the screen is black and then the lock screen is appear. then touch Proximity sensor again, it's turn off screen fully. So, I think it's better when we touch proximity sensor 1 time, the screen turn off and won't turn lock screen on again. How can I do that? tks
[HD2 Windows Mobile 6.5 Themes and Apps] DJEYHD2:
Hello all,

I have a problem with this cab

In deed, when i use the sensor to lock the phone (with the automatic lock mode activated) the screen goes off, then on again, so i need to stimulate again the proximity sensor

If i desactivate the auto lock, no probleme anymore but the phone dont lock automatically, than the problem when u hav it in you jacket or somewhere else

Does anyone have a solution to use it with the auto lock activated without to pass twice in front of the sensor

Moreover, I don't know if its good for the screen to blink like this

Thanx again
[HD2 Windows Mobile 6.5 Themes and Apps] fflakes:
Just a clarification. For those of you looking to add exception to proximity sensor - create a new key/folder after Exceptions in the registry and THEN add the string value for process/window/classname.
[HD2 Windows Mobile 6.5 Themes and Apps] cu2cool:
I'm using the Iconsoft PhonEx program and now my prixomity sensor during calls does not shut off the screen. [SOLVED: Changed the "Screen off during phone conversation" option to "Use Default" in the PhoneEX settings.]

Has anybody tried this while using this program or Inesoft Phone 6? Any success?

Also, has anybody found a solution to getting the screen to shut off completely the first time instead of having to do it twice, when autolock is enabled?
[HD2 Windows Mobile 6.5 Themes and Apps] DJEYHD2:
Or is it possible to lock after the screen goes of for exemple after 10sec
[HD2 Windows Mobile 6.5 Themes and Apps] Shaamaan:
It would be great if this could also lock the buttons (all except Bluetooth buttons from headsets or such), as it is, even if there's something close to the sensor, as soon as a button is pressed, the screen will turn itself on. After that it SHOULD be turned off again, but doesn't need to (I've covered the sensor with my finger and played around a bit, seems to be a hit and miss).

I'm a bit worried that locking ALL buttons could lock the screen in case when the sensor locks up (for whatever reason) and you need to unlocked the phone... but in such a case we're talking about a system malfunction, so I think it'd be OK if indeed even the lock button was... locked.

EDIT: Also, this was already mentioned, but it would be really useful if a delay could be implemented on the whole locking mechanism. As it is, if you are using something like ArkSwitch (included in lots of custom firmwares), then hitting the functional area can often lead to the proximity sensor triggering...
[HD2 Windows Mobile 6.5 Themes and Apps] goninph:
Hello,

Works great on my HD2, with Inesoftphone7.04.

Do not use the lock function of WM.
[HD2 Windows Mobile 6.5 Themes and Apps] Jackos:
I also found this small yet powerful program to be "quietly brilliant".

I hope this wasn't reported earlier (this thread is big and it's hard to pick the right clues in search): Switch your phone to landscape and cover the proximity sensor. The device won't turn it's screen off (this is good), but while holding the proximity sensor covered turn the device back to portrait. Somehow it won't turn the screen off. You need to uncover the sensor and cover it again to get it to work again.

EDIT: Also in some programs that cover the WM interface (for example HTC youtube) if you switch to landscape (using the g-sensor) this programs doesn't stop working. I guess this is not fixable until you "hook" the g-sensor (drains battery). I'm looking forward to see new versions of this program. Definitely worth using. Kudos to the developer!

Greetings and thanks in advance for help,

Jackos
[HD2 Windows Mobile 6.5 Themes and Apps] negromnia90:
Woooow!

excellent application!!

Why not continue the development?

can you make "Proximity Sensor for Screen Off / ON" ????
[HD2 Windows Mobile 6.5 Themes and Apps] goninph:
Hello,

It works really well on my HD2, but I'm going to Android

Could you do the same for the HTC Android Desire HD DHD.

Thank you.
[HD2 Windows Mobile 6.5 Themes and Apps] hidnface:
Very nice application. It locks the screen in call and the sensor also lock the screen when i put phone in my pocket. Too good :D

Tested on HD2. Thanks
[HD2 Windows Mobile 6.5 Themes and Apps] barshad:
Android version of this nice little application?

This application works great in windows mobile, but i use Android alot, is this application also available in android? (or any thing similar)

TIA
[HD2 Windows Mobile 6.5 Themes and Apps] Tiemen_S:
First of all, thanks for this wonderful solution! I use no lockscreen anymore and have this instead, it saves me a lot of RAM usage :)!

I'm getting random driver lockups though on my TP2. It won't use the sensor to put the screen off anymore. It's easily solved, just clicking the shortcut (it then exits, hence I know it was still running) and clicking it again, to reload the service. I do have this timer set to wait for a certain coverage period, because I'm left-handed and my proximity is on the left side too, which especially in Opera gives accidently taps some time.

Do you know of any situation or circumstances under/after which the drivers/service stop operating or checking if the sensor is covered? If it isn't fix-able in the program, it would be useful to know what I shouldn't do myself :).
[HD2 Windows Mobile 6.5 Themes and Apps] dainar:
the author has written in various posts that this thing is not possible.

However, proper handling of the sensor can be made with CHT (Co0kie Home Tab 2.0)
[HD2 Windows Mobile 6.5 Themes and Apps] link68759:
I think the one feature this needs is; in addition to only active with lockscreen, there should be an exclude all except setting; or, specify the lockscreen classname / other. I cannot get this to work with a few custom lockscreens and I really only want this for use with a lockscreen.

Thanks!
[HD2 Windows Mobile 6.5 Themes and Apps] tnt4ever:
EVER BEST I HAVE SEEN TILL NOW AT XDA COMMUNITY, +1 and 10/10

some thing very strong i am asking others to put it down in all respective phones

Great Job ...Appreciated
[HD2 Windows Mobile 6.5 Themes and Apps] tiho5:
working only per special application

Great job!

Thanks!

Only one thing: Can you make it activate only for special applications:

1. During lock screen (which is possible)

2. During Skype

During all the rest it will stay deactivated.

Example: Say one can add a key "AppliesOnlyFor" and list Skype under this key. This way proximity sensor will be active only during Skype is running

I am not sure if this is stupid, but if possible it can work great. When you use Skype for phone calls, the screen will behave lust like using the normal phone.
[HD2 Windows Mobile 6.5 Themes and Apps] tiho5:
help

Thank you! This made it! Really good clarification!:)
[HD2 Windows Mobile 6.5 Themes and Apps] tiho5:
help

No... It doesn't work. It works only for the last one. For some reason it doesn't read the ones above and makes the exception only for the last key.:mad:
[HD2 Windows Mobile 6.5 Themes and Apps] koz:
+1 on this - same behavior on mine
[HD2 Windows Mobile 6.5 Themes and Apps] apocalypse_bg:
+ 2 on the CHT + Proximitylocker and lockscreen = auto lights screen after some time.

I also have a different kind of problem. Using Arthemis Rom + CHT 2.0 + PhonEx.

Everything worked fine until I decided to add several exceptions to the registry (htcmovieplayer and the default file explorer) and it stopped working. Removed the keys, reinstalled but still it shuts off the screen only once (after activating the program). Than it works randomly (before the registry editing, it worked like a charm, even shutting off the screen during conversation in phonex which is invaluable)
[HD2 Windows Mobile 6.5 Themes and Apps] boot-a:
I installed the program v0.2 on the HD 2 but I do not have the registry entry HKEY_CURRENT_USER \ Software \ Exidler. How do I make an exception?

Thank you for your excellent program, sorry for my bad english.
[HD2 Windows Mobile 6.5 Themes and Apps] Jackos:
Hello and welcome to the forums,

You need to create those registry keys.

Sincerely,

Jackos
[HD2 Windows Mobile 6.5 Themes and Apps] Cesar Salgado Claudio:
Works on my rhodidum,

tranks.
[HD2 Windows Mobile 6.5 Themes and Apps] anubis_cray:
It is compatible with wp7 roms ?
[HD2 Windows Mobile 6.5 Themes and Apps] nemo88:
Hi,

Exactly what I was looking for, I'm triing it, looks great!

Thanks!!
[HD2 Windows Mobile 6.5 Themes and Apps] gregwee:
I just tried your app.. Unfortunately, the screen still wakes up if you press the on/off/hang up button when the proximity sensor is covered.

This is the one event that I'm trying to prevent since I put my HD2 in my pocket, and always press the buttons at the bottom of the phone because the buttons stick out so much.
[HD2 Windows Mobile 6.5 Themes and Apps] kurniawan77:
You diddd it!

you just did what i was asking for from the beginning i had this beautiful device!

Thanx a million!

see this thread. link
[HD2 Windows Mobile 6.5 Themes and Apps] Anthr@X:
good work!

but can you put a delay switch in the program? for example, it will only switch off screen when proximity is detected for at least 1 second? because when i use my thumb to press start button on the top left corner, it often triggers the proximity sensor.
[HD2 Windows Mobile 6.5 Themes and Apps] Bib_x:
Do you have to enable Windows Mobile Autolock, too or ist it working as a locking solution on it´s own?

Even when a call is incoming?
[HD2 Windows Mobile 6.5 Themes and Apps] ZuinigeRijder:
I am interested in the proximity sensor API you now use. So maybe that gives other ideas how to full access the proximity sensor. TouchLockPro already uses a lot of other sensors (source code available) and I want to add the proximity sensor too. Can you share your code :confused:
[HD2 Windows Mobile 6.5 Themes and Apps] Anthr@X:
interesting, i believe there are still lots of potential in HD2, to access some of them may need to hack lower level drivers.

after some research i just found out that proximity sensor on HTC HD2 is infrared proximity sensor, the two little holes under the screen left to speaker, the right one is a infrared LED, left one is a photosensor. i was able to observe the infrared light coming from the LED when this program is running, that LED was quickly blinking at a rate about 10 times a second. when screen shuts off, the sensor is off too.

now, this might be a problem, well, i dont know what power consumption that infrared LED use, but it still consume power. im not sure if you can change the blinking rate of the LED, for example, from 10 times a second to 2 times a second.
[HD2 Windows Mobile 6.5 Themes and Apps] kurniawan77:
why can't i find the registry???? HKEY_CURRENT_USER\Software\Exidler\Hd2ProximityScr eenOff

It isn't there.... tried lookin for it in Resco Registry and also other registry editors but no go...!
[HD2 Windows Mobile 6.5 Themes and Apps] Noam23:
After using version 0.2, I found the following bugs:

1. Registry path given in first post is wrong. There is no "Exidler" directory under HKEY_CURRENT_USER\Software.

2. Because the proximity sensor is located near the "start" soft-button (top left of the screen) trying to press the start soft-button closes the screen.

3. When the screen is not locked, putting the device in proximity shuts down the screen (which is alright), but the moment the device is out of proximity, the screen is activated again (without touching anything), this is very bad because it drains battery because the phone never really goes to stand-by. If the device is locked, on the other hand, putting the device in proximity will shut down the screen, and the only way to activate it is to press a hardware button (which is the correct behaviour).
[HD2 Windows Mobile 6.5 Themes and Apps] Noam23:
Your fears have no base in reality.

I've used Battlog to see how much battery power this application takes, and here are the results:

1. Battery consumption with no program running: 160mA

2. Battery consumption with Proximity Sensor For Screen Off V0.2 (enabled): 160mA

3. Battery consumption with back LED activated (using Torchbutton): 272mA.

Conclusion: The proximity sensor's battery drainage is practically zero.
[HD2 Windows Mobile 6.5 Themes and Apps] Anthr@X:
thank you :P

you helped me with 2 things in one reply, i ve been looking for a program that can monitor power consumption.
[HD2 Windows Mobile 6.5 Themes and Apps] exidler:
it's internal problem. progroma does not create this key by itself.

just create this key and values and all be fine.

Edit inserted space in the key name, real name is

..Software\Exidler\Hd2ProximityScreenOff
[HD2 Windows Mobile 6.5 Themes and Apps] exidler:
Unfortunatly i'm can't to do it. Proximity sensor driver switch off screen by itself, when the proximity detected.

Need more low level research of proximity sensor, for direct talking with sensor.
[HD2 Windows Mobile 6.5 Themes and Apps] exidler:
Power button can't be locked :(

But if proximity sensor active, screen will be switched off after second, not more.

Or i'm do not undestand you well?

p.s. my english is not so good :(
[HD2 Windows Mobile 6.5 Themes and Apps] kurniawan77:
you might wanna modify your cab files.... just opened it with WinCE CAB manager and there was zero registry entry in the CAB file...
[HD2 Windows Mobile 6.5 Themes and Apps] -Vulture-:
Interesting...my device wakes up if i press one of the 5 front buttons when the sensor is covered, but goes back to sleep immediately. No difference between any of the 5 buttons.
[HD2 Windows Mobile 6.5 Themes and Apps] gregwee:
Yes, V0.2 seems to make it so that it forces the screen to go off if the proximity sensor is covered. :) That's exactly what I want. :D

I've also used a registry editor to add the SensorOffWhenProximity value as 1000 (1 second) to disable the sensor so that it won't blank the screen so quickly, so that I can click on the "Start" at the top of the page. However, even after adding this value, and then restarting the program, it doesn't work. It will immediately blank the screen if it detects my finger getting close to the sensor.
[HD2 Windows Mobile 6.5 Themes and Apps] Yuanlong:
I'm also getting the same experience here. I've even tried to change it to a larger value (ie 2000~5000) yet it will still switch off without delay.
[HD2 Windows Mobile 6.5 Themes and Apps] DrBasem:
works flawlessly on miri's V1.5 (WM 6.5.X)

- No battery drain

- No interference with in-call screen lock

thanks zillions
[HD2 Windows Mobile 6.5 Themes and Apps] exidler:
screen switched off not by me. its witched off by proximity driver i think.

this value is time while if you move you finger out of proximity screen range - screen will be switched on. if proximity more that this time - screen does not switched on even if no proximity detected.
[HD2 Windows Mobile 6.5 Themes and Apps] Yuanlong:
That clear things a bit, but would you be able to include a time delay before screen switches off when finger moved within range?
[HD2 Windows Mobile 6.5 Themes and Apps] anne_ketty:
Further development of this app

Excellent work!!! One of the most ingenious apps i've used!

Would it be possible to create a version of the app that besides locking the screen, executed an .exe file? My point is that it would be useful when for example using Skype. When the proximity detector triggers, a file like the "troca2" could be executed, rerouting the sound from the speaker to the earpiece automatically when you hold the phone to your ear. This would make Skype really convinient to use.

Thanks again for this very useful piece of software!
[HD2 Windows Mobile 6.5 Themes and Apps] exidler:
it's impossible now!
[HD2 Windows Mobile 6.5 Themes and Apps] Szior:
Is the source code available?

I was just asking myself if you may have a sourceforge-site or a personal site where I could access the source of the application...? :confused:
[HD2 Windows Mobile 6.5 Themes and Apps] kurniawan77:
Strange thing over here with S2U2...

After i turn the screen off with endkey, a second or two later the screen goes back on with S2U2!!! Tried to switch off the ProximityScreenOff... pressed the endkey again and guess what.... screen stays off...

Somehow this proggie starts something up.... don't know what it is, maybe one of u also has this issue????????
[HD2 Windows Mobile 6.5 Themes and Apps] exidler:
I'm know about this bug. I will try to fix it in near future. :)

S2U2 does not have problems with tool. It's internal program bug :) And it's produced without S2U2.
[HD2 Windows Mobile 6.5 Themes and Apps] exidler:
Full code does not publish anywhere.

But I'm can share all interesting you information.
[HD2 Windows Mobile 6.5 Themes and Apps] kurniawan77:
alright... good luck
[HD2 Windows Mobile 6.5 Themes and Apps] karaern:
good application

its really good working. maybe really it needs some time delay.. but if its not possible here is another idea. how about to lower the sensitiviti of the sensor . i mean the application to start when its is really darker-almost no light. then the sensor wont be activated by the shadow of the finger movement around it!

is just an idea....:rolleyes:
[HD2 Windows Mobile 6.5 Themes and Apps] d3l1:
do I have to add the registry settings by myself? I can't find them where you say they should be.
[HD2 Windows Mobile 6.5 Themes and Apps] ivo34:
Thanks a lot!!works wery good!could be good to have like a app with costumisable parameters:)
[HD2 Windows Mobile 6.5 Themes and Apps] gillettone:
Yes I need it too.:)

The proximity sensor that switches on hd2 would be marvelous for me.:D

I would stop the functions of hdkeys

But just now I think it's a a very good job and even though the proximity sensor switches off hd2 , active sync program for windows continues to be connected.;)

Excellent!!!:):):)
[HD2 Windows Mobile 6.5 Themes and Apps] str0g:
Nicely done but :-)

- only first exception from registry works if you add at least 2

- please add DelayBeforeScreenLock = xxx ms

When you do points above create donate link for paypal :-)
[HD2 Windows Mobile 6.5 Themes and Apps] vangrieg:
Excellent program! It doesn't solve one of the problems that HD2 suffers from: when you get a call and the phone is already in the pocket, the screen remains turned on. This is a problem when you reply and talk using a headset. Would it be possible to fix this?
[HD2 Windows Mobile 6.5 Themes and Apps] exidler:
Link for paypal only for customers who like me :) and this one not for earnings, this one only for beer or something like this.

this tool - not only and not the best one that i have do :) really.

all other request i will look on holidays, if possible of course. i have an a trouble with phone now. it's stucks after custom roms and after of couple of hours of unusing.
[HD2 Windows Mobile 6.5 Themes and Apps] exidler:
i'm think it's possible. but only if i can handle if there are headset connected.

this bigges diadvantage of S2U2 which lock if bt is on and does not handle is it on or have headset connected.

in Russian:

это вполне возможно, но надо отличить подключенный ли bluetooth и подключеную гарнитуру. Это совершенно разные состояния.
[HD2 Windows Mobile 6.5 Themes and Apps] vangrieg:
I can help with that, let's take it to PM. I did it using C# and SNAPI, but it's as easy as monitoring two registry values, so won't be a problem for C++ either.
[HD2 Windows Mobile 6.5 Themes and Apps] d3l1:
I uninstalled it and now my proximity sensor is ****ed up during calls the screen is always dark and doesn't turn on when I put the phone away from my ear ...
[HD2 Windows Mobile 6.5 Themes and Apps] kurniawan77:
using this app everyday!! works fine!!! Thanx again!!!
[HD2 Windows Mobile 6.5 Themes and Apps] Sichroteph:
Thanks a ton for this so ingenious program, That a use everyday. My point is someday we will see some phone with that feature by defaut ...

I need help from someone who succeed in managing exceptions, the one i did doesn't work. Did i missed something ?

1) I started by making good registry folders

2)for adding an exception to the htc video player, i checked the processus name with a task manager. Now i know that it is called HTCVideoPlayer.exe

3) I created into the registry exceptions folder one string key, named E1

Finaly into it, i wrote : ProcName="HTCVideoPlayer.exe"

Restart the program, but no luck the screen still go off by watching a video

- Can someone please tell me what i did wrong ?

Thanks again for this program, now i don't need to lock my phone anymore, it is just great !