Detecting Android device movement in 3D space