Quantcast
Viewing latest article 40
Browse Latest Browse All 110

Reflect device movements using SensorManager.

Registering as a SensorEventListener your Activity will receive in the onSensorChanged method on every event one of the device sensors trigger. This way you could remap the coordinate system of your application with appropriate rotation matrix.

Viewing latest article 40
Browse Latest Browse All 110

Trending Articles