Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

I've noticed two days ago that I've initiated some random things while having hands in my pockets and phone was in as well...

And today I just picked up a call and while talking on the phone I realised that I turned on stuff with my face...

It seems that proximity sensor isn't working or working improperly.

How do I test it without placing a call? How can I test proximity sensor anyway? Is it at all possible?

I've read about some proximity sensor light... I don't see any light turning on or anything... I can just locate two holes behind glass between front camera and speaker. I suppose one of them (or both) is proximity sensor.

Galaxy Nexus is 2 weeks old and running Jelly Bean

share|improve this question
    
The proximity sensor uses no light, the two holes you mention are the proximity sensor and the ambient light sensor, which measures the lighting around the phone and uses it to adjust automatic display brightness –  onik Sep 14 '12 at 6:22
add comment

2 Answers

up vote 4 down vote accepted

Install a sensor app like AndroSens or AndroSensor.

They both are able to show you the proximity information.

Note:
The sensor only distinguishes between near and far proximity (0-5cm and >=5cm usually). It is OK that you won't get accurate distance measurements.

share|improve this answer
add comment

Many android phones have a hidden app called "service menu" which runs when you call some codes in Phone app.

for example, service menu for Sony (Ericsson) android phones will appear when you call *#*#7378423#*#* or *#*#SERVICE#*#* and for most of samsung android phones, it appears when you call *#0*# or *#9072641*#

from "service menu", you can test Screen, Keys, Touch, ... and most importantly, sensors. So, test this code in your phone and see if "service menu" appears, then test your proximity sensor from there, without any need to install a third-party app.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.