Screen off via light sensor? - Android Apps and Games

I need an app that would switch off my galaxy tabs screen whenever I shut the case (its a book-type from SGP). I assume the light sensor would do this just fine.
Any apps out for that?

Surely that would make it impossible to use your device in a darkened room or outside at night? Wouldn't the screen keep turning itself off?

Hmm, I didn't think of that. Any suggestions? Maybe the magnetometer or front camera?

http://forum.xda-developers.com/showthread.php?t=876945
try this if it works ...

Related

Why can't the screen act as in iPhone during conversation????

I find this behavior of my touch pro irritating and stupid. The screen goes off during coversation. We all know that. And we know that we can tweak it via the registry not to go off at all.
But WHY can't it just act like my wife's iPhone does? The iPhone turns the screen off during conversation by using the LIGHT DETECTOR. So when you put it near your ear screen goes off and immediately returns when you move the phone away from your ear. I am using my wife's iphone a lot and I can say this behavior works excellent, flawless and so much better than the Touch Pro, where it's either goes off and I have to click on a button each time to turn it on again. Or just leave the LCD on even I talk for half an hour. Did anyone fix that ?
Look for Touch InCall Screen Tweak.
Check the options for:
"Ignore Light Sensor"
"Ignore First Screen Off"
and I believe it'll work how you want it to.
unless one talk for a long time turning on and off the lcd backlight would most likely use more power then having it on during the call these devices don't have led backlight or use oled
so there is still a neon backlight type of thing I believe
and they use most power when turning on
mindfrost82 said:
Look for Touch InCall Screen Tweak.
Check the options for:
"Ignore Light Sensor"
"Ignore First Screen Off"
and I believe it'll work how you want it to.
Click to expand...
Click to collapse
I just want to second this. The behavior you describe really annoyed my about my fuze as well, when I had been using a Samsung Eternity that operated similar to the iPhone (detected when it was at your ear to turn off screen).
Get the program mindfrost said, it works like a charm! You can even make the phone automatically turn to speakerphone when you sit it face down mid-call, and go back to normal when you pick it back up! It's an excellent add-on.
I don' understand one thing. Why do we check Ignore Light Sensor? I have the program, my phone now works like an iphone with the settings you described but that option is throwing me for aloop
I went to the thread for the app and found that the app is working a bit different than I thought. I do enjoy this app. Nuts that this isn't an out of the box type behaviour.
the iphone doesnt use the ambient light sensor, it uses the proximity sensor which the touch pro doesnt have. if you tilt it up to the sunlight you can see 3 black spots on the iphone. one that is the light sensor, a proximity beam and sensor. it can tell if an object like your face is too close to use the screen and turns it off during a call.
The Jack of Clubs said:
the iphone doesnt use the ambient light sensor, it uses the proximity sensor which the touch pro doesnt have. if you tilt it up to the sunlight you can see 3 black spots on the iphone. one that is the light sensor, a proximity beam and sensor. it can tell if an object like your face is too close to use the screen and turns it off during a call.
Click to expand...
Click to collapse
Thanks for all replies. I will try Touch InCall that you guys suggested.
Jack : I didn't know that. That seems like a smart thing to do, better than using the light sensor I wonder why the HTC guys didn't think about that being that the HTC devices are more expensive, newer and should have better tech. Oh well
I'm a bit curious why everybody wants their screen to remain on while they are talking on the phone. Do you like to press the screen with your cheek while you're talking? What do you need to look at the screen for? I've always had the option of turning the screen off while talking enabled.
pennywisdom said:
I'm a bit curious why everybody wants their screen to remain on while they are talking on the phone. Do you like to press the screen with your cheek while you're talking? What do you need to look at the screen for? I've always had the option of turning the screen off while talking enabled.
Click to expand...
Click to collapse
I don't think anyone is saying that - they want the screen to turn off when the phone is against their face, and turn on if the phone is moved, to type in numbers, take notes, etc.
DaveLinger said:
I don't think anyone is saying that - they want the screen to turn off when the phone is against their face, and turn on if the phone is moved, to type in numbers, take notes, etc.
Click to expand...
Click to collapse
Yep. That's correct
DaveLinger said:
I don't think anyone is saying that - they want the screen to turn off when the phone is against their face, and turn on if the phone is moved, to type in numbers, take notes, etc.
Click to expand...
Click to collapse
I guess the impression I got from the Tilt (which doesn't have a light sensor) and the users of the Tilt, they didn't like the screen to blank during a call. I always turn my screen off with the power button if I have to while I'm on the phone so I never understood why they wanted it to stay on.
I think the problem with using the photo sensor reading is that if it is dark, you'll never get the screen to turn back on, even if you pull the phone away from your ear.
On the Raphael/Touch Pro perhaps the improved screen sensitivity and the non-bezelled screen makes for ear shenanigans while ear mashing.
I could get away with ear mashing on the Tilt and the Wizard.
What if you are using bluetooth in the car?

[Q] Disable the Light sensor Galaxy s

My Galaxy S has a problem with the Light Sensor, every time i make a call my phone freezes or black screen, I tried running some sensor tests but also does same when i try the light sensor, so that must be it. have this problem for a year, at first i thought it was the proximity sensor.
When my headphone is plugged in, i dont have this problem because the light sensor wont interfear then.
I want to disable the startup of the light sensor,
I already setup ADB, so im ready to push and pull, but i don't know wich file i need to edit. remove a # here and there
Can anyone tell how wich file it is?
Got inspired by :
http://forum.xda-developers.com/archive/index.php/t-764368.html
Sure its not the proximity sensor? Cause I got the same problem. When I accept a call screen goes black, the upper bar is visible and after a while the screen turns off. Im ceratin that is a problem with the proximity sensor or not?
Same here, yeah think its the proximity, but my light sensor also doesn't function properly, auto brightness adjustment doesnt work also.
Very anoying problem.

[Q] light sensor doesn't work?

Hello everybody. Firstly I'd like to sorry but my English is poor. Ok, so what's going on? One day I saw that 4 touch buttons don't have backlight. So I tought it could be that light sensor. I've gone to the display settings and I set up auto brightness. And nothing has changed... No matter where I go, brightness doesn't change at auto. And this no backlight of 4 touch buttons... My question is: what it could be? What is wrong with my HTC? Could it be software issue or rather hardware?
the autobrightness setting your messing with is for the backlight of the screen, not the 4 buttons. as for the 4 buttons, what kernel and rom are you on? newer xe kernels have brightness setting for the buttons (if its bright outside itll turn off, if its dark then itll turn on). does the backlight of the 4 buttons never work or just sometimes?
I use stock 1.50~~ ROM with stock htc kernel. Sometimes (as now for example) 4 buttons backlight works, sometimes not, it's lottery... Now there is working also light sensor. I woke up today and it has been working, but since monday to yesterday it didn't work. Strange issue...
Try check tour sensors with androsensor from Market/Google Play.
It shows you whats sensors do work.
Light sensor is at the top left hand side of the phone at the front beside the speaker. Put your thumb over it and see if the buttons light up. If they do light sensor is working!
My sensors are still not working to all the time.
I did edit the build.prop with this line at the botten:
ro.mot.buttonlight.timeout=0
Reboot 2x
Wich helped .
But now its gone again,it drives me nuts
There is shortcut for light sensor check, for example on Samsung i9001 I can use *#*#0588#*#* - Proximity sensor test
hope this can help
addisuw said:
There is shortcut for light sensor check, for example on Samsung i9001 I can use *#*#0588#*#* - Proximity sensor test
hope this can help
Click to expand...
Click to collapse
And what should happen ?
Tried it,nothing.
Thanks tho.
Do you have it in a case? I put mine in a gel case and although it didn't appear to block the sensor I was finding that when I finished a call the screen didn't light up again. I trimmed the case so that it had much more clearance around the sensor and it works well now.
xynox93 said:
Hello everybody. Firstly I'd like to sorry but my English is poor. Ok, so what's going on? One day I saw that 4 touch buttons don't have backlight. So I tought it could be that light sensor. I've gone to the display settings and I set up auto brightness. And nothing has changed... No matter where I go, brightness doesn't change at auto. And this no backlight of 4 touch buttons... My question is: what it could be? What is wrong with my HTC? Could it be software issue or rather hardware?
Click to expand...
Click to collapse
Is your proximity sensor working during calls?
Not for me
(Ps.factory reset in total dark worked till reboot)
Did anyone figure this out?
I bought a used phone for a great price but my light sensor and proximity sensor dont work. Confirmed with androsense.
I would really like to just have the buttons light up all the time when the screen is on. Anyone know how to make that possible?

[Q] Proximity sensor problem is there a way to calibrate it

my proximity sensor has been acting up since the 4.3 OTA update, my screen stays black after calls, sometimes after screen time outs and I normally have to wait awhile before it'll turn back on, The infra red light for the proxy sensor stays on as well, it used to just blink occasionally. and yes I can see the infra red light, first sensor to the right of the speaker, for those of you who cant see it try looking at it with a camera and it'll become visible. since this seems to control my screen even while not making a call I need to disable it or calibrate it, I have already disabled it at phone, call settings, turn off screen during calls.
johnwilliams-84 said:
my proximity sensor has been acting up since the 4.3 OTA update, my screen stays black after calls, sometimes after screen time outs and I normally have to wait awhile before it'll turn back on, The infra red light for the proxy sensor stays on as well, it used to just blink occasionally. and yes I can see the infra red light, first sensor to the right of the speaker, for those of you who cant see it try looking at it with a camera and it'll become visible. since this seems to control my screen even while not making a call I need to disable it or calibrate it, I have already disabled it at phone, call settings, turn off screen during calls.
Click to expand...
Click to collapse
The option has been removed from 4.3 OTA, there's no way to calibrate them. Also none of the third part apps are compatible with this. :crying:

[Q] Nexus 5 proximity sensor always active / on

Hi all,
I've had this issue for about 2 weeks or so. The proximity sensor on my Nexus 5 randomly stays active no matter what app is on or if the screen is locked. So whenever the screen is active and I put my hand/finger near the proximity sensor it will blank the screen. You can see how this would be annoying when you're just checking notifications and the screen blanks out. Any thoughts or suggestions? It definitely seems software related as a reboot solves the issue until it happens again. I've tried to consistently recreate the issue, but I can't tie it to any one app that was/is active, or any combination of events that causes it. After a few hours when I unlock my phone to check a notification I notice it's active because the screen will go dark. Is there a way to see what app(s) could be doing this?
My phone is unlocked and rooted, but stock rom. No screen protector at all. I can't think of any non mainstream apps that I have installed.
Thanks!!
I have this issue exactly. Did you ever find the fix for it?
Are you using any app that uses the proximity sensor to turn on the screen? (e.g. Shake Screen-On). Those apps keep the proximity sensor on (if using near receiver mode).
One way to see if an app is using the proximity sensor is by checking the battery options. One of those apps might be the one draining your battery.
Same here. Reboot makes it work fine for a couple days, then the proximity sensor just stays active til the next reboot. Has done this on CM, PA, and Cataclysm.

Categories

Resources