Phonegap Device API Sample APP