phonegap sample