Phonegap version of dtp