views:

20

answers:

0

Hi,

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 Nexus One. Not sure if this is a phone related issue.

Best regards

P