Phonegap Sample Plugin