Learning phonegap based on http://coenraets.org/blog/phonegap-tutorial/