Phonegap utilities