This is a class which is used to sense the android device orientation. This class makes use of Sensor.TYPE_ACCELEROMETER and Sensor.TYPE_MAGNETIC_FIELD to determine the device orientation..
OrientaionSensor is hosted in the following web site
https://github.com/yog9190/OrientaionSensor
If you think the Android project OrientaionSensor listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
The following table is the detailed list of OrientaionSensor.
Item | Value |
---|---|
Java File Count | 2 |
Minimum SDK Version | 8 |
Activity Count | 1 |
jar files used | android-support-v4.jar |
OrientaionSensor has the following Java source files.
com.customc.orientaionsensor.MainActivity.java com.customc.orientaionsensor.OrientationSenor.java