Back to guides

NFC at the Game Table with Android: Tasker Triggers for Game Masters

A game master's Android phone can run a different action for each NFC prop with Tasker. Here is how to write the tags, set the triggers and avoid the Android 16 and 17 surprises.

Published

Introduction

An Android phone can turn a tap on a prop into an action: a sound, a timer, a note on screen. For a game master, that makes it a quiet control panel. If you only want players to tap a tag and read a secret, start with our guide to loot, lore and secret doors. This guide is for the Android side: making the GM's phone react differently to each tag, with Tasker.

What happens when an Android phone meets a tag

Android has a tag dispatch system. It reads the tag, works out what the data is, and starts an app that has asked for it. For NDEF tags it looks at the first record in the message to decide how to treat the whole thing. The most specific path is ACTION_NDEF_DISCOVERED, then ACTION_TECH_DISCOVERED, then ACTION_TAG_DISCOVERED as a last resort. If two apps claim the same tag, Android shows an app chooser. That's the last thing you want mid-scene.

Phones usually look for tags only while the screen is unlocked (and not at all if NFC is off in Settings). Keep the GM phone unlocked at the table, with a generous screen timeout.

Pick tags and write them so Tasker can match

Use short plain text records as the first record on each tag, such as loot-chest-3 or door-cellar. Tasker reads only the first record of a tag, so the identifying text has to be there. Tasker's developer said so in a user forum thread in 2021.

A naming scheme pays off. Tasker's simple matching accepts wildcards, so loot-* can cover every treasure tag in one profile while door-cellar stays unique. For tag sizes and what fits where, see NTAG213, 215 and 216. If a tag will ride in a pocket, a dice bag or a damp dungeon crawl, read up on waterproof tags.

You can write the tags with NFCore on Android: Google Play.

Set up one Tasker profile per prop

In Tasker, create a profile and choose Event, then NFC Tag. Tap the magnifier next to ID and scan a tag: Tasker fills in a unique code for that tag. Leave the ID blank and the profile fires for every tag, which means every tag does the same thing. Matching by tag data with a wildcard is the alternative when you have many tags that share a job.

Then attach a task. A few ideas that suit a table:

  • A tavern tag that starts an ambient sound loop.
  • A trap tag that starts a 60 second countdown on the phone.
  • A clue tag that shows a note or a map on screen for you to turn toward a player.
  • A "scene over" tag that stops the sound and restores the volume.

The Tasker starter guide covers the basics of profiles and tasks if you have not used them before. Test each tag once before game night.

What changed on Android 16 and 17

Android 16 changed how tags that store web links are handled. A tag holding an http or https address now triggers ACTION_VIEW instead of ACTION_NDEF_DISCOVERED. From Android 17, scanning such a tag shows an open-link notification that needs a tap. For automation, that is one more reason to keep GM tags as plain text.

Two more changes matter. Android 16 tells users when an app receives its first NFC intent and lets them disallow further tag scanning for that app (Settings, Apps, Special app access, Launch via NFC). And from Android 17, the system will not dispatch NFC intents to apps in a stopped state, such as one you never opened or force-stopped. Open your tools once before the session.

What an Android phone can and cannot read

Most prop tags are NTAG chips, which every NFC phone reads. Game cards and figures vary more. Our iPhone vs Android chart lists what each phone reads, and the guide to toys-to-life tag types covers amiibo, Skylanders, Disney Infinity and LEGO Dimensions.

MIFARE Classic is the usual stumbling block. Android lists it as optional for a phone to support, and in practice reading and copying it works only on phones with an NXP NFC chip, with default keys or a key you enter. An iPhone cannot read it at all (why). NFCore can read and check amiibo, but it cannot make working ones. If you ever copy a tag, copy only tags you own, for personal backup, and respect the game maker's terms.

Bottom line

Write plain text on each tag, match it in Tasker, keep the GM phone unlocked and open your tools before the session. One tap, one action, and the table keeps its rhythm.

Frequently Asked Questions

Can Tasker tell my NFC tags apart?

Yes. The NFC Tag event can match any tag or one specific tag, using an ID you fill in by scanning it. Matching on the text you wrote to the tag works too, with wildcards for groups of tags.

Why does my web-link tag behave differently on a new phone?

From Android 16, tags that store http or https links open through a view action instead of NDEF discovery. From Android 17 they show an open-link notification first. Use plain text records for automation.

Do players need Android too?

No. Only the game master's phone needs Tasker. Players can tap a tag that stores a plain link or text on any recent phone.