phonegap sample for learning/building