completed tutorial on: http://coenraets.org/blog/phonegap-tutorial/