NFC Music Box With an Old Android Phone: Tap a Card, Play a Playlist
An old Android phone can play a playlist when a child taps a card. The catch is the player app: Spotify is unreliable with tags, so test one card first.
Can an old Android phone be an NFC music box?
Yes. A spare Android phone with a working NFC chip can start a playlist when a child taps a card on its back. The weak link isn't the phone or the card. It's the player app, since some apps ignore what a tag asks them to play. For the general build, including a Raspberry Pi option, see our screen-free NFC music box build. This guide covers only the old-Android-phone version and its limits.
What the old phone needs
Three things: an NFC chip, NFC switched on in Settings, and a charger that stays plugged in. Android looks for tags while the screen is unlocked, so the phone must be awake and unlocked when a card is tapped. A phone sitting on its lock screen won't read the card.
Install the player app and open it once by hand. From Android 17, the system will not send NFC intents to an app that has never been launched or was force-stopped. From Android 16, Android also tells you the first time an app receives a tag scan and lets you block it. If a card stops working, check Settings > Apps > Special app access > Launch via NFC.
Pick a player that accepts a tag
This is where most builds stall. Reports from Spotify's community forum and one well-read developer blog paint an unreliable picture on Android:
- An https Spotify link on a tag opens in the browser.
- A spotify: album URI opens the Spotify app, but on its home page.
- Users who wrote the URI of an album's first track say the album opens but does not play.
- Tasker users report Spotify opening and playing the current queue instead of the chosen playlist.
These are user reports, not Spotify documentation, and they depend on app versions. Write one card, tap it, and see what your phone does before you make ten.
A local music app that accepts a file or playlist link is the steadier choice, since nothing has to log in or stream. If you already run Home Assistant, its Android app fires a tag_scanned event with the tag's ID, so a card can start any media player you have set up. If you would rather skip the build, how Yoto and Toniebox cards work explains the ready-made route.
Write the card
An NTAG213 sticker or card is plenty, since the record is short. Write a URI record that holds the playlist address as the first record. If you want the music app to open every time, add an Android Application Record with the app's package name as a later record. Android uses the first record to decide how to dispatch the tag, so the application record should not sit first unless it is the only one.
Avoid an https link where you can. From Android 16, tags that store a web link go through a link-opening path instead of the normal tag path, and Android 17 shows an "open link" notification that someone has to tap. You can't ask a child to do that after every card.
If a card will live in a pocket or near the bath, look at waterproof tags first. NFCore on Android can write and read these records, so you can check what a card holds before handing it over. You can find it on Google Play.
Keep it child-proof
Use app pinning so the phone stays in the player. Turn it on under Settings > Security > Advanced > App pinning, open the player, open Overview, tap the app icon and tap Pin. With pinning on, the PIN, pattern or password is needed to unpin, so keep that code to yourself. Menu names differ between phones, and some Pixel steps need Android 11 or later.
What an iPhone would change
An iPhone can read many tags, but it handles them differently from Android, and some tag types are out of reach. Our iPhone vs Android chart lays out the differences.
The short version
Pick a phone with NFC, keep it unlocked and charging, and pin the player app. Test one card with your actual player before writing the rest. If Spotify will not cooperate, change the player, not the card.
Frequently Asked Questions
Does an old Android phone need mobile service to work as a music box?
No. It needs a working NFC chip, power and a player app. Local music plays offline, while streaming needs Wi-Fi.
Why does my card open Spotify but not play the playlist?
Forum reports say Spotify's Android app often opens to its home page or the current queue when a tag points at it. Test your exact app version, or use a player that accepts a tag.
Will the card work on any Android phone?
Only if the phone has NFC and it is turned on. Android reads tags while the screen is unlocked.