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.

Android :: light sensor on the Nexus One


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

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

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

Android :: Disable Light Sensor During Call

Nov 24, 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);

View 2 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

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

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

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

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

Nexus :: Where Is Auto Brightness Sensor?

Jul 8, 2010

Just started messing around with the auto brightness setting. After reading up about it I see a lot of people are having problems with it. Mine too seems way too dim.Anyway I figured I'd give it one last shot and was wondering where exactly is the sensor? Im wondering if my case is covering it or something.Similar topic is there anything wrong with keeping the brightness at about 33% for most of the time? Burn in? Or is it just battery drain?

View 3 Replies View Related

Android :: How Can I Control Trackball Light In A Nexus One

May 13, 2010

How can I control the trackball light in a nexus one ? I found something with NotificationManager but the samples do not work for me.

View 1 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

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

Nexus :: Trackball Light Won't Turn Off / Way To Fix?

Jul 3, 2010

Last night my Trackball changed from white to blue and refuses to turn off. I don't have bluetooth on and have been using 2.2 build frf83 for about a week and yesterday while watching tv i noticed the change. Has anyone else encountered this problem. oh yeah if the phone rings then it starts flashing white but after i hang up it will return to the constant blue.

View 5 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

Nexus :: CM6.0.0-N1 - 720p Not Displaying / Shed Some Light On This

Aug 28, 2010

Just flashed CM 6.0.0-N1 and all went well, except there is no 720p option in camera quality settings. Can anyone shed some light on this?

I'm running the new baseband 32.41.00.32H_5.08.00.04 from the korean rom if that makes a difference.

View 2 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

General :: Nexus 4 - How To Change Light Blue System Color

Dec 15, 2012

How can I change the system default light blue color? I'd like to make it some sort of green. I'm talking about the light blue in such icons in the attached screen shots as the battery icon, the keyboard words, and the bottom bar when pulling down the notification tray. I assume it's just one setting somewhere because it's all the same blue. I am using Nova Launcher and would prefer not to root but might if necessary. I'm using the latest version of Jelly Bean on a Nexus 4

View 3 Replies View Related

General :: Nexus 4 - LED Notification Light Red But Will Not Turn On Or Even Boot Into Recovery

Feb 11, 2014

So I upgraded to the nexus 5 and sold my phone to a friend yesterday. He claims that he has not deleted anything and that is froze and just stopped working.

I have the phone connected to my computer where the phones LED notification light is red but will not turn on or even boot into recovery. My computer isn't recognizing it as a device either.

Nexus 4
CM11 (latest update)
recovery is CWM

What may have caused this. and if its bricked how to unbrick it if possible?

View 8 Replies View Related

Nexus :: Battery Light Blinking Orange To Green Quickly - Device Not Start

Jul 5, 2010

I had to remove my sim card, which means that I had to remove my battery. After doing so, I put my sim card back in, followed by the battery, and after pushing the power button, the battery indicator started flashing green and orange.

The screen isn't turning on, and absolutely nothing is happening.

I've been pouring over google trying to find a solution, but haven't found any that worked.

One suggestion suggested that I hold the power button for 10-15 seconds, then plug it into power, then add battery. This did not work.

Another suggested the opposite- hold power for 10-15 seconds, add battery, then add power cord, still no luck.

I freaking love this phone. I really, really, really want to fix it. If there are any, ANY suggestions as to what I could do to fix this, it would be greatly appreciated. I tried to call HTC for support, but, wouldn't you know it, couldn't get to a phone before EXACTLY one minute before they closed.

View 9 Replies View Related

Samsung Galaxy I7500 :: GAOSP Gapps Light / Ultra Light

Oct 26, 2010

These packages are alternative gapps. These Gapps should improve performance. On top of that all apps are up to date (like YouTube). Ultra Light version will also remove unnecessary preinstalled apps like yaam, DSP Audio Manager and so on (and some more gapps of course).

View 13 Replies View Related

HTC EVO 4G :: Orange Charge Light And Red Light Appearing

Sep 30, 2010

I accidently sat got my evo into some water on our bathroom the other night and now my phone is acting weird. I disconnected the battery and the phone and allowed them to sit in bags of rice for a few days to draw out the mositure. I turned the phone back on and found the camera is no longer so the water must of wicked in through there, but what is troubling me is the orange charge light comes on as well as a red indicator light on the other side.

View 2 Replies View Related

Android :: Enhanced Sensor API

Jun 2, 2009

I had a discussion with a few of the Android team member at Google IO, and I'd like to throw the idea out here for general brainstorming with the community. My view is that it is not a good approach to create "sensor-specific" APIs with iterative releases of the Android platform and SDK's. By this, I mean that instead of adding a "location API", and an "accelerometer API", and whatever comes next, we should create a "generic" sensor API that can work with a broad range of sensor types, including sensor configuration, demand read/write/configuration, event notifications, and other functions. In this way, 3rd parties could also add innovative sensing capabilities (or external sensors) to their Android devices which would be "instantly" supported by the platform. Well-known sensor such as collocation and acceleration could have agreed-to sensor names/namespaces, with full extensibility for additional sensor types. As an example, collocation as a 2D longitude/latitude is fine for some apps, but for "inside the building" applications or for other apps involving the need to accurate location of people or resources in 3 dimensions, it doesn't cut it. Additionally, one can easily envision inclusion of RFID, environmental, and other sensors in devices that could dramatically enhance the capabilities of Android applications.

View 4 Replies View Related

Android :: Example App That Uses Accelerometer Sensor?

Jan 23, 2009

Where can I find a simple example application that uses the Accelerometer Sensor?

I've seen the Open Intents applications, but I'd rather use the raw Android API, at least until I understand it a little better. I'm surprised at the lack of documentation.

View 3 Replies View Related

Android :: How Can I Find My GPS Location With GPS Sensor?

Aug 20, 2009

I am currently working with a HTC G1 and I am trying to retrieve my GPS position. But I can not understand very well the documentation. I wrote those lines, but they didn't work.It already write "provider == null" so I guess that "mgr.getBestProvider(new Criteria(), true);" returns null.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved