If you use an analog clock, you can use the instructions below to compose the compass.
This can be used to “calibrate” the compass, and when you move the phone, the accelerometer stays north.
Obviously, this is not super accurate ... "low-tech solution to a high-tech problem"
(instructions taken from http://www.qwerty.co.za )
In the northern hemisphere, place the clock on an even piece of land, point clockwise in the direction of the sun. The North-South line is again a line dividing the angle between the clockwise and the 12-hour line in half.
In the Southern Hemisphere, place the watch on an even piece of land, point the number 12 in the sun. The North-South line is the line dividing the angle between the clockwise and the 12-hour line in half.
rjstelling
source share