Lock screen while phone call - Desire General

hi - is there a way to make Desire screen be locked while making a phone call od lock the phone by power button to do so?

Um.. mine does that automatically? I.e., when I raise the phone to my ear, the screen goes black...

Zerodivider said:
Um.. mine does that automatically? I.e., when I raise the phone to my ear, the screen goes black...
Click to expand...
Click to collapse
but does it goes blank while in your pocket?

masi0 said:
but does it goes blank while in your pocket?
Click to expand...
Click to collapse
Yes, i believe it should. Unless you have very ample pockets i don't see why or how the device would tell the diference between your face and the inside of your pocket!

Yer it built it with the movement sensor and the light sensor.
I.e when the movement sensor determins it been moved ( out of your pocket whatever) and the light is dim ( next to your ear) your phone locks

When I connect my Desire to my BT Headset, my Desire stays unlocked during and after the call in my pocket, which causes odd things: Sometimes, I touch - by accident - the hang up button or I start some random applications and this is all because the phone remains unlocked in your pocket.
It would be good to have a lock app, that recognizes a connected (wired or wireless) headset and then changes the locking behaviour.
Thanks

This is my problem too. could someone suggest an app????

i also have exactly this problem. i used lockbot - but this app was buggy and sometimes sense and the IME crashed. im searching for a sense-lock-solution.

Related

No in-call curtain in TP2

Hi,
I'm using an original ROM for TP2 with Manilla 2.1.38158.2 (as shown in Settings | About).
AFAIK this version should include the "in-call curtain" functionality, on which the call buttons are locked during a call. However, I see no sign for this anywhere.
Does anyone have an idea how this feature can be turned on, or how do I add it?
The curtain is unnecessary. Your device as a proximity sensor that turns off your display when you hold you face it. You don't need the curtain to lock the buttons. When you move the device away from your face, you probably want to use the touch screen so it turns back on.
I usually talk using a Bluetooth headset while the device is kept in my bag or pocket. The proximity sensor should theoretically detect that the device is covered and keep the screen off, but it often fails to do so, allowing random buttons to get pressed.
S2U2 doesn't solve this either, as it keeps the device unlocked during phone calls. There's TouchLockPro, but I don't like the way it works.
Have you tried CSDEVCTRL? I recall it allows you to lock the device during and after a call.
Yes, I found it in one of the forums here a couple of weeks ago. For some reason it didn't keep the device locked during calls, though specifically configured to do so. I haven't looked deeper into that, since I thought that the supposedly built-in curtain would do.
BTW, a simple test shows that the proximity sensor is completely useless for this scenario. I put a small object on the sensor, locked the phone and turned it off. I then called it from another phone and answered using the Bluetooth headset. Although the screen was blocked with an object, it was completely unlocked and could be pressed. The proximity sensor turned the screen off only if a movement was detected towards the screen, and not when something was already blocking the screen.
I repeated this test several times with the phone in a bag. I locked it, called, answered using the Bluetooth headset and tried to press against it from outside the bag. In every single time on-screen buttons got pressed.
As a matter of fact, the TP2 is way worse than the original TP in this sense. In my previous TP I could answer a call using the headset, take out the phone (carefully so it won't hang up by a screen press), lock it again and put it back in the bag/pocket. Now with the TP2 the proximity sensor wakes up the device unexpectedly, so I can never keep it inside anything during a call.
There is a shareware Pocket Shield which provides a screen curtain. You may have a try for your TP2 at this link:
http://pocketshield.netserver01.com/download.htm
erezshermer said:
Hi,
I'm using an original ROM for TP2 with Manilla 2.1.38158.2 (as shown in Settings | About).
AFAIK this version should include the "in-call curtain" functionality, on which the call buttons are locked during a call. However, I see no sign for this anywhere.
Does anyone have an idea how this feature can be turned on, or how do I add it?
Click to expand...
Click to collapse
I tried installing the InCallCurtain from my Touch Pro ROM and it does not work with the TP2. It is a different dialer so the calls for the curtain may not be in there.
My phone has no problem turning itself off when it gets near my face. Why would you want a call curtain?
Kloc said:
My phone has no problem turning itself off when it gets near my face. Why would you want a call curtain?
Click to expand...
Click to collapse
Did you read the thread ?!
Thanks Angler, I just tested Pocket Shield. I must say I like the progress of this program since the last time I tried it.
I won't use it as a general lock utility because of a severe issue: for some reason my Bluetooth headset loses the ability to answer calls while it's locked. I click the headset button, the ring sound moves to the headset, and the call is not picked up.
I'm thinking about only using its curtain feature - use only the protection during phone calls without locking. This seems to work, however PocketShield locks my device whenever it powers on and I can't find a way to cancel that without completely turning it off. Any ideas here?
(edit: removed double post)
erezshermer said:
BTW, a simple test shows that the proximity sensor is completely useless for this scenario.
Click to expand...
Click to collapse
Prox sensors come in different types. They aren't all configured to turn off "when covered" by just anything. Since the primary purpose is to save screen power when held against your face, it may well be technically designed to detect things that can conduct electricity, like you. If you're curious about it, as I am, next time you test it, cover the prox sensor with your thumb.
If that doesn't work, I recommend on second test. Just because there is a prox sensor doesn't mean that HTC is using only that for turning off the screen. In order to avoid accidentally turning it off while you're trying to use it, which would be annoying, they might be using the accelerometer to detect whether it's being held like a phone or not, and not turning it off if it isn't. Test two is to hold it in a position at an angle as if you would if you were talking on it, and hold your thumb over the prox sensor.
I don't have my TP2 yet, that's why I haven't tried it myself. If you're already on to your current solution and don't want to I understand, but if you do, I'd be curious as to your results.
fortunz said:
Prox sensors come in different types. They aren't all configured to turn off "when covered" by just anything. Since the primary purpose is to save screen power when held against your face, it may well be technically designed to detect things that can conduct electricity, like you. If you're curious about it, as I am, next time you test it, cover the prox sensor with your thumb.
If that doesn't work, I recommend on second test. Just because there is a prox sensor doesn't mean that HTC is using only that for turning off the screen. In order to avoid accidentally turning it off while you're trying to use it, which would be annoying, they might be using the accelerometer to detect whether it's being held like a phone or not, and not turning it off if it isn't. Test two is to hold it in a position at an angle as if you would if you were talking on it, and hold your thumb over the prox sensor.
Click to expand...
Click to collapse
Tested that with some objects and with my hand. Same results. Even with the phone being held vertically like I'm talking with it, the screen won't turn off if it was covered before the call. When removing the hand/object from the proximity sensor and covering it again - the screen turns off immediately.
Maybe this is not a limitation of the sensor but a simple programmed behavior. If so, perhaps it can be patched... <evil grin>
Update. Under HKEY_LOCAL_MACHINE\Software\HTC\Proximity there are 3 keys: ProximityDetectStatus, ProximitySensorOn, UnexpectedWakeup.
The first key is updated live by whatever the sensor detects. I now know for sure that the sensor continously knows if there's something on top - the dialer behavior is programmed.
I'm not sure what the other keys do. ProximitySensorOn was set to 0 on my registry and now when it's 1 I see no difference. Gotta go, will continue with that later.
Switching the Proximity Sensor off...?!
erezshermer said:
Update. Under HKEY_LOCAL_MACHINE\Software\HTC\Proximity there are 3 keys: ProximityDetectStatus, ProximitySensorOn, UnexpectedWakeup.
The first key is updated live by whatever the sensor detects.... I'm not sure what the other keys do. ProximitySensorOn was set to 0 on my registry and now when it's 1 I see no difference.
Click to expand...
Click to collapse
Although I was looking for other reasons -- see below -- I get the same result; & even when you do change ProximitySensorOn to 1, it doesn't survive a soft reset: simply reverting to 0....
What I was looking for was some way of disabling the Proximity Sensor (PS) altogether: because (i) I'm deaf, & I therefore Bluetooth all calls directly to my 'hearing instruments'; & (ii) I've just bought a case which covers the darned thing (meaning the PS) up, permanently locking the touch-screen when it's on! (Aargh.)
Having spent the last couple of hours (plus) searching the TP2 forums on here (& a related one on PPC Geeks...), I've discovered that: (i) lots of people are having PS-related problems; (ii) some of these problems are to do with TouchFLO 3D; (iii) some may be related to various forms of screen-locking; (iv) some may even be caused by other tweaks or hacks we've carried out; & -- last, but not least, as lots of other proud TP2 owners have bought similar cases -- (v) I appear to be the only one having this particular problem (...probably caused by (iv)?)!
It's as if my particular sensor thinks my ear is permanently glued to the screen... -- I can operate all the buttons & the keyboard; but the screen (even though I can turn it on with the power switch) just will not respond while the case is attached (& therefore covering the sensor...).
If anyone has any ideas -- apart from drilling a hole in the case, somewhere (randomly) to the left of the HTC logo... -- please let me know!
Thank you for reading...
- $.
PS: I have a UK-spec., unbranded, GSM Touch Pro2 (...not that this seems to make any difference); & I've already tried turning off any locks & PINs (& changing their duration), as well as the owner information screen....
Forget the Curtain.
This enables your proximity sensor even when you are using your BT
leepriestenator said:
Forget the Curtain.
This enables your proximity sensor even when you are using your BT
Click to expand...
Click to collapse
What is this CAB doing? Because I am also interested in adding support by the Proximity Sensor in TouchLockPro. So how can I start programmatically the proximity sensor? Just changing a registry key
leepriestenator said:
Forget the Curtain.
This enables your proximity sensor even when you are using your BT
Click to expand...
Click to collapse
It works 。Thanks

Proximity Sensor

Hey i don't know if this deserves its own thread or not, but i think it'd be pretty cool if the proximity sensor on the Touch Pro 2 could be used like those on blackberries, that when you put the phone in your pocket or a case with the screen on the screen would automatically turn off then turn back on when you took it out. Don't know if this would be possible but it is a really cool concept. Thanks
blackberries turn on cause theres a little magnet in the cases that turn on and off the screen. i dont think any blackberries have a proximity sensor. the storm is the only one with a touch screen to accidentally hit but you have to click it to do anything, and if your pushing a bb hard enough into your face to make the screen click, you deserve the have it push random buttons.
oh ok, that kinda sucks, still be kinda cool if it could be done though
i was wondering if theres some way to change the sensitivity or distance of the proximity sensor, i notice when my wife was using the phone the screen would turn on and off randomly i guess because of the way she was holding it to her ear, then i started noticing through the corner of my eye that my phone was doing this as well, it must think i've pulled it away from my ear when it senses different cavities in my ear, i'd like to turn it up to an extra 1/2" or so when i do hold the phone to my ear i know for certain it stays off, and when i really do pull it away from my head the screen wakes up. has anyone found the settings for this yet? i'm running juicy rom and my wife has mightyrom
TheLetterMan said:
Hey i don't know if this deserves its own thread or not, but i think it'd be pretty cool if the proximity sensor on the Touch Pro 2 could be used like those on blackberries, that when you put the phone in your pocket or a case with the screen on the screen would automatically turn off then turn back on when you took it out. Don't know if this would be possible but it is a really cool concept. Thanks
Click to expand...
Click to collapse
you could have it that way but you would need to disable the power off after x minutes. then all you would need to do is keep the proximity sensor enabled
Changescreen has an option under the advanced settings to suspend the phone when it's placed face down or in your pocket (as long as its put in your pocket upside down). It doesn't turn back on when you pick it up or take it out of your pocket though, you have to hit the suspend button for that. I'd reccomend checking it out.
Oh ya it also does screen rotation via the G-sensor.
trevoroni said:
Changescreen has an option under the advanced settings to suspend the phone when it's placed face down or in your pocket (as long as its put in your pocket upside down). It doesn't turn back on when you pick it up or take it out of your pocket though, you have to hit the suspend button for that. I'd reccomend checking it out.
Oh ya it also does screen rotation via the G-sensor.
Click to expand...
Click to collapse
I'm not sure if Changescreen actually uses the proximity sensor. It will shut off the screen even if you turn it upside down in the air. And I have found on numerous occasions that it still leaves the screen on in your pocket, which is too bad because it's handy to have.
Try PocketShield. It will automatically shut the screen off when put in your pocket or case. There is a free and paid version.
t0mmyr said:
i was wondering if theres some way to change the sensitivity or distance of the proximity sensor, i notice when my wife was using the phone the screen would turn on and off randomly i guess because of the way she was holding it to her ear, then i started noticing through the corner of my eye that my phone was doing this as well, it must think i've pulled it away from my ear when it senses different cavities in my ear, i'd like to turn it up to an extra 1/2" or so when i do hold the phone to my ear i know for certain it stays off, and when i really do pull it away from my head the screen wakes up. has anyone found the settings for this yet? i'm running juicy rom and my wife has mightyrom
Click to expand...
Click to collapse
I'm with t0mmyr on this issue.
I too find that when having been on a call, my screen can end up with started apps, on the programs page, etc.
I too think that a 'tweak' on the proximity sensor will go a long way to fixing this issue. The trick is to find exactly what to tweak and this is where we need a little guru-like guidence.......!!!
Cheers
Jabberoo
theres a few interesting keys in hklm\software\htc\proximity. i wont mess with them. i wouldnt like the screen to turn on every time i pick my phone off a table or something.
The Jack of Clubs said:
theres a few interesting keys in hklm\software\htc\proximity. i wont mess with them. i wouldnt like the screen to turn on every time i pick my phone off a table or something.
Click to expand...
Click to collapse
Thx for the heads-up
I looked into them but with no result.
There must surely be a way to 'fiddle' with the range..?
Cheers
Jabberoo
i dont think there is a boost on range. i think the emitter intensity is fixed and would require hardware tinkering to make reflections on object brighter for the receiving sensor.
trevoroni said:
Changescreen has an option under the advanced settings ....
Click to expand...
Click to collapse
Actually I played with it a little and realized that it does in fact use the proximty sensor and g sensor. It just seems to bug up some times (or it just might be my device)
Not just yours mine does this as well. I make sure I don't move the phone away from my ear at all but if it is a long call it always seems that either the notification bar or the start button got pressed during the call. It is driving me nuts. I had a program written by someone on XDA for my Fuze that worked awesome called touch in-call screen tweak I want that functionality with the tilt 2
dalavar said:
Not just yours mine does this as well. I make sure I don't move the phone away from my ear at all but if it is a long call it always seems that either the notification bar or the start button got pressed during the call. It is driving me nuts. I had a program written by someone on XDA for my Fuze that worked awesome called touch in-call screen tweak I want that functionality with the tilt 2
Click to expand...
Click to collapse
TouchLockPro has InCallTweak built in. See youtube video in the link. And recently also has added ZoomBar unlock. And it is *FREE*

annoying face detect turn off lcd feature

Does anyone know how to disable the sensor that turns off/on the lcd when you put the phone to your face?
This is a HUGE problem when I AM ON A CALL using bluetooth headset and the phone is in my pocket or belt case and the stupid sensor would randomly turn the screen on and then random keys would be pressed during call or apps launched.
I have s2u2 slide lock but it doesnt lock phone while in call, please help. THank s.
Not a fix, but, TouchLock Pro locks it when that sensor blanks the screen.
worwig said:
Not a fix, but, TouchLock Pro locks it when that sensor blanks the screen.
Click to expand...
Click to collapse
where can i get that? thx!!

Ear touches the screen in a call

Hey, everytime I am in a call, my ear taps the taskbar and it opens the notification window which covers my call screen. I have googled and searched this forum with no success.
Apart from TouchLockPro, was just curious as to if there is anything that addresses this issue?
Thanks in advance.
Do you have something (case?) blocking the proximity sensor? The screen should be turning off as soon as you put the phone to your ear.
Yes I do. I've just tested it out, that seems to be the problem. So is there any tweak to prevent this?
i know even with the screen turning off with the proxy censor i will find i am in the screen with the connections and battery info when i am done with a call... its kind of annoying and worrys me a bit i might accadently end the call when the screen is off.... also the flip over to make it a confrence phone is a 50/50 thing... this device is so glitchy
I randomly get this too, I think sometimes the sensor isn't used.. There are times I've noticed I can cover it up completely with my thumb and the screen doesn't go off, but other times it works just fine.
Ryryq said:
Yes I do. I've just tested it out, that seems to be the problem. So is there any tweak to prevent this?
Click to expand...
Click to collapse
Tweak...some testing to see where the sensor is (somewhere along the top near the HTC logo) and an X-acto knife to the case?
same thing happens to me, most of the time somehow I turn on airplane mode and the call disconnects.. sigh
TouchLockPro has a feature which turns the screen off using the G-sensor, but it's not just for calls, if you have it horizontal it'll be on, and if vertical it suspends/screen turns off; this would be good if it was just for calls, especially for those that use a case.
I'm just starting to use TouchLockPro (http://forum.xda-developers.com/showthread.php?t=444215) and I have most of the locking features turned off - I just hit the power button if I want to lock it.
It does keep the screen locked during a call so I no longer hit the buttons. Plus - when it unlocks I'm right back, exactly, where I left off.
There's lots of options to tweak, I think there's something for just about everyone.
I LOVE unlocking with the zoom bar - first time I've used that thing on my phone
~Eric
eknutson said:
I'm just starting to use TouchLockPro (http://forum.xda-developers.com/showthread.php?t=444215) and I have most of the locking features turned off - I just hit the power button if I want to lock it.
It does keep the screen locked during a call so I no longer hit the buttons. Plus - when it unlocks I'm right back, exactly, where I left off.
There's lots of options to tweak, I think there's something for just about everyone.
I LOVE unlocking with the zoom bar - first time I've used that thing on my phone
~Eric
Click to expand...
Click to collapse
Awesome. Mind sharing what settings you have enabled, please?
Sure
Light Sensor, Stylus Sensor, GSensor, Nav Sensor, :
Nothing checked (all disabled)
Keyboard:
Use Slider, Suspend On Slider In, Slider Out Disables LockMode and EnableInputAtSuspend are all checked, everything else is un-checked (HTC Lock API, Double TouchPanel Lock and KeepAliveAlways are un-checked.
BattClock:
just some preferences set for appearance
Telephone API:
Everything is checked (except light)
Software:
Nothing set up
Other Settings:
AutolockOnPowerOn and UnlockOnACPower are checked, everything else is un-checked (added vibrates Lock/Unlock once - I like the extra notification)
~Eric
thanks! works like a charm now, is there any way to lock it if it is idle for like 30 secs or something without havin to hit the power button
There's a number of ways to lock it using the various sensors - you can try one of those and see what fits your habits / style best. You can also click on the BattClock icon to get the menu - the lock icon is right there. That's 2 steps though...
~Eric

[Q] Phone call disconnects when open screen ??

Hi;
While on a call, the screen will close. While still talking I press the side button to open the screen and the call will disconnect.
How do I correct this?
Thank you.
Same question. Its just stupid, how on earth I`m supposed to wake up screen without disconnecting a call ?!
Go to: settings>Accessibility>un-check-power button ends call
what's funny is i'm pretty sure that this setting is not selected out of the box, so you guys must have went and enabled it yourselves!
rbs_uk said:
Same question. Its just stupid, how on earth I`m supposed to wake up screen without disconnecting a call ?!
Click to expand...
Click to collapse
I don't know about yours but my SGN seems to have proximity sensor near the speaker and it seems to turn screen on as soon as I take it away from my ear auto-magically It may "lag", but it's fair enough for me...
Mine did the same thing today. I confirmed the accessibility link cited above was not checked. Proximity sensor is irrelevant, I was on a two hour conference call and speaker using speaker phone mode. Screen times out and shuts down on its own, which also shuts off the prox sensor.

Categories

Resources