A little healthy joke is always welcome and NFC can help you with that.
We will simply write a troll-video URL into the tag by performing the following steps:
Open the application from the Visiting our website recipe in Chapter 4, Writing Tag Content – Real-life Examples, or any other application that allows us to write a URL to a tag.
Get a URL of a trolling video or image. I especially like the 10 Hour Video - Troll Song.
Write the desired URL to the tag.
Find your victim and make an excuse or set a trap for them to tap on the tag.
When we tap on a URL-formatted tag, Android will automatically open the browser without asking or prompting the user. This is the default behavior and allows us to rapidly navigate to a URL. In this recipe, we are taking advantage of the default behavior to troll our friends. Hope you have fun!