Accelerometer

The goal of this script is to demonstrate the usage of accelerometer.
The orientation specification can be found here.

Device motion

Device orientation

MOZ orientation