Learning how to use phonegap