Alex Rivera | Logout

Android I want to get rotation angle for device

Asked 2012-12-09T17:18:13.473
9

For example, I started application then device is turned 90 degree by side.I want to detect this event for each planes on device.

Edit
Report

1 Answer

0

I think you have to use the sensor manager to calculate x,y,z on every point. and use equation to find angle between two points. consider your starting points (0,0,0);

answered 2012-12-11T10:39:31.640

Your Answer