Phonegap Device Sample Application