|
||||
[APP] Proximity Sensor for Screen Off
The tweak uses the TP2’s proximity sensor to turn of the screen when a finger or any object is detected in front of it. This would work a little like during a phone call, except it does not turn back on until you press a hard button. This tool only works in portrait mode, to prevent accidental screen-offs when using landscape apps.
May be this tool will be usefull. It switch off screen using proximity sensor detection. Like alternative power button. After proximity detected - screen switched off and proximity sensor don't used until screen will be switched on again manualy. No screenshots Second time running will unload program from memory, it can be used for switching on/off proximity lock feature. All settings in registry, settings reloaded on each program run. HKEY_CURRENT_USER\Software\Exidler\Hd2ProximityScr eenOff AfterCallReactivateSensor = dword:150 - time in ms when activate proximity sensor after call ended SensorOffWhenProximity = dword:0 - time in ms when disabling proximity sensor on proximity detected. May be useful for disabling accident detection. This time proximity sensor is still active and if no porximity detected with this time - screen will be switched on automatically ActiveOnlyIfLocked = dword:0 - Activate Proximity sensor only if Phone locked. HKEY_CURRENT_USER\Software\Exidler\Hd2ProximityScr eenOff\Exceptions Create any named sub keys with values: ClassName = string - name of windows class WndTitle = string - title of window ProcName = string - name of process For exception windows proximity sensor will be disabled if this one window is active. All criterias are optional. For example create only one value ProcName="Explorer.exe" for disabling proximity lock when Resco Explorer is active. Proximity sensor activated only in portrait mode. Original Post: http://forum.xda-developers.com/showthread.php?t=624206 Working on TP2! Last edited by one80oneday; 02-28-2010 at 05:48 PM. |
This post has been thanked 5 times. |
|
|
|