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.
Aamir Siddiqui · Jul 6, 2015 at 11:03 am · 1 comment

Root T-Mobile S6/Edge on 5.1.1 Without Tripping Knox

If you purchase phones from a carrier, you may be no stranger to the difficulties involved in rooting and installing a custom rom, recovery and kernel on such a carrier locked device. Add to this the extra layer of security that Samsung adds in the form of the Knox counter on its devices, and one can only imagine the roadblocks for enthusiasts who want to play around with their device without losing warranty in the process. It's a slippery slope...

XDA NEWS
Jimmy McGee · Jul 6, 2015 at 06:00 am · 4 comments

IonVR Coming Soon, HTC M9 Dev Edition Gets Android 5.1 – XDA TV

The HTC M9 Developer Edition has received Android 5.1. That and much more news is covered by Jordan when he reviews all the important stories from this week. Included in this week's news is the announcement of IonVR and be sure to check out the article talking about the OnePlus Cardboard price (Hint, it's free). That's not all that's covered in today's video! Jordan talks about the other videos released this week on XDA TV. XDA TV Producer TK released an...

XDA NEWS
Mario Tomás Serrafero · Jul 5, 2015 at 11:00 am · 5 comments

Sunday Debate: Which Factors Caused HTC’s Woes?

Join us in a fun Sunday Debate on HTC's situation. Come with your opinions and feel free to read some of our thoughts, then pick your side or play devil’s advocate to get your voice heard and engage in friendly discussion. You can read our food-for-thought or jump straight into the fray below!     HTC is underperforming, and there isn’t much of a way of denying this. In April, their revenue nearly declined 40%, plummeting after the HTC One M9 had...

XDA NEWS
Share This