integrate with mobile phonegap