[APP] Locale/Tasker NFC Plugin - Samsung Galaxy Nexus

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

Related

[APP] 6/12 NFC Task Launcher 3.6.1

I am consolidating threads. Maintaining several threads was getting to be too much. Please move to the new thread here with any new questions or comments: http://forum.xda-developers.com/showthread.php?p=34417369
Market Link: https://market.android.com/details?id=com.jwsoft.nfcactionlauncher
Application Site: http://www.jwksoftware.com/
Screenshots: http://www.jwksoftware.com/screenshots
Where to get Tags?
http://www.jwksoftware.com/nfc-tags
Features:
NFC Task Launcher uses the NFC Hardware and RFID/NFC Tags to allow you to create tags several types of tags, including a custom "Task" tag that will automatically execute tasks when read. See Site for full feature list.
If you do use and enjoy the app it is up in the Market as a paid app. Any purchases / ratings are appreciated as I have put quite a few hours into this expanding it to fill requests for functionality.
Change log:
6/12 Version 3.6
- GPS (Root needed)
- Mobile Data (Root needed)
- Display Timeout
- Fixed Airplane mode bugs
- Precision timer
- New languages
- Cloud backup and restore
5/9 Version 3.4
- UI updates
- Added German, Spanish and Korean
- Removed Italian as it is out of date
- All tags now save to "Your Tags". Recent shows the 5 most recently used
- Changed Tag limiting to uniquely track switch tags
4/19 Version 3.3
3.3
- Added Google Places support in Latitude
- Added Navigate to address support
- Added Auto-rotation
- Added write lock option when writing
- Added size to vCards
- Added setting to pause after launching an app (for launching multiple apps or launching and then interacting)
- Added notification when tags save when hitting finish
- Updated Tasker integration (should fix issues with HTC One X)
- Enhanced debugging to make bug reports easier
- Fixed condition where tasks would stop executing when wifi changed
- Fixed reported crashes and typo
Full: http://www.jwksoftware.com/change-log
If you'd like to see some functionality added feel free to make a request.
The APK linked below is free of the license check of the Market version and is fully functional for 7 days.
http://goo.gl/xBBOU
For anyone who decides to purchase the app after using the APK attached to the thread - un-install the free version first otherwise the market installation may fail.
Here's a few videos I made for a current demo:
Tag Demos
Car Dock Demo
Awesome. I'm gonna have to research this. Off topic but how much do those tags cost?
My mind is racing with ideas.... oh no
player911 said:
Awesome. I'm gonna have to research this. Off topic but how much do those tags cost?
My mind is racing with ideas.... oh no
Click to expand...
Click to collapse
They are pretty reasonable. If you check out the site I compiled a list of shops that I've tested. Usually $1.15 - 1.50 a piece for Ultralight C or Classic 1K tags.
Question for you guys with the nfc tags what have you done with them I like the idea of swiping my phone over a credit card scanner but what can be created with your own tags
Sent from my SCH-I510 using xda premium
Can't wait to try this. Already ordered the starter pack from tagstand. Looks like an amazing app. Will definitely buy as soon as I get my phone = ]. Thanks for the hard work.
@krohnjw
Can these tags be pre-defined and written into the software?
Was just thinking, you could be onto a winner here.
Set your program to know whats tags are, so say put a tag for a store. When someone scans it with your app, it auto checks them in at whatever app they have installed
Evostance said:
@krohnjw
Can these tags be pre-defined and written into the software?
Was just thinking, you could be onto a winner here.
Set your program to know whats tags are, so say put a tag for a store. When someone scans it with your app, it auto checks them in at whatever app they have installed
Click to expand...
Click to collapse
The instruction set is encoded on the tag. Any user with the app that scans the tag will see the same actions performed. It makes no calls back to any server or outside service.
Sent from my Nexus S using xda premium
Ah ok, makes sense. How do you code the tag though?
Sent from my iPad 2 using Tapatalk
Evostance said:
Ah ok, makes sense. How do you code the tag though?
Sent from my iPad 2 using Tapatalk
Click to expand...
Click to collapse
It's fairly simple. I designed a basic syntax describing the actions to be taken and wrote a complementary parser for when the tags are read.
That's simply amazing. I knew the NFC would be a nice toy, but not that nice!
Does anyone know where to get some cheap tags in germany. Cheapest I found so far was ebay, but still around 2,50 EUR per tag (incl. shipping).
Atreus said:
That's simply amazing. I knew the NFC would be a nice toy, but not that nice!
Does anyone know where to get some cheap tags in germany. Cheapest I found so far was ebay, but still around 2,50 EUR per tag (incl. shipping).
Click to expand...
Click to collapse
Did you check http://www.tagage.net/tagage-shop/ ?
I purchased these nfc tags which the seller has confirmed that they are in working order and bought the application. However, the app says that the nfc type is not supported. What's up with that?
drdino said:
I purchased these nfc tags which the seller has confirmed that they are in working order and bought the application. However, the app says that the nfc type is not supported. What's up with that?
Click to expand...
Click to collapse
See the edited first post. Something in 4.0 changed and Mifare Ultralight, Ultralight C and Classic 1K tags are no longer reporting as NdefFormatable - so the functionality to format them TO NDEF is broken.
Essentially the NdefFormatable class verifies that the tag lists the tech before it will operate on them. As they no longer list that tech it refuses to do anything with them.
This affects all NFC Apps I've tried in the Market so far. If the tags are already formatted NDEF then they work without issue.
I've got a bug report open to see if I can get a response on this as well as a post on the dev group as it's not a listed change in the API changes anywhere from 3.0 up.
If you don't want to wait it out and want a refund let me know and I'll process it.
Its allright, seems like a decent app so I still want to explore the possibilities.
drdino said:
Its allright, seems like a decent app so I still want to explore the possibilities.
Click to expand...
Click to collapse
There are shops that sell the tags pre formatted with NDEF - those will work. Anything that comes blank though currently will not.
As a curiosity I sent an email to NXP as well to see if they have any more information. I'd like to get this sorted sooner rather than later so hang in there
Can this app be set to do something when moved away from an NFC tag?
So say you put it in car dock and a tag turns on BT. But when removed its turns off BT
Sent from my Galaxy Nexus using Tapatalk
Evostance said:
Can this app be set to do something when moved away from an NFC tag?
So say you put it in car dock and a tag turns on BT. But when removed its turns off BT
Sent from my Galaxy Nexus using Tapatalk
Click to expand...
Click to collapse
No, there's no intent raised when the tag is moved out of range, only when it is detected.
It is reported in the logcat, but to do that you'd need to constantly be reading the logs and scanning for that (which would involve a read logs permission).
For all Europeans: I contacted tagage and their tags are not pre-formatted by default, but if you send them an email, they'll format your tags first.
Atreus said:
For all Europeans: I contacted tagage and their tags are not pre-formatted by default, but if you send them an email, they'll format your tags first.
Click to expand...
Click to collapse
Most vendors don't pre-format their tags - so get in touch with them before/when your order for now to be sure.
Hopefully this is something that I can get an answer on, but I don't currently see a good workaround.
krohnjw said:
No, there's no intent raised when the tag is moved out of range, only when it is detected.
It is reported in the logcat, but to do that you'd need to constantly be reading the logs and scanning for that (which would involve a read logs permission).
Click to expand...
Click to collapse
Can you put implement it as an option on each tag? That way we could enable it for a car tag only and not another tag etc.
If that makes sense?
Sent from my Galaxy Nexus using Tapatalk

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.

[Q] Is this possible using nfc?

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.

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