A sample plugin for PhoneGap use.