This project hosts the API for interacting with the ACS NFC Reader Service found at Google Play. It contains
- Java API files for integration via broadcasts, and an
- Android client which demonstrates actual usage
Currently the readers
are supported and must be connected to your Android device via an On-The-Go (OTG) USB cable.
Mifare Ultralight and Mifare Classic tags are supported. NTAG203 also work. I recommend Mifare Ultralights or NTAG203. If you need some tags, get some at RapidNFC.
The API defines actions and Intent extras for interaction with the service.
- Service started/stopped
- ACR NFC Reader opened / closed - triggered by connects / disconnects via USB
- NFC Tag scans
The demo client keeps track of the service states and displays NDEF messages from tags scanned by the ACR NFC Reader.
Detecting tag presence, type and id are free features.
Reading and writing NDEF messages are premium features. This API should speed up NFC development considerably, so consider going premium.
Does the ACR reader not light up when connected to your device, even after the service asks for USB permissions? The ACR reader shuts down if there is not enough battery, so try charging your battery more. Please report any issues.
If you need professional help with an NFC project, get in touch. A more advanced API is available upon request.