Phonegap generation