sample phonegap