Android Open Source - Sensor magnetic OrientaionSensor






Project Summary

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..

Web Site / Source Repository

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.

Project Detail

The following table is the detailed list of OrientaionSensor.

ItemValue
Java File Count2
Minimum SDK Version8
Activity Count1
jar files usedandroid-support-v4.jar




Java Source Files

OrientaionSensor has the following Java source files.

com.customc.orientaionsensor.MainActivity.java
com.customc.orientaionsensor.OrientationSenor.java