Android Pitch and Roll Issue
问题 I am working on a tilt app for Android. I am having an issue with Portrait & landscape mode. When the pitch = 90 degrees (phone on end) and even slightly before the roll value goes crazy when there has been no physical change in roll. I have not been able to find a solution to this problem. If anyone can point me in the right direction, it would be appreciated. Here’s a short code dump, so you know it is not an accelerometer error. final SensorEventListener mEventListener = new