Mark Allison

Android NFC: Launch Activity

Mark Allison | Jun 04, 2018

Android NFC - Reading/Writing (Part 1)

NFC or Near Field Communication is a protocol that helps two devices communicate wirelessly when they are placed right next to each other—for instance, smartphones or smart watches can be used for payments or boarding passes.

In this series, we’ll look at how we can read data and write data to and from NFC tags. It will be split in to 5 individual screencasts:

1. Launching an Activity when a specific tag is detected by the device
2. Parsing and understanding the tag payload
3. Using Foreground dispatch to assume control of NFC detection
4. Writing data to a tag
5. Using Android Application Record to lock a tag to a specific app

Theses casts will build from a completely blank app to a simple app capable of reading and writing tags and will require the user to complete the steps in order and the concepts covered will slowly build throughout the series.

In the first screencast of this series we’ll cover the basics of NFC tags introducing NDEF and the Android tag dispatch system. We’ll look at how to add an intent-filter to the Manifest entry for a given Activity to enable that Activity to be launched when a matching tag is detected by the device.

For the More Curious...

Android NFC

Subscribers Only

Transcripts are for subscribers. Create an account today to access our collection of screencasts, skill packs, and more.

Subscribers Only

Project files are only available for subscribers. Create an account today to access our collection of screencasts, skill packs, and more.

Need Help?

If you get stuck, try starting a discussion with Big Nerd Ranch experts in the community tab.

Skill Pack

This screencast is part of a skill pack called Android NFC.

Related Screencasts

Explore other screencasts related to this topic.