Skip to content

entur/android-nfc-lib

Repository files navigation

Build Status Maven Central

android-nfc-lib

This project hosts tools for working with NFC on Android. Modules:

  • wrapper - wrappers for classes in the android.nfc package
    • for working with external and internal tags in parallel
  • core - various helpers for NFC support
    • abstract reader activities and Host Card Emulation services
  • external - basic support for external NFC readers
  • external-acs - support for ACS readers external NFC readers
  • external-minova - support for Minova MCR external NFC readers (over network)
  • external-websocket - support for interacting with a pool of external readers over websocket
    • add NFC support to devices without NFC chips (i.e. emulator / Android TV / certain tablets), and/or
    • programmatically interact with multiple cards/readers during testing, using fine-grained controls:
      • connect/disconnect reader
      • start/stop polling
        • trigger tag scans even if the card is statically placed on the reader

License

European Union Public Licence v1.2.

Obtain

The project is built with Gradle and is available on the central Maven repository.

Acknowledgements

This project includes some code from the following projects:

as well as drivers from ACS.

Troubleshooting

Publish

For local development (.m2)

./gradlew clean build publishToMavenLocal --info

For Maven central also add siging info.

./gradlew build publishToSonatype --info --stacktrace -Psigning.gnupg.passphrase=xxx -Psigning.gnupg.keyName=yyy

History

See CHANGELOG.

About

Library for working with internal + external NFC readers on Android

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •