Introduction - If you have any usage issues, please Google them yourself
This code accesses sensors on your Android device. The sensors accessed are: accelerometer, compass (magnetometer) and gyroscope. The compass and gyroscope is integrated to provide orientation of your Android device through the usage of magnetic thresholds.