I tried this example with N97 works well for different accuracy level, specially when the signal strength is best it shows accurate direction.

If I try this one with N8, the image rotates constantly (sensor gives signal constantly even when the signal is best). In N8 image constantly rotates. Does the magnetic sensor work as same like N97?