Application obtains orientation, gyro, acceleration sensors data; draws coordinate frame that reacts to rotation around Z axis only.
Main screen displays sensors data and coordinate frame view.
Android developers documentation:
- Sensors overview - https://developer.android.com/guide/topics/sensors/sensors_overview
- SensorEvent - https://developer.android.com/reference/android/hardware/SensorEvent
- Sensor.TYPE_ORIENTATION - https://developer.android.com/reference/android/hardware/SensorEvent#sensor.type_orientation-: