Read and Write NFC Tags with PhoneGap
The phonegap-nfc plugin allows you to read and write NFC tags from a PhoneGap application using JavaScript. The plugin originally supported Android. The latest release adds support for Blackberry 7.0. After installing the plugin into your PhoneGap app (See README) it is easy to start scanning tags. Create a function that will handle the NFC events. function onNfc(nfcEvent) { // display the tag as JSON alert(JSON.stringify(nfcEvent.tag)); } Create the optional success and failure callbacks. These callbacks are for success and…