adaptations phonegap