Example App: NFC Demo for Android with Kotlin
Finished demo app, implements the following NFC features for Android with Kotlin:
- Register for NDEF tags containing a URI / URL record
- Analyze the NDEF tag contents and print these into a list
- Handle NFC tags in app startup (intent delivered through onCreate()) and when the app is already running (onNewIntent())
- Set a pending intent for enabling foreground dispatch to read and analyze all NFC tags tapped while the app is running
To work through the tutorial in the blog post, download the starting app and then follow the instructions in the article. For a more visual guidance, check out the presentation slides.
Released under MIT License. See the LICENSE file for details.
Developed by Andreas Jakl
- More information about NFC & Android: https://www.andreasjakl.com/nfc-tags-ndef-and-android-with-kotlin/
- https://www.andreasjakl.com/
- https://twitter.com/andijakl