Sample plugin for PhoneGap 3.0