android-location-and-magnetic-sensor Made from tutorial. Following this link : http://www.ssaurel.com/blog/learn-how-to-make-a-compass-application-for-android/ uses compass view as custom view. described in the link above