5,814,720 Members 52,056 Now Online
XDA Developers Android and Mobile Development Forum

[Q] NFC similar to car dock

Tip us?
 
husker_fan
Old
#1  
Junior Member - OP
Thanks Meter 1
Posts: 7
Join Date: May 2012
Default [Q] NFC similar to car dock

Is there a way to set up an NFC to act similar to the original droid 1 dock with the magnets? So that when its at the NFC certain things happen, but then when it's taken away from the NFC it reverts back to how it was before being at the NFC.
 
hollywoodfrodo
Old
#2  
hollywoodfrodo's Avatar
Senior Member
Thanks Meter 140
Posts: 143
Join Date: Mar 2011
Location: Long Beach
There's no simple way. NFC Tags are by nature passive - when your phone's battery's magnetic field comes into contact with the tag, the tag is triggered by a quick burst of power. It happens only once - if you remove the magnetic field, then place it back again, it triggers again. There have been a few custom ROMs that allowed what you're looking for by constantly/actively checking for the NFC tag.

Otherwise, I don't know of anyway to do it. In theory, an app should be able to check periodically (like every minute or two) to see if the nfc tag is still in contact with the phone and once it's not, trigger reverting back. But I don't know of any app that has built that in yet. Plus it might have battery drain implications.
Watch my Android App Reviews, Tasker 101 Tutorials, & Product Reviews on my YouTube channel here: http://www.youtube.com/user/hollywoodfrodo

Check out my Android Themed NFC Sticker & Tag Store AndyTags here: http://www.andytags.com

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes