Android :: Disable Light Sensor During Call

Nov 23, 2010

When you talk on the phone in Android the light sensor is working. If you cover the top left corner of the screen, the display turns black and you can't see anything. I would like to cancel that feature and I tried working with Android Sensors and the Light Sensor but it is not working. This is my code:

senMgrLight=(SensorManager)getSystemService(Context.SENSOR_SERVICE);
senMgrLight.registerListener(onSensorListener,
senMgrLight.getDefaultSensor(Sensor.TYPE_LIGHT),
SensorManager.SENSOR_DELAY_FASTEST);

ADVERTISEMENT

Android :: No Light Sensor / Proximity Sensor Detected On Hero?

Feb 8, 2010

I have a HTC Hero here, and when I tried to get the list of available sensors on the device by calling ((SensorManager) getSystemService (Context.SENSOR_SERVICE)) .getSensorList(Sensor.TYPE_ALL); I get only the following sensors: D/SensorManager( 6302): found sensor: BMA150 3-axis Accelerometer, handle=0 D/SensorManager( 6302): found sensor: AK8973 3-axis Magnetic field sensor, handle=1 D/SensorManager( 6302): found sensor: AK8973 Orientation sensor, handle=2 D/SensorManager( 6302): found sensor: AK8973 Temperature sensor, handle=3 According to the specs, there should be a light and a proximity sensor on the Hero, and I've seen it in action (the automatic screen brightness adjustment) - so at least the ambient light sensor is definitely there. My question is then, why doesn't the getSensorList return for me the light and the proximity sensors?

View 8 Replies View Related

HTC Hero :: Ambient Light Sensor

Aug 9, 2009

I've seen claims that the Hero has a light sensor, and I see the "automatic" backlight enabled in Settings, but I'm not seeing much in the way of backlight adjustment occurring.

Even in an otherwise dark room, the backlight seems very bright. Occasionally I see the backlight go dim and then almost immediately come back up.

View 4 Replies View Related

Android :: Light Sensor On The Nexus One

May 20, 2010

I'm having some troubles with the light sensor on the Nexus One.

AFAIK, the proper way to read the measures of a sensor is registering a SensorListener through the SensorManager and then wait for the readings on the onSensorChanged method.

My main problem is that the light sensor don't seem very accurate (the readings jump a lot) and I don't get the first reading until the lighting conditions change. I have to change the phone orientation, go outdoors or hide the sensor with my fingers or otherwise I don't receive any value. Is there any way to increase the accuracy or, even more important, to force an initial reading?

BTW, I have tried with SensorManager.SENSOR_DELAY_FASTEST but I haven't noticed any change.

View 2 Replies View Related

HTC Desire :: Ambient Light Sensor Not Working

Apr 23, 2010

I've got an HTC Desire from a T-Mobile store 3 weeks ago. The ambient light sensor has never worked and it's enabled on the display settings.

I went back to the T-Mobile store and they tried a brand new unit. Unfortunately, that one also seem to have the same issue. Then I called the HTC technical support and they say there are no reports on such kind of issue.

If not, does the display brightness get adjusted quickly or slowly?

View 4 Replies View Related

HTC Incredible :: Ambient Light Sensor Located

May 6, 2010

Where is the ambient light sensor located?

View 4 Replies View Related

Motorola Milestone :: Light Sensor Not Working

Jul 22, 2010

I have milestone for 3 days good phone,camera performance surprised me expecting worse but...when i am making call display turns off and non of buttons work even i can hear ringing or person who i call then i have to slide phone slightly or fully to switch display-phone on.it wasn't working since the beginning but when i installed task manager it was working properly almost one day,next day again bad.the same story after hard reset.

View 16 Replies View Related

Samsung Behold 2 :: Front Light Sensor

Jun 10, 2010

Have an Issue. Whenever i am in a call if i take the phone away from my ear the screen doesnt turn on. It does this 98%of the time or only when i need to use the keypad during a call. It does this in stock form and also using open home. I always keep the screen clean. Is there a fix for this? I am not able to get my bh2 to connect to a pc so i cant root or install custom roms. Also the keyboard lag is rediculous. I tried better keyboard and it was just as bad if not worse.

View 3 Replies View Related

Android :: Light Sensor Value And Battery Level

Feb 15, 2010

I am writing a program and I am able to get the light sensor value and current battery level, but only the light value changes and when the battery level changes. Is there a way to get these two values anytime? Like when a user runs my program, I would like to grab the current values right away instead of having to wait for them to change.

View 2 Replies View Related

General :: MTK6577 S3 Battery / Light And Proximity Sensor

Aug 7, 2013

i bought a mtk6577 clone s3. My problem is sometimes i rebooted phone, after opening proximity and light sensor doesn't work. screen don't turn off in call and doesn't call the person displayed on screen when i take ear. And battery drains too much. (example: when proximity and light sensor works with %90 battery, when it doesn't work after reboot plummets to %50).Another issue is when i reboot phone, boot animation doesn't show when proximity and light sensors don't work.

View 2 Replies View Related

Sprint HTC Hero :: Light Sensor And Screen Intensity Linearity

Dec 30, 2009

I've noticed that when viewing the screen in a darkened room that the screen is actually too dark. Yet in a normal setting that the screen is correctly lit. I've tried increasing the intensity to maximum with the sensor enabled and it's still to dark in the darkened room. Now, I've disabled the sensor entirely and the screen just runs wide open all the time - day or night.

Has anyone else felt that it was too dark in the darkened setting? I'm wondering if there is a setting (probably not yet written for the phone/OS) to vary how linear the light sensor is at darker levels? Maybe a 'minimum darkness' adjustment?

View 4 Replies View Related

Android :: Light Sensor On Nexus One Returns Only Two Distinct Values

Aug 13, 2010

I´m trying to read the values of the Light Sensor of my Nexus One, but I´mgetting only following values:

10.0

225.0

And in a few cases some values much higher.

The used code:.........................

Does anybody have experience with the light sensor on the Nexus One or another Android device? Is my code the correct way to read the values? How can I get better and more accurate values?

View 1 Replies View Related

Motorola Droid :: Light Sensor Or Timer Dims Screen Up And Down During Video Playback

Nov 7, 2009

I am not sure which is the culprit, but while playing back video or even at random times, the screen shifts lighter or darker seemingly at random, and one time during a video playback on the TV.com app, it went black altogether. I am not sure whether it is the timer or the ambient light sensor, but I am tempted to turn the sensor off and push the timer back a lot.

View 1 Replies View Related

Motorola Droid :: Is There A Way A ROM Could Disable Proximity Sensor

Aug 12, 2010

Is there a way that a ROM could disable the proximity sensor during a call? I have a huge problem where I constantly hang up on people (usually my girlfriend) and that doesn't go very well . If its possible for the end buttonor volume button to wake the screen instead of the proximity, that would save me a lot of hassle. Is this doable, either standalone or through a rom setting?

View 1 Replies View Related

HTC Droid Eris :: How To Disable Proximity Sensor?

Apr 23, 2010

Is there any way to disable it? I put a body skin on it and its barely off center off but its enough to cover the sensor so when i'm in a call its constantly black and i can't do anything . I would just take the skin off and put it back on but i was stupid enough to put it over my invisible shield and im to paranoid to put any more water on my phone and wait another 24 hours. So is there anyway to disable it or do anything?

View 10 Replies View Related

General :: App To Disable Touchscreen By Proximity Sensor?

Jul 5, 2013

My phone (Xperia mini pro) unlocks itself way too often when it's sitting in my pocket. I was using a MIUI ROM for some time and there was that cool feature that didn't allow to unlock the screen when the proximity sensor sensed something in its... proximity. I really miss it, but I don't feel like switching from CM to MIUI just for it.

I know there are lots of apps like Gravity Screen Off or Cover Algorithm, but they don't do exactly what I wan't to have (or I didn't explore them enough), as I don't want to lock/unlock my phone by the sensor or anything. just a simple thing:

0. the screen is locked and turned off
1. the home/power button is pressed
2. the app checks the proximity senor's state
2a. if something's covering the sensor (e.g. my pocket's inside), the touchscreen is disabled (and some message appears to say so)
2b. if nothing's covering the sensor, then unlocking the screen is allowed

Something like that in Play Store?

View 2 Replies View Related

General :: Galaxy S4 Proximity Sensor Disable

Dec 27, 2013

I'm using the CM11 4.4 Kitkat on my Galaxy S4 and recently found out that my proximity sensor isn't working (when I dial the screen goes black and won't turn on until the call is over). all I want now is to disable it but there isn't such option in the Cyanogenmod. Is there anyway to disable it, like with a terminal or something?

View 5 Replies View Related

HTC Desire :: Use Proximity Sensor To Disable Screen While In Pocket

Jun 8, 2010

I've experienced the problem that when the desire is in my pocket and I receive a notification, the screen gets accidentally unlocked and the phone starts doing things that I don't want it to do. I know I can add an unlock pattern so that it won't unlock as easily but this is at the expense of me having to enter it even in situations I would not have needed it. So I thought that maybe we could use the proximity sensor to tell the phone to never unlock the screen if an object is close to the phone. Quickly looking at the android docs, it seems that the support for this is in the SDK, but I was wondering if anyone had created an application that does this. If time permits, I might even have a look at doing it myself, but as I'm very new to Android development, it will take me quite a long time to get to a usable state, hence my question about an existing app that does this.

View 49 Replies View Related

HTC EVO 4G :: Motion Sensor While On Call?

Nov 18, 2010

i just discovered somehthing pretty cool. You know when your on a call the screen is black, and then when you move it from your ear the screen turns on? Well i thought the screen was triggered by accelerometer movement. Its not. Theres a motion sensor right below the front speaker. I tested by being on a call, then i pulled the fone away from my ear and saw the screen turned off, then i waved my finger over the sensor and the screen would turn on and off. Or does everyone already know this?..lol Try it, its pretty cool.

View 5 Replies View Related

HTC EVO 4G :: Any Way To Disable LED / Charging Light?

Jun 14, 2010

I am a Droid user at the moment, but am considering moving to the EVO next month, and I have a question regarding the LED's on the phone. My wife has to have complete darkness in the room at night and even a charging light bothers her she says (wtf, I just close my eyes and I cant see it, but whatever).

Anyway, on the Droid there is a program called LEDs hack that allows us to turn off all the notification and soft-button LED's when charging, so I am wondering if anything similar is available for the EVO yet. Also, can the charging light itself be disabled? It could not on the droid, but the home dock covered that one completely, so no big deal.

View 2 Replies View Related

HTC Desire :: Proximity Sensor During Call

May 25, 2010

Somehow I keep managing to hang up on calls/call other people during calls. The proximity sensor does work but i think I must inadvertently move the sensor away from the screen, activating the screen. Is there an app that requires the screen to be unlocked during a call when the screen re-activates?

View 16 Replies View Related

HTC Droid Eris :: Disable GPS Light?

Mar 2, 2010

Is there anyway to disable the blinking green light that flashes when GPS is enabled? It's more of an annoyance then anything else, just curious if there is a way to turn that off while I leave GPS using programs on. I guess if not I could always draw a small black dot over the top of it!

View 6 Replies View Related

General :: How To Adjust Proximity Sensor During Call

Mar 29, 2012

How do I Adjust Proximity Sensor during a call, the screen comes on and off. and its the proximity sensor that needs to be calibrated. how can i adjust it? what file do i adjust this in?

View 2 Replies View Related

Nexus :: Light Sensor Position In Nexus One

Jan 15, 2010

Can anyone tell me where the light sensor is positioned on the Nexus One? One of the reasons I returned the Droid was I hated how the light sensor was positioned in the upper right corner. My fingers would frequently block it causing the auto-brightness to change unnecessarily and annoyingly. I know on the Droid Eris it is on the left and I'm hoping HTC did the same with the Nexus One.

View 3 Replies View Related

HTC Eris :: White Widow Proximity Sensor Not Working In-call

Jul 13, 2010

Anyone know if there is a way to fix this? Not being able to bring the screen back up during a call pretty much makes it impossible to call any automated line, or even delete voicemail messages.I really love this ROM but this particular issue is causing me quite a headache

View 6 Replies View Related

General :: Disable Green Blinking Light On Gmail Notifications

Apr 17, 2012

I want Gmail notifications to show in the notification bar, but I don't want the green blinking light on my Droid because it's woken me up sometimes at night while in the dock. How do I disable the green blinking light while leaving all the other notifications?

View 5 Replies View Related

Android :: Difference Between Orientation Sensor / Magnetic Field Sensor

Nov 2, 2010

Does anyone know the difference between the orientation sensor and magnetic field sensor on Android?Since I've read that magnetometer is synonymous with digital compass I'm a little bit confused. What are they really?

View 1 Replies View Related

HTC Droid Eris :: My Home Sensor Is Not As Responsive As My Back Sensor

Feb 18, 2010

My home icon is way less responsive than the back icon which seems to be perfectly normal. Sometimes I have to "press" the home icon twice to get the "buzz" and have it move the screen. However the back icon works 99% of the time on the first press. IS there any adjustment I can make or should I bring the phone back. I have had it now for 2 weeks.

View 9 Replies View Related

Android :: Is Orientation Sensor A Physical Sensor Different From Accelerometer?

Oct 30, 2009

Or it's just some virtual sensor the uses the data provided by the accelerometer and the magnetic field sensor to calculate the orientation?

View 7 Replies View Related

Android :: Add New Sensor Support In Sensor Framework

Nov 18, 2009

Can some one point towards any documentation/resources/ threads that can explain how a new sensor support can be added in android sensor framework?

View 2 Replies View Related

Motorola Droid :: Notification Light Not Turning Off After Call

Dec 18, 2009

So my little notification light up in the right corner keeps flashing after I get a call. The only way I've found to stop it is by restarting the phone. I was wondering if anyone else had a similar problem or knew of any possible ways to fix it.I was thinking it might have been a bug with the app Missed Call, but I've played with all the settings on there and it hasn't changed. I don't know what else could be causing it.

View 2 Replies View Related

Sprint HTC Hero :: Phone Won't Call But Light Up Green / Stop It To Do This?

Feb 8, 2010

Ok, sSand it wont do anything but light up green. Even if I go through and push call contact still nothing. Not even with the green button.? I did get a force close of android phone (I think that is what it said)

View 12 Replies View Related

Samsung Vibrant :: How To Message / Missed Call Phone Light Turn Off?

Nov 2, 2010

When getting a text/missed call, The phone lock screen pops up. And it will stay on until I press the power button. Is there a way for it to turn off after a few seconds??

View 1 Replies View Related

Motorola Droid :: Does Back-light While On Call Using Speaker / Bluetooth Shut Off?

Dec 12, 2009

Does the backlight while on a call using speaker or bluetooth shut off a lot faster now.

View 3 Replies View Related

HTC EVO 4G :: Disable Missed Call Alert?

Oct 6, 2010

how to disable the missed call alert that shows in the notification bar? When I get a missed call I do not want to be notified of it in the notification bar. If not does any one know how to disable the notification bar all together?

View 3 Replies View Related

Android :: Disable Home And End Call Key?

Jan 8, 2010

I am going to develop one application for android (As per client request). Which starts after booting of device. When device get booted then only this application will be there on screen. No key press will minimise that application. The solution i found on this site is able to block all keys instead of home and end call keys.

View 2 Replies View Related

Android :: App To Disable Touchscreen While On Call

Mar 18, 2010

Has anyone heard of an application to disable the touchscreen while on a phone call. I keep putting it on mute.

View 8 Replies View Related

HTC Incredible :: Disable Vibrate While On Call?

May 9, 2010

Is there a way to disable the vibrate when you receive a text while on a call?

View 3 Replies View Related

Motorola Droid :: How To Disable Call Waiting?

Nov 26, 2009

I have looked through all the settings that I could find and I have not been able to find the setting to disable call waiting. Does anyone know how to do that? Is it even possible? I personally prefer to have call waiting off. I do not want incoming calls bothering me if I'm already on the phone.

View 6 Replies View Related

HTC Droid Eris :: Disable Screen During Call

Dec 18, 2009

How do you disable the touch screen while on a call so your face does not hit other applications?

View 7 Replies View Related

HTC Desire :: Can I Disable Phone Lock When In Call

Apr 29, 2010

When my phone is in its holder in my car, and i am on a call, my phone will lock, meaning to end the call i have to unlock the screen (using power button) to unlock before i can end call.Is there a better solution? justs gets a chore to hang the phone up.

View 8 Replies View Related

Sprint HTC Hero :: Disable Call Forwarding?

Feb 21, 2010

I was using PhoneFusion for voicemail but now I want to go back to Sprint Visual Voicemail. I cancelled my Phone Fusion accoint and I got a message telling me to disable call forwarding in order to get my messages in visual voicemail. How do I disable call forwarding?

View 9 Replies View Related

General :: Disable Facebook Status In Call?

Apr 6, 2012

When I make a phone call a facebook status bar pops up at the top of the screen for that person. I constantly hit my cheek on this and I find it annoying. Is there a way to disable/remove this "feature"?

View 1 Replies View Related

General :: HTC Inspire / CM7 - How To Disable Vibration On Call

Feb 27, 2012

I installed cm7 on my htc inspire. everytime i make a call and just after the other party picks up, i get a vibration. i disabled all haptic vibration in settings. but this didnt stop it. how do i disable this?

View 1 Replies View Related

Android :: Disable Simultaneous Search On Call Log & Contacts?

Oct 10, 2010

I just installed the latest DialerOne (1.2.7.1) from the Market and find that the new simultaneous search of the call log and contacts is annoying in that it places call log entries at the top of the list, and tapping on them brings up the call history for that contact instead of listing their numbers so you can choose one to dial. I don't see any way to turn this off.Am I missing something?It would seem natural to have the ability to limit the search to the screen presented (search only the call log when the call log is displayed, or search only the contacts when contacts are displayed), but I have Dialer One display the call log by default, so that I can quickly call a recently called contact, or just start dialing to search, so this wouldn't work for me either.I would much rather go back to the way it used to be. Of course, I figured I didn't need to backup the previous version because after all, what could change? Now I have this, and the coloring of the digits on the keypad is weird, even after adjusting it as much as possible.

View 5 Replies View Related

ADVERTISEMENT