Tutorial from: http://phonegap.com/blog/build/getting-started-with-phonegap-and-phonegap-build/