/nfcbookscanner

Demonstration Android app for reading NfcV (ISO 15693) tags

Primary LanguageJavaMIT LicenseMIT

NFC Book Scanner is a demonstration app for reading NfcV (ISO 15693) tags (known as just "RFID tags" in the library world) with your Android phone, and parsing the 32 bytes of "userdata" (the 8 first blocks) according to the "Danish library model", to get the item identifier (barcode), owner library code (International Standard Identifier for Libraries, ISIL), country code and AFI status (checked in / out). Additional information about the book is found by sending the barcode to a web service retrieving info from the library catalogue.

Only reading tags is demonstrated, but writing could easily be implemented as well using the same android.nfc.tech.NfcV.transceive method used for reading. The necessary ISO 15693 commands can be found in for example 11-06-26-009 : TRF7960 Evaluation Module ISO 15693 Host Commands.

To import this project into Eclipse/ADT, use File→Import…, and then either Android→Existing Android Code Into Workspace to add your local copy or Git→Projects from Git to grab it right off GitHub.

Update: The project has been rewritten to work with Android Studio.

If you clone the repo from the command line, remember to fetch submodules:

git submodule init
git submodule update

Screenshot