I've been creating Compass for Android and I found several codes online but none of them provide example for smooth animation for the compass.
The url provided me the starting point in creating the compass..
http://android-er.blogspot.com/2010/08/simple-compass-sensormanager-and.html