added phonegap sample