Sample PhoneGap plugin