Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Q] NFC similar to car dock

OP husker_fan

22nd January 2014, 03:31 AM   |  #1  
OP Junior Member
Thanks Meter: 1
 
7 posts
Join Date:Joined: May 2012
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.
24th January 2014, 05:42 AM   |  #2  
hollywoodfrodo's Avatar
Senior Member
Flag Long Beach
Thanks Meter: 141
 
152 posts
Join Date:Joined: Mar 2011
More
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.
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes