7

Which hardware sensors are supported by Android? Are there any imaginable sensors that may be planned to be supported in the future?

For every sensor:

  • How is the sensor useful?
  • Which devices currently have it? (Only for new sensors)
  • What do notable apps use the sensor?

Here is a list of currently supported hardware sensors:

Environment Sensors

  • ambient humidity
  • illuminance
  • ambient pressure
  • ambient temperature
  • Device temperature

Motion sensors

  • accelerometer
  • gyroscope

Position sensors

  • geomagnetic field sensor
  • the proximity sensor

The orientation sensor is software-based and derives its data from the accelerometer and the geomagnetic field sensor.

Real Dreams
  • 479
  • 3
  • 15
  • 28
  • 4
    "Please introduce one sensor per answer." Yeah, please don't to that. This site works best when there is the possibility of one, single, correct answer. – ale Sep 12 '12 at 12:20
  • @AlEverett This question was intended to become a community question, please vote to reopen it. – Real Dreams Sep 12 '12 at 15:24
  • 1
    "closed as not constructive" Wow! not constructive!! At least it can act as a references. – Real Dreams Sep 12 '12 at 16:11
  • Constructive in general does not mean that it's constructive for this site. –  Sep 12 '12 at 18:02
  • 1
    I'm with @PHPst--it's shocking that a question like this is considered not constructive for this site, especially considering the good quality of the one answer it did receive. – rob Jun 13 '13 at 21:42

1 Answers1

11

AFAIK, these are sensors which Android supports:

- Accelerometer

Measures amount of acceleration which the gravity applies to the device, in 3 dimension. Therefore, the device can detect exactly in which position against the earth it is. Its usefulness is very wide, but mostly in games. Almost all of Android phones have this sensor.

- Gyro

This one is very related to accelerometer and according to Wikipedia: "The integration of the gyroscope has allowed for more accurate recognition of movement within a 3D space than the previous lone accelerometer within a number of smartphones. Gyroscopes in consumer electronics are usually called Accelerometers (Acceleration sensors) and come in 3-axis, 6-axis, etc." Not all of Android phones have this sensor, but most of newer ones have.

Full List of Android phones with Gyro sensor

- Compass

This one almost works like a normal real compass, but very very tiny! It allows device to detect in which position it is against the poles of earth. So, apps using this sensor can show you the angle which you have hold the phone comparing to the North, South, East or West. It's main usage is in apps to find your way, in companion with GPS, or for example finding Qibla for Muslims, or any other interested direction which you may need.

List of Android phones with Compass

- Orientation

I Think this one is not a real sensor, but a side usage of Accelerometer. Orientation detection is most used for Android UI and most apps to detect portrait or landscape position of the phone, to rotate the UI accordingly. Almost all of Android phones have this feature.

- Pressure (Barometer)

This one is relatively a new sensor, which detects pressure of air in area which device is in, just like a barometer. It's main usage is to detect altitude of current location of device from sea level. This helps GPS to be faster and more accurate because one of 3 main values (Latitude, Longitude, and Altitude) that are detected by GPS, can be faster detected by barometer. So, GPS would work faster in companion with barometer sensor.

List of Android phones with Barometer sensor

- Proximity

This sensor is mostly located beside earphone in top of front face of the phone. It can be seen easily if you put the phone under bright light (unlike above sensors which are inside the phone and not visible). Its main usage is to turn-off screen, when you are calling and phone is near your head. Android turns off the screen, so it prevents accidental touch of screen when you are not supposed to, and also, it reduces battery consumption in calls. Some apps also use this sensor to control phone by your hand gestures, because this sensor has 2 state, On and Off. On for when something is near it (about 1 cm) and Off for when nothing is near. Most Android phones have this sensor.

List of Android phones with Proximity sensor

- Ambient Light

This sensor, as obvious from its name, measures ambient light in environment where the phone is in. Its value is a number between 0..255 (darkest to brightest) and is mainly used by Android internal system to automatically adjust brightness of screen to be properly readable under bright light of the sun, and also in a dark room. Not all Android phones have this sensor, and no usage except adjustment of screen brightness can be considered for it. I couldn't find a list of phones with this sensor, but almost all if high-end Android phones have this sensor. Its favorite location to sit down in your phone, if ever exist, is near earphone at top of front panel, and looks like a tiny and dark front camera placeholder.

yrajabi
  • 2,162
  • 1
  • 18
  • 23
  • 1
    That's a lot of good, useful information. Where did you find it all? – ale Sep 12 '12 at 12:22
  • Out of curiosity, is there a particular reason why you decided to make this community wiki? You took the time to write this all up, you're certainly free to gain the rep from it (and anyone can suggest edits nowadays). – eldarerathis Sep 12 '12 at 12:56
  • @AlEverett I found this info deep inside my brain :) It's all from my experience and previous knowledge about these sensors. – yrajabi Sep 12 '12 at 14:01
  • Nicely done. I'm also curious why you made this Community Wiki. – ale Sep 12 '12 at 14:02
  • @eldarerathis Yes, you are right. I took time to write this (but it was joyful, as English is not my first language!). But I thought it has been like a wiki, so I checked the Community Wiki! BTW, if you, as a moderator, can change this back to a normal answer, please do this, because I can't! If not, no problem, I would like to write and share answers about phones, Specially Android phones. – yrajabi Sep 12 '12 at 14:06
  • @AlEverett thanks, please read above comment :) – yrajabi Sep 12 '12 at 14:08
  • Yep, moderators can change community wiki status. I certainly appreciate that you wanted to make this collaborative, but wanted to make sure you get due credit (and make sure you're aware that suggested edits allow pretty much anyone to edit a post; community wiki functionality predates suggested edits). – eldarerathis Sep 12 '12 at 15:03
  • 1
    @eldarerathis thanks, I really didn't know what a community wiki means on this site! However I would like to make wikis and share valuable and editable info with other users, but about this post, I prefer it to be known as my answer to the question. – yrajabi Sep 12 '12 at 15:12
  • You may find these links informative: http://meta.stackexchange.com/questions/11740/what-are-community-wiki-posts http://meta.stackexchange.com/questions/108136/what-is-community-wiki-for – ale Sep 12 '12 at 15:18
  • Thanks for your good answer. What about Temperature Sensor and Magnetic Field? – Real Dreams Sep 12 '12 at 16:07
  • @Reza Sorry, I don't have any notable knowledge about Temperature sensor, and I think magnetic field is not a sensor, but readings from compass sensor. – yrajabi Sep 12 '12 at 17:47
  • I find it strange that the mods would suggest that this answer not be a community wiki since they closed the question as "not constructive" and nobody else can add answers to it when new sensors are added. – rob Jun 13 '13 at 21:45