[Q] Is this possible using nfc? - NFC Hacking

First off I'm new to NFC tags and programming them. I was wandering if it would be possible to program a nfc tag in a manner that when I swipe it it would record the following things:
First swipe=current time, date and the address of the location the tag is at.(I would like to have the actual address of the location, not the geolocation)
Second swipe= current time date.
Basicly it would be a time in and time out, if I understand right I would basicly have to create a switch.
I would like it to send the information to either a calander of perferably a spread sheet.
Is something like this possible, and any idea what size nfc tag I may need.
Thank you in advance for any help,
Sean

That's not REALLY an NFC question, because basically like you said the NFC part is just - "Can you make an NFC Switch/Toggle tag?" The answer to that is yes, with the right NFC App. I recommend NFC Smart Q.
The stuff you want to do is about having an app do all that - probably Tasker would be best. Date, Time, and Geolocation I'm sure it can do. But specific address... not so sure about that.
Anyway, with the Tasker URL Launcher plugin app from the play store you can use a URL to launch a task. So you'd create two task - one to do the date, time, location and a second to do date/time. Then using NFC Smart Q you create a switch tag - have the first command be the URL to launch the first Tasker Task and the second to launch the second.
You'd have to ask in a Tasker forum about being able to get exact address, but my guess is it can provide geolocation only...

there is more than enough SPACE in the tags themselves to store the address just write it into the tag. the trick would be recording the time/date and linking it to the stored address.

Related

[APP] Locale/Tasker NFC Plugin

About the app
This is a plug-in for Locale and Tasker that extends them with NFC-functionality. It works by reading the UID (Unique Identifier) of a tag. Actions can then be associated with this UID and will be executed when the tag is scanned.
This allows you to reuse old discarded NFC-tags/cards that you might have lying around. Maybe you have some old access-cards or commuter-cards that you can use. It currently supports all NFC-standards that are supported by the Android system.
How to use it
Add a new situation
Add a new condition
Choose Locale NFC Plugin
Scan the tag
Add settings of your choice
You have now registered the tag with the phone and associated it with the desired actions. The next time you scan the tag the actions will be executed.
How do I get the app?
Please note that it's only a plug-in so you MUST have Locale or Tasker already installed on your device for it to work!
Follow the link to Google Play Store
Or scan the QR-code with your phone.
I'm happy to answer any questions that you might have.
reserved
reserved 2
I was under the impression tasker already had this functionality built in?
Evostance said:
I was under the impression tasker already had this functionality built in?
Click to expand...
Click to collapse
What I know Tasker dosen't have this functionality built in. At least I haven't been able to find it. However I do believe that NFC Task Launcher + Tasker makes a similar combination.
The difference between Locale NFC Plugin + Tasker and NFC Task Launcher + Tasker would be that, with NFC Task Launcher you will have to write to the tag what it is that the phone should do once the tag is scanned. This means that you will have to buy tags that you can write to.
With Locale NFC Plugin you won't have to write anything to the tag. Hence you can reuse old NFC-tags/cards that you might have lying around.
Edit: strike the following as it's now showing as compatible (now purchased!). Not sure what happened but it's all good now.
Market / Play Store says it's not compatible with my device - a GSM GNex running AOKP (4.0.4 / build 32) and Franco kernel #135. I'm guessing your plug-in appears for devices that haven't been messed around with quite so much? It sounds very handy!
Advertising of paid apps is only allowed in the Paid Software Announcement and Discussion forum.
Please read the forum rules and any relevant stickied threads before creating any new posts.
Forum & Marketplace Rules

Tasker/Locale NFC Plugin

I just purchased this plugin to use with Tasker:
https://play.google.com/store/apps/....&purchaseButton=9yzEcX63VIYisA_oRMh13HqYUXs=
Seems to work ok, but ever time it scans my NFC tag it pops up a dialogue asking if I want to "Activate NFC condition" or "New tag collected". I just want it to kick off the action in Tasker without any dialogue. Anyone have experience with this plugin, or should I use something else?
Nevermind... got it working with NFC ReTAG FREE. Works great! Don't mess with the app I posted a link to above, it's a pain to use.
Glad you like NFC ReTag ;-)
For any questions: http://forum.xda-developers.com/showthread.php?t=1477138
kimboinatl said:
I just purchased this plugin to use with Tasker:
https://play.google.com/store/apps/....&purchaseButton=9yzEcX63VIYisA_oRMh13HqYUXs=
Seems to work ok, but ever time it scans my NFC tag it pops up a dialogue asking if I want to "Activate NFC condition" or "New tag collected". I just want it to kick off the action in Tasker without any dialogue. Anyone have experience with this plugin, or should I use something else?
Click to expand...
Click to collapse
Hi kimboinatl!
I'm the developer of the NFC plugin for Locale. The reason why this chooser pops-up is because there are multiple apps on your phone that can handle the NFC-tag that was scanned.
This can be solved by either disabling the other apps that the NFC scan action can choose from or you can create a unique tag following this guide.
I'm glad that you have been able to solve your needs with NFC ReTAG.
May I ask what it is that makes it a pain to use ? The feedback is greatly appreciated so that I might make it more pain free for other users.
Kind Regards
m3llon
m3llon said:
Hi kimboinatl!
I'm the developer of the NFC plugin for Locale. The reason why this chooser pops-up is because there are multiple apps on your phone that can handle the NFC-tag that was scanned.
This can be solved by either disabling the other apps that the NFC scan action can choose from or you can create a unique tag following this guide.
I'm glad that you have been able to solve your needs with NFC ReTAG.
May I ask what it is that makes it a pain to use ? The feedback is greatly appreciated so that I might make it more pain free for other users.
Kind Regards
m3llon
Click to expand...
Click to collapse
Hey m3llon,
I think the the problem was getting rid of the popup. Typically when there are multiple apps that can be launched from an action my phone gives me the option to select a default, but I couldn't do it in this case. I spent a while trying to figure out how to disable the popup, or if there was another app that was causing this, and had no luck, so I ended up uninstalling it. If there was a way to specify what the default action was I probably would have kept the plugin. Sorry if my feedback sounded a bit harsh, I was just grumpy after not being able to get it to work the way I wanted it to. Thanks for checking in with me about it, I appreciate the work you have put into it.
kimboinatl said:
Hey m3llon,
I think the the problem was getting rid of the popup. Typically when there are multiple apps that can be launched from an action my phone gives me the option to select a default, but I couldn't do it in this case. I spent a while trying to figure out how to disable the popup, or if there was another app that was causing this, and had no luck, so I ended up uninstalling it. If there was a way to specify what the default action was I probably would have kept the plugin. Sorry if my feedback sounded a bit harsh, I was just grumpy after not being able to get it to work the way I wanted it to. Thanks for checking in with me about it, I appreciate the work you have put into it.
Click to expand...
Click to collapse
Ok thanks for explaining what the neusens was. That have been fixed in the last update together with the workarounds that's linked in the app description.
Good luck with your future NFC endeavours
Sent from my Galaxy Nexus using Tapatalk 2
Just in case anyone else has issues with the popup, I find that using non-formatted tags doesn't produce a popup. Once the tag is formatted, or if you buy them preformatted, it doesn't look like it can be UNformatted though (wiped, yes.. but not unformatted)
When I first got my GS3 and started scanning everything possible, I found that some tags would produce the popup discussed (despite having no other nfc apps installed), and others wouldn't.. I ended up realising that unformatted tags don't produce the popup.
I ended up using the Tasker/Locale NFC Plugin as I didn't want something else running all the time when I had Tasker for that - and since the plugin uses the serial number (or what I assume is a serial number - it's different on each tag) rather than what's written on the tag itself, there's no need to format it - Same would apply with NFC ReTAG.
So as long as any tags are unformatted, you should be good to go.
So I bought the plugin and wrote the bad://access/developer URL to one of my tags. I scan it and Locale reacts accordingly.
But then what? Locale is in that situation forever.
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
Trinition said:
So I bought the plugin and wrote the bad://access/developer URL to one of my tags. I scan it and Locale reacts accordingly.
But then what? Locale is in that situation forever.
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
Click to expand...
Click to collapse
Yes, you will have to scan another tag to exit the situation.
For using Tasker with NFC Tags I like Tasker URL Launcher the best. Once installed you simply write a short URL that ends with the name of your Tasker Task to a tag then anytime you tap that tag it intiates that Tasker Task.
I did at one time have issues with those pop-ups (new tag collected) and through much searching found that I needed to disable a system app on my Galaxy S3 called "Tags". It wasn't there on ICS, but was after the update to Jelly Bean so not sure if it's something Android added into JB and not sure why they would or what it's purpose is, but disabling it fixed the annoying pop-up issue and has had no affect on reading/writing tags with various apps.
Kaibosh said:
Just in case anyone else has issues with the popup, I find that using non-formatted tags doesn't produce a popup. Once the tag is formatted, or if you buy them preformatted, it doesn't look like it can be UNformatted though (wiped, yes.. but not unformatted)
So as long as any tags are unformatted, you should be good to go.
Click to expand...
Click to collapse
They can be unformatted. Using NFC TagWriter by NXP (which I LOVE), you choose Tools > Clean. This resets the tag to factory default (unformatted). NXP manufactures the Xperia tags, they make nice products.
dragon_76 said:
They can be unformatted. Using NFC TagWriter by NXP (which I LOVE), you choose Tools > Clean. This resets the tag to factory default (unformatted). NXP manufactures the Xperia tags, they make nice products.
Click to expand...
Click to collapse
Thanks for that.. That definitely wasn't the case when I wrote the post as I'd tried with numerous apps (including NFC Tagwriter, which is also my go to app for writing) and using the Clear option left the tag wiped, but did not leave it in the same state as prior to formatting.
Also, the developer of the app implemented a direct url that could be written to the tags so that only this app is launched - so the need for unformatted tags (when using this app at least) is somewhat moot.
I have this app and I must say it makes building tasks extremely tedious.
If you want to scan the same tag twice, you have to put an action in your task to disable the first task after the first one is done and then put a disable of the task you are running in the second task.
Also, both need to run as exit tasks.
It would have helped if the dev used some better logic and came up with exit tasks on repetitive scan
Sent from my DROID RAZR MAXX HD
dragon_76 said:
They can be unformatted. Using NFC TagWriter by NXP (which I LOVE), you choose Tools > Clean. This resets the tag to factory default (unformatted). NXP manufactures the Xperia tags, they make nice products.
Click to expand...
Click to collapse
You can also use the app StartNFC Expert to "unformat" a tag. It's a great simple app for formatting/unformatting and testing tags and seeing what types they are etc.
It's extremely disappointing they the developer has completely abandoned this plugin.
Solution
Hello !
A solution I found to avoid this popup :
- Scan a tag (popup appears)
- Long press on the unwanted app
- Choose disable
- Enjoy the plugin
You can also go to your apps list and search "tags" and disable it
Hopefully pent does something with NFC in the next version of Tasker so we can be rid of this unsupported plugin.
Sent from my Nexus 7 using Tapatalk
Hoping someone is still using this plugin and can answer my question...
Do I have to have two tags if I want an on / off tasks? For example, I have hue lights and I would like to turn off the bedroom light on / off with the same NFC tag but not sure if that is possible
No.. Just use the check box for repetitive scan
Ignore: Haha I accidentally posted in the wrong thread.

[Q] About NFC tags

Hi,
I am a proud new owner of galaxy nexus, and I want to buy an NFC tag.
Question is, is there any specific type of nfc tag that I have to buy for it to work with my phone?
P.S. This is my first post and I just registered a couple of minutes ago, that video was pretty hilarious.
http://forum.xda-developers.com/showthread.php?p=21447200
good day.
the thing is, I am in Australia and I would like to buy it from Australia for faster shipping, I read through that topic you sent me, and people mention about tagstand which is in US.
so in general, does any type of NFC work? or is there any specific criteria that I have to look on before I buy it?
You can also use old or not editable tags with an app called NFC ReTag. I use my student card for silent-settings
The tags have a certain amount of memory, but I can't tell you how much you need. Stuff like "set Wifi on, GPS off, vibrate only" won't need much so any tag will be fine.
I was able to write and read all of the tag types included in the starter kit from tagstand using "NFC Task Launcher". So if you note the tag types included in the kit and find them elsewhere, you should be good to go. One thing to note is the amount of storage each one provides. The smaller ones won't hold complex multi-step operations.
One other caveat is that my phone is the Google Play US GSM version running 4.0.4. I believe older versions of the OS may have had problems with some tags. Good luck!
Regarding tag size -- if you have both NFC Task Launcher and Tasker, you can create a Tasker task of any size/complexity, and use NFC Task Launcher to launch it. The benefit of this is you can use the smallest size tag with an arbitrary sized task. The drawback is it will only work on your phone, another person's phone won't be able to utilize it unless he too has the Tasker task setup.

Inventory Management with NFC

I am an IT consultant and would like to figure out a way to log systems as they are visited for maintenance with NFC tags. I figure what better way than to simply put NFC tags in\on the machines and simply tap phone or tablet to it to log it as serviced. So here are my questions
Is there any way to program the tags with specific ID's for each system?
Is there software that will track these things?
What apps would be best for this kind of use?
I would love to know about this as well .
I know that u can use a phone with a bluethooth serial code reader and manage inventory that way...but NFC is much better in my opinion
Sent from my SAMSUNG-SGH-I717 using xda app-developers app
Inventory
I did this with QR and Bar codes although a bit archaic i would also like to explore this option further
nerdslogic said:
I am an IT consultant and would like to figure out a way to log systems as they are visited for maintenance with NFC tags. I figure what better way than to simply put NFC tags in\on the machines and simply tap phone or tablet to it to log it as serviced. So here are my questions
Is there any way to program the tags with specific ID's for each system?
Is there software that will track these things?
What apps would be best for this kind of use?
Click to expand...
Click to collapse
rixking said:
I did this with QR and Bar codes although a bit archaic i would also like to explore this option further
Click to expand...
Click to collapse
I'm no IT or inventory expert, but going along with your idea of QR codes, I did notice that the NXP TagWriter app has an option to convert QR codes into an NFC data set and store it on an NFC item. With that in mind, you could take your existing QR codes, scan and convert them into NFC tags. I'm not sure if scanning the tag would bring
I think another potential option is to store the barcode number as plain text, which can also be done within the NXP TagWriter app.
Note, you'll have to enable professional mode from the preferences before the QR and plain text options will appear.
nerdslogic said:
I am an IT consultant and would like to figure out a way to log systems as they are visited for maintenance with NFC tags. I figure what better way than to simply put NFC tags in\on the machines and simply tap phone or tablet to it to log it as serviced. So here are my questions
Is there any way to program the tags with specific ID's for each system?
Is there software that will track these things?
What apps would be best for this kind of use?
Click to expand...
Click to collapse
i'm off the IT line for a long time already, php was the last thing i did. But some simple ideas pop-up. since its not out there, than built it sort of thing.
Is there any way to program the tags with specific ID's for each system?
yas, just use tagwriter and write tags with http address and an id at the end.
Is there software that will track these things?
local web server to catch input, ruby or php are simple enough. since you must have already registers an id for a tag for the job.
tags that have a web address and an id will be enough to do tracking. reports are printed from a computer anyway.
What apps would be best for this kind of use?
stock browser.
can do same thing with QR code.

Write NFC tags that do not require other users to have the app used to write the tag.

I have a done a bit of looking but all I've come up with is mainly 'use trigger' or something like it. But my question is: Is there a way with Trigger to write a tag that anyone can read? Or is there another NFC tag writer app that I should use?
The thing I want to do is make a tag for friends to tap when they call over that will connect them to my wifi network, but if they have to go and download trigger first then no one is going to use my tag.
Sorry if this is a re-posted question, I looked and didn't see it anywhere here and when I put the title in there was no recommended threads that had what I was asking.
I've tried different apps, and it looks like connect to wireless is not one of the default actions that is included in Android. I've only found connect to bluetooth.
Hi, you can use NFC Tools for that.
All records on "write" tab is compatible with other NFC device.
daniel_loft said:
I've tried different apps, and it looks like connect to wireless is not one of the default actions that is included in Android. I've only found connect to bluetooth.
Click to expand...
Click to collapse
I am new to NFC and I am a little confused about what NFC can do. I have the nfc-tool App and I can read many NFC tags that I have.
But for an Android phone with NFC support, without installing any 3rd party App, what can it do? Is NFC enabled by default? Are there native NFC apps that can trigger action, open URL, etc?
Also, since each NFC tag already has a unique identifier, it seems to me writing data to NFC tag isn't all that useful when only 1 phone is using it. As you could have just programmed the command to the phone. The same applies to multiple phones if you can program the phones through some other means. Am I missing something here?
As I was saying, looks like what you want is only possible in Android L.
Have a nice day!
nookin said:
I am new to NFC and I am a little confused about what NFC can do. I have the nfc-tool App and I can read many NFC tags that I have.
But for an Android phone with NFC support, without installing any 3rd party App, what can it do? Is NFC enabled by default? Are there native NFC apps that can trigger action, open URL, etc?
Click to expand...
Click to collapse
Android has native build-in support for some simple standard NFC activities, like reading a messages/contact, open URL/URI, launch application etc. .For more sophisticated activities you will always need an app to parse the tag content and handle the activities.
Also, since each NFC tag already has a unique identifier, it seems to me writing data to NFC tag isn't all that useful when only 1 phone is using it. As you could have just programmed the command to the phone. The same applies to multiple phones if you can program the phones through some other means. Am I missing something here?
Click to expand...
Click to collapse
yep, fully agree. Have a look at NFC ReTag
ascsa said:
Android has native build-in support for some simple standard NFC activities, like reading a messages/contact, open URL/URI, launch application etc.
Click to expand...
Click to collapse
I'm a newbie here. I have a phone running 4.2.2. How do I make it read an NFC tag and take action without installing additional app? Just tap?
So I finally found an official NFC tag in mall. When I place my phone on it, it asks me to choose between stock Browser and Chrome. I guess if I have already chosen a default, it will just open a webpage. Now I wonder if there are security concerns. What if the URL is malicious? What if it downloaded a lot of data when the user is roaming?
I wonder what other functions an NFC tag can trigger without installing additional Apps? If I buy writable NFC tags, like the Samsung TecTiles, can it be programmed just like the mall NFC tag?

Categories

Resources