Will Verduzco · Jun 14, 2013 at 08:30 am

Activate Actions upon Removal of NFC Tags

Using NFC to launch actions or perform certain tasks when you tap your device on a tag is a pretty cool thing. In fact, it’s hardly something new, as we’ve even covered a few tools that let you do so easily. These past uses, however, rely on tapping a tag to perform an action. Wouldn’t it be useful for other use-cases if you could activate a task when removing a tag from your device? Just think; this could allow you to do things such as setting up an NFC-based alarm or both activating and removing settings changes when a tag is touched.

Thankfully, this is where XDA Forum Member madfish73 comes in. Similarly to the previously linked article, this functionality is accomplished using AnyTAG NFC.  However, it is actually a modified version of AnyTAG that is used in this guide, and a few modifications are made to your device’s NFC.apk to add in the android.nfc.action.TAG_LOST intent and enable tag removal detection functionality.

As described by the guide author:

What this mod can do?

after did this mod, with AnyTag(mod) + tasker + secure settings plugin + secure settings helper, you can:
1. put your phone on the “Bedside tag”, your phone turn to silence mod, take the phone off the tag, your phone auto turn off silence mod
2. put your phone on the “CarDock tag”, your phone auto unlock, turn to CarHome mode, run some special apps, take the phone off the tag, your phone auto kill some special apps, exit carhome mode, lock screen …
3. Other things you can image….

If you wish to learn more, you can get started by simply heading over to the original thread.


_________
Want something on the XDA Portal? Send us a tip!

Will Verduzco

willverduzco is an editor on XDA-Developers, the largest community for Android users. Will Verduzco is the Portal Administrator for the XDA-Developers Portal. He has been addicted to mobile technology since the HTC Wizard. But starting with the Nexus One, his gadget love affair shifted to Google's little green robot. He is also a Johns Hopkins University graduate in neuroscience and is now currently studying to become a physician. View willverduzco's posts and articles here.
Mathew Brack · Apr 1, 2015 at 05:51 pm · 4 comments

April Fools Round Up: The Year of Nostalgia

April Fools Day is once again upon us and as usual, tech companies everywhere have not failed to keep us entertained. With a trove of fantastic faux product launches and even some real product launches that were taken as April Fools jokes, people have been busy releasing their hilarious ideas. With many of these jokes being nostalgic and some even being functional it's easy to appreciate the spirit behind them. Samsung Galaxy Blade Edge In a reference to the Galaxy...

XDA NEWS
Tomek Kondrat · Apr 1, 2015 at 05:43 pm · 2 comments

Android 5.1 OTA for Nexus Round-Up

The beginning of April is dominated by April Fools. There are jokes and pranks everywhere, which are meant to fool people. This news is no joke though, as Google has pushed the shiny red button to send out over-the-air updates to supported devices. Well, sort of, as only a few of available Nexus devices got updates to Android 5.1. Here's a list of OTAs that can be downloaded and flashed by stock recoveries. You can find guides on how to revert...

XDA NEWS
Chris Gilliam · Apr 1, 2015 at 04:29 pm · 4 comments

Google’s Prank Roundup for April Fools 2015 [Updated]

Once again, we have arrived on the most magical of holidays - the annual unveiling of HalfLife 3, and day on which co-workers believe it is appropriate to duct tape air horns behind doors. I speak, of course, about April Fools Day. As has become their custom, Google launched lighthearted "pranks" for each of their various services (with other tech sites and vendors following suit), and we have done our best to round up the humorous products and tweaks surfacing thus far....

XDA NEWS
Share This