In the past I mentioned an excellent set of beginner Phonegap tutorials, but one of the topics that was not covered was the compass. I came across a few examples, but there seemed to be issues with iOS devices.
So here’s a great iOS tested working compass example with a spinning face created with Cordova and jQuery Mobile that shows how easy it is to create an animated working compass.
Special Offer – Learn How To Create Mobile Apps With Phonegap – 42 Hours of Video At 75% Off – Click Here!
Here’s a quick video showing this Phonegap compass example in action:
This demo is by Troy Miles and you can read more about the example on Troy’s site, and can download the source on Github here.
A really nice example on using the compass that works great.