Skip to main content

Sensor types supported by Android platform





Photo: Sensor types supported by Android platform
---------------------------------------------------


1) TYPE_ACCELEROMETER(Hardware)

Measures the acceleration force in m/s2 that is applied to a device on all three physical axes (x, y, and z), including the force of gravity.

Common Uses:-Motion detection (shake, tilt, etc.).

2) TYPE_AMBIENT_TEMPERATURE(Hardware)

Measures the ambient room temperature in degrees Celsius (°C).

Common Uses:- Measures air temperatures

3) TYPE_GRAVITY(Software or Hardware)

Measures the force of gravity in m/s2 that is applied to a device on all three physical axes (x, y, z).

Common Uses:- Motion detection (shake, tilt, etc.).

4) TYPE_GYROSCOPE(Hardware)

Measures a device's rate of rotation in rad/s around each of the three physical axes (x, y, and z).

Common Uses:- Rotation detection (spin, turn, etc.).

5) TYPE_LIGHT(Hardware)

Measures the ambient light level (illumination) in lx.

Common Uses: Controlling screen brightness.

6) TYPE_LINEAR ACCELERATION(Hardware or Software)

Measures the acceleration force in m/s2 that is applied to a device on all three physical axes (x, y, and z), excluding the force of gravity.

Common Uses: Monitoring acceleration along a single axis.

7) TYPE_MAGNETIC FIELD(Hardware)

Measures the ambient geomagnetic field for all three physical axes (x, y, z) in μT.

Common Uses: Creating a Compass

8) TYPE_ORIENTATION(Software)

Measures degrees of rotation that a device makes around all three physical axes (x, y, z). As of API level 3 you can obtain the inclination matrix and rotation matrix for a device by using the gravity sensor and the geomagnetic field sensor in conjunction with the getRotationMatrix() method.

Common Uses: Determining device position.

9) TYPE_PRESSURE(Hardware)

Measures the ambient air pressure in hPa or mbar.

Common Uses: Monitoring air pressure changes.

10) TYPE_PROXIMITY(Hardware)

Measures the proximity of an object in cm relative to the view screen of a device. This sensor is typically used to determine whether a handset is being held up to a person's ear.

Common Uses: Phone position during a call.

11) TYPE_RELATIVE_HUMIDITY(Hardware)

Measures the relative ambient humidity in percent (%).

Common Uses: Monitoring dewpoint, absolute, and relative humidity.

12) TYPE_ROTATION_VECTOR(Software or Hardware)

Measures the orientation of a device by providing the three elements of the device's rotation vector.

Common Uses: Motion detection and rotation detection.

13) TYPE_TEMPERATURE(Hardware)

Measures the temperature of the device in degrees Celsius (°C). This sensor implementation varies across devices and this sensor was replaced with the TYPE_AMBIENT_TEMPERATURE sensor in API Level 14

Common Uses: Monitoring temperatures
1) TYPE_ACCELEROMETER(Hardware)

Measures the acceleration force in m/s2 that is applied to a device on all three physical axes (x, y, and z), including the force of gravity.

Common Uses:-Motion detection (shake, tilt, etc.).

2) TYPE_AMBIENT_TEMPERATURE(Hardware)

Measures the ambient room temperature in degrees Celsius (°C).

Common Uses:- Measures air temperatures

3) TYPE_GRAVITY(Software or Hardware)

Measures the force of gravity in m/s2 that is applied to a device on all three physical axes (x, y, z).

Common Uses:- Motion detection (shake, tilt, etc.).

4) TYPE_GYROSCOPE(Hardware)

Measures a device's rate of rotation in rad/s around each of the three physical axes (x, y, and z).

Common Uses:- Rotation detection (spin, turn, etc.).

5) TYPE_LIGHT(Hardware)

Measures the ambient light level (illumination) in lx.

Common Uses: Controlling screen brightness.

6) TYPE_LINEAR ACCELERATION(Hardware or Software)

Measures the acceleration force in m/s2 that is applied to a device on all three physical axes (x, y, and z), excluding the force of gravity.

Common Uses: Monitoring acceleration along a single axis.

7) TYPE_MAGNETIC FIELD(Hardware)

Measures the ambient geomagnetic field for all three physical axes (x, y, z) in μT.

Common Uses: Creating a Compass

TYPE_ORIENTATION(Software)

Measures degrees of rotation that a device makes around all three physical axes (x, y, z). As of API level 3 you can obtain the inclination matrix and rotation matrix for a device by using the gravity sensor and the geomagnetic field sensor in conjunction with the getRotationMatrix() method.

Common Uses: Determining device position.

9) TYPE_PRESSURE(Hardware)

Measures the ambient air pressure in hPa or mbar.

Common Uses: Monitoring air pressure changes.

10) TYPE_PROXIMITY(Hardware)

Measures the proximity of an object in cm relative to the view screen of a device. This sensor is typically used to determine whether a handset is being held up to a person's ear.

Common Uses: Phone position during a call.

11) TYPE_RELATIVE_HUMIDITY(Hardware)

Measures the relative ambient humidity in percent (%).

Common Uses: Monitoring dewpoint, absolute, and relative humidity.

12) TYPE_ROTATION_VECTOR(Software or Hardware)

Measures the orientation of a device by providing the three elements of the device's rotation vector.

Common Uses: Motion detection and rotation detection.

13) TYPE_TEMPERATURE(Hardware)

Measures the temperature of the device in degrees Celsius (°C). This sensor implementation varies across devices and this sensor was replaced with the TYPE_AMBIENT_TEMPERATURE sensor in API Level 14

Common Uses: Monitoring temperatures
Explore Your device sensors with 'Android Sensor Box' :

Comments

Popular posts from this blog

CDAC CCAT Rank - Which Centre you Should go for...

Subscribe us for our YouTube channel and any kind of help Click here to ask questions regarding CDAC 1. C-DAC (Head Quarters) Pune    CDAC's Admission Booklet- Process of Admission to Post Graduate Diploma Courses of C-DAC                         click below to know about the CCAT's This batch allotment                click above to know about the CCAT's This batch allotment Rank 1-300 c-dac HQ has been the best from the start. 2.  Sunbeam Pune Rank 300-500 I got very positive feedback from my friends who are in c-dac banglure main campus,since there are many companies you may get more opportunities. 3.  C-DAC Knowledge Park Rank 400-700 It as very good faculty .Almost all the students get placed here every year. 4. C-DAC Hyderabad Rank 200-1000 (It depends on the course which you select) C-DAC hyderabad is very good for the course PG-DESD. PG-DESD course is in hyderbad is better than pune HQ as per the past feedback.It as v

CDAC COURSES AND PLACEMENTS, WHICH IS BETTER FOR YOU

Subscribe us for our YouTube channel and any kind of help   Click here to ask questions regarding CDAC Before going through this post, I would like to draw your attention towards the importance of this post. This page not only explains my experience in CDAC but also aims at answering the queries of you all who are going or looking to have a course from CDAC. Kindly post your queries at the bottom of this page and we will get back to you within 24 hours. Kindly do not post your queries as an Anonymous user and do not forget to subscribe via email so as to keep track of your query.                         click below to know about the CCAT's This batch allotment                 click below to know about the CCAT's This batch allotment ______________________________________________ NOW a day lot of the graduates and post graduates are wondering most of the times on which course they should go for. What are the pros & cons of joining a particular ce

Placement Statistics - 2011 & 2012

Subscribe us for our YouTube channel and any kind of help                          Post your queries below and we will get back to you in no more than 24 hours.  Click here to ask questions regarding CDAC                         click below to know about the CCAT's This batch allotment                     click above to know about the CCAT's This batch allotment CDAC's Admission Booklet- Process of Admission to Post Graduate Diploma Courses of C-DAC Click here to see placement statistics About C-CAT, Exam Pattern and Books No. of Seats Across Various Training Centres Important Dates - 2014 Tags: CDAC, CDAC scope in future, CDAC placements, CDAC training, CDAC recruitment, CDAC training centres, DSSD, DESD, DAC, PGDSSD, PGDESD, PGDAC, DABC, PGDABC, VLSI, PGDITISS, PGDIVESD, PGDESD, PGDWiMC, placement statistics