Thursday, 18 December 2014

Orientation Sensors in Android .

* We avoided talking about orientation sensors until now because they were deprecated as of  Android 2.2 and you're not supposed to use them anymore. However,this sensor is very easy to use.

* The Orientation Sensor is actually a combination of the magnetic field and accelerometers sensors
at the driver level of Android.

* In other words,there is no extra hardware for the orientation sensor,but within the Android OS, there is code to expose these two sensors as if they were another sensor for orientation.

No comments:

Post a Comment