Android compass example does not seem to work in landscape mode
问题 I have developed a compass based on this example: http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/graphics/Compass.html Since my app only operates in landscape mode so will the compass. However, it seems as this code does not function correctly in landscape mode. North points more towards east. If i run the Android example code I get the same issue. Has anyone else noticed this and even better does anyone have a solution? By the way, I am testing this on a