Quantcast
Viewing all articles
Browse latest Browse all 64

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 all articles
Browse latest Browse all 64

Trending Articles