Apache Cordova (PhoneGap) plugin