Part 13 of http://coenraets.org/blog/phonegap-tutorial/ done