Example code for http://ccoenraets.github.io/cordova-tutorial/, with a branch for each step.