[Q] Smart Tag writing... - Sony Xperia P, U, Sola, Go

Okay, I don't know if anyone has run into this situation yet, so I figured I would create a thread on it.
Me and my partner both have the new Xperia S, and I was working on writing the Smart tags that came with the phone (we have 2 red/black tags each) and I noticed that the tags don't have a unique ID to them, and it's not actually writing the tags, it's writing the phone :/
for example...
Red tag: House tag (only one tag written)
I set it on my phone to turn off wi-fi, turn on BT
Other red tag:
When I tap it to my phone, it does that command that I told the other tag to do... and on my partners phone it still does the default commands out of the box.
So now I pretty much have clones of the same tags with commands that I need to set for each phone, when I was thinking that I would be able to write all four tags to do different things.
Anyone else discover this yet?

shmoejoe said:
Okay, I don't know if anyone has run into this situation yet, so I figured I would create a thread on it.
Me and my partner both have the new Xperia S, and I was working on writing the Smart tags that came with the phone (we have 2 red/black tags each) and I noticed that the tags don't have a unique ID to them, and it's not actually writing the tags, it's writing the phone :/
for example...
Red tag: House tag (only one tag written)
I set it on my phone to turn off wi-fi, turn on BT
Other red tag:
When I tap it to my phone, it does that command that I told the other tag to do... and on my partners phone it still does the default commands out of the box.
So now I pretty much have clones of the same tags with commands that I need to set for each phone, when I was thinking that I would be able to write all four tags to do different things.
Anyone else discover this yet?
Click to expand...
Click to collapse
Sony's implementation uses 1 of 4 URIs from the tags and maps that to a series of actions stored on the phone. So every "red" tag you come across will always do the same thing and must be mapped on every phone.

ahhhh, okay
So it is indeed not doing any writing to the tag then :/
Still handy to have the tags, it's just a bit of a bummer than I now have two tags, with two copies.

Has anyone tried writing a 5 uri to a writable to see if it works?
semc://liveware/A1/1/NT1/5/smarttags1
Maybe the app will recognize higher numbers than 4?

I'll test it and not work.

Related

Noob nfc questions

I got my nfc tags in today to play with. Have no problem writing to them, and NFC Task Switcher works great. My example use case is having the volume go down at my bedside.
I use Tasker extensively, so maybe I'm spoiled:
My first question is, is there any way to trigger an 'exit' or 'undo' task when your phone leaves the vicinity of the tag? Really hate to require two tags to achieve that level of automation. By reading a bit on the Play Store reviews area, I'm guessing this isn't possible, and I'll need to change the way I think about these.
2nd question: Is there any way nfc tags can be read and trigger an event while the phone is locked? Also seems kinda pointless to have to unlock before touching the tag.
bohiti said:
I got my nfc tags in today to play with. Have no problem writing to them, and NFC Task Switcher works great. My example use case is having the volume go down at my bedside.
I use Tasker extensively, so maybe I'm spoiled:
My first question is, is there any way to trigger an 'exit' or 'undo' task when your phone leaves the vicinity of the tag? Really hate to require two tags to achieve that level of automation. By reading a bit on the Play Store reviews area, I'm guessing this isn't possible, and I'll need to change the way I think about these.
2nd question: Is there any way nfc tags can be read and trigger an event while the phone is locked? Also seems kinda pointless to have to unlock before touching the tag.
Click to expand...
Click to collapse
1: You can just create a switch. Tap once, do (tasks). Tap again, undo (tasks).
2: Not that I know of right now but I'm sure our wonderful developers will figure something out!
Sent from My Precious Evo LTE!

[Q] NFC Tag Launcher "Open in Browser" prompt

Whenever I scan an NFC tag I created with NFC Tag Launcher it brings up a prompt that says "Open in browser" with options for OK and Cancel. However, it does not do that for tags I create in Lightflow for turning sleep on or off. Is there any way to disable this prompt?
Can't offer any help but I'm having the same problem with NFC Task Launcher.
I too get this. Not sure why. I'm on a rooted Verizon S3.
Download an app for NFC from the market first, then overwrite the default command that was stored on it. Most likely the command was to redirect you the site of the brand or seller of the tag.
nunyabiziz said:
Download an app for NFC from the market first, then overwrite the default command that was stored on it. Most likely the command was to redirect you the site of the brand or seller of the tag.
Click to expand...
Click to collapse
These are blank tags that I wrote to myself. I click OK every time and it never opens anything in the browser.
Have you verified that it was blank or have you erased the tag yet? I had the same issue with blanks that were not completely blanks.
nunyabiziz said:
Have you verified that it was blank or have you erased the tag yet? I had the same issue with blanks that were not completely blanks.
Click to expand...
Click to collapse
How can I tell if it's blank? According to NFC Tagwriter by NXP it's blank, and according to NFC TagInfo, the first two pages are read-only factory locked..
What do you have using NFC taginfo under "NDEF"?
nunyabiziz said:
What do you have using NFC taginfo under "NDEF"?
Click to expand...
Click to collapse
The blank tags have no message. One that I've written with NFC Tag Launcher has a message of the following:
Code:
WELL-KNOWN: urn:nfc:wkt:U(URI)
Identifier: 0x03("http://")
"tags.to/ntl"
MIME: ntl
enU:2:M:0,Q:-1;O:7;E:h:1__3:M:2;S:2;E:h:0
One written by lightflow has the following:
Code:
MIME: application/vnd.lightflow
SleepToggle
I would imagine the first part is what's causing it, but I don't know what there is to do about it.
EDIT: looks like that URL goes to the play store page for NFC Tag Launcher. Not sure why it's not actually opening in the browser though.
I personally use "NFC task launcher" and "erase tag" option.
---------- Post added at 09:28 PM ---------- Previous post was at 09:25 PM ----------
Sounds like you got it figured out.
nunyabiziz said:
I personally use "NFC task launcher" and "erase tag" option.
Click to expand...
Click to collapse
The issue is that I'm pretty sure it's NFC Tag Launcher that's writing the URL to it when it writes the task to the tag. I don't know what I'd do to write the tasks out to the tag otherwise.
I use NFC Task Launcher's erase function as well. As soon as the tag is written to again, this issue occurs.
jh120 said:
I use NFC Task Launcher's erase function as well. As soon as the tag is written to again, this issue occurs.
Click to expand...
Click to collapse
And did you write a task to the tag after? The NFC tag will always be detect, even blanks. It will just try to launch a unknown command.
nunyabiziz said:
And did you write a task to the tag after? The NFC tag will always be detect, even blanks. It will just try to launch a unknown command.
Click to expand...
Click to collapse
The issue is that the act of writing the task with NFC Task Launcher writes the URI to the tag. So erasing then rewriting the task accomplishes nothing.
I dont know all tags are the same size so maybe my tags are different. Im using web evolved tags and by default until erased and written to the tags will launch my browser and redirect to their site.
nunyabiziz said:
I dont know all tags are the same size so maybe my tags are different. Im using web evolved tags and by default until erased and written to the tags will launch my browser and redirect to their site.
Click to expand...
Click to collapse
Yeah, this isn't caused by anything with the tags themselves, it's just that NFC Tag Launcher adds the URI to the tag when you write out a task no matter what.
I can confirm that this happens regardless of tag type. I erased an old NFC-capable train ticket and wrote a wi-fi toggle to it. It works, but the browser dialog box still pops up.
Yeah, it's NFCTL writing that URL to the tag.
That URL is used as the intent filter and serves a few purposes. 1.) it saves space over a longer custom mime type or application specific record (which stores the package name). 2.) it directs anyone who doesn't have to the app to the play store to get it so that the tag actually does something - an application specific record does the same thing but has to store the *entire* package name (28 bytes in this case).
The way this has worked on *every* other device (and the way it should work in Android) is that the entire NDEF message hits the intent filter for that URL and the message is then delivered to the app. The app then grabs all records from the message (there are two) and parses the second record and executes those actions.
Given what the OP has sent me for some reason the Verizon S3 isn't doing this. (The international and ATT version work as expected).
Given that it's showing the chooser it's missing the specific intent filter and showing a dialog for what to do with this URL:
Code:
D/NfcService( 909): TAG: Tech [android.nfc.tech.MifareUltralight,
android.nfc.tech.NfcA, android.nfc.tech.Ndef]
D/NfcService( 909): Attempting to dispatch tag with override
D/NfcService( 909): No activities for NDEF handling of Intent {
act=android.nfc.action.NDEF_DISCOVERED dat=http://tags.to/ntl (has
extras) }
However it's still delivering the payload to NFCTL as the actions get executed (which it shouldn't do if you're getting the browser chooser dialog). It shouldn't work this way, literally. If you get the chooser it should deliver the entire payload to the chosen app (it's not).
So, what can we do here? I can add an option to use an application specific record in place of the URL. This should ensure it doesn't happen but at the cost of space - you'll lose 15+ bytes of space on the tag as a result though as it will write a separate NDEF record to the tag containing the full package name.
Is there anyone with a Verizon device this *isn't* happening for?
I could in theory get this into a release tomorrow as I'd want to have this squashed pre release.
I've been playing around quite abit with this and I have "sort of" gotten around this by use the Tasker URL Launcher.
With TUL installed along with tasker, I can use another NFC writer utility to create the url of tasker://taskname
Now if I touch the new tag without NFCTL installed I will be prompted with the "New Collected Tag" screen....unfortunately its still not an autorun but I can tap the "new tag" and the sequence fires correctly.
Obviously as previously stated the problem is the interception by the phone of the URL string used by NFCTL. Personally I have rooted and ripped out most all the Verizon bloat so I'm unsure what is left to cause this interception.
Let me know and I'll test whatever.
konman2k4 said:
I've been playing around quite abit with this and I have "sort of" gotten around this by use the Tasker URL Launcher.
With TUL installed along with tasker, I can use another NFC writer utility to create the url of tasker://taskname
Now if I touch the new tag without NFCTL installed I will be prompted with the "New Collected Tag" screen....unfortunately its still not an autorun but I can tap the "new tag" and the sequence fires correctly.
Obviously as previously stated the problem is the interception by the phone of the URL string used by NFCTL. Personally I have rooted and ripped out most all the Verizon bloat so I'm unsure what is left to cause this interception.
Let me know and I'll test whatever.
Click to expand...
Click to collapse
I may add a quick option tomorrow morning and throw a test APK up here. If the Verizon release is anything like the International and US pre-orders I suspect we'll see a lot of downloads and this is a *really* annoying thing to happen. So far Samsung takes the crown from HTC's head as the OEM making the weirdest changes.

NFC Tag Writing

Is there an app out there that we can write/config NFC tgas to launch apps, wifi, Bluetooth etc?
I wouldn't mind getting some and putting them around the house & car!
zok-star said:
Is there an app out there that we can write/config NFC tgas to launch apps, wifi, Bluetooth etc?
I wouldn't mind getting some and putting them around the house & car!
Click to expand...
Click to collapse
I've used NFC Interactor to write tags, I think it's a dollar or two. Just so you know apparently there is a windows phone limitation where it can't format tags. In my case I had to use a friends android tablet for that. I don't think there is a way to toggle wifi/bluetooth at the moment and it might not be possible with the SDK. But you can definitely start apps or phone settings if you find the GUID for it.
Goatmaster said:
I've used NFC Interactor to write tags, I think it's a dollar or two. Just so you know apparently there is a windows phone limitation where it can't format tags. In my case I had to use a friends android tablet for that. I don't think there is a way to toggle wifi/bluetooth at the moment and it might not be possible with the SDK. But you can definitely start apps or phone settings if you find the GUID for it.
Click to expand...
Click to collapse
that's a bit of a shame!
Found some useful links!
URI scheme listing
Reserved file and URI associations for Windows Phone 8
NFC tags, is there a good reliable place to get blank tags (no graphics on them) in Canada? I've been looking around on the net for the plastic ones but all I can find are paper ones or ones with company or product logos. Any recommendations are welcome.
NFC Publisher
Hi all
I've downloaded NFC Publisher but haven't tested it yet.
God bless
andrew-in-woking

How to read a NFC Tag?

Hello everybody!
In my Studencard there is a NFC-Tag, how can I read it. I've tried NFC Tag Manager and NFC Writer Reader. Booth apps aren't showing anything from the informations on the tag.
Cum said:
Hello everybody!
In my Studencard there is a NFC-Tag, how can I read it. I've tried NFC Tag Manager and NFC Writer Reader. Booth apps aren't showing anything from the informations on the tag.
Click to expand...
Click to collapse
I think it was a big security issue when NFC first come out to phones, people can read other's confidential info of Credit card or student IDs. So now, lots of phones and apps (including android) try to prevent phones to read info from ID card or credit card.
Go into your phone settings and make sure Tap to Send is turned on. That will enable the NFC system and allow the phone to follow the instruction in the tag. Personally this scream security risk as you have no clue what a tag might tell your phone to do. Most go to a website just like QR tags but a malicious hacker could place a tag that tell your phone to do god knows what.

[Q] skipping the confirmation popup when using NFC tags

I'm trying to NFC Launchit to start my music player app as soon as it sees the NFC tag. It works but its kinda annoying to have to keep pressing "open app" and play every time I set down the phone, is there any way to skip that notification and go straight into the app? Or is that even possible?
Edit: Using the Nokia NFC Writer app I at least got the music to play right off the bat, but i still have to hit that stupid "open app" button. Any ideas?
The confirmation is there for your own protection and to allow you an option to back out once you consider the danger of this technology. For example, suppose I make an NFC tag and stick them around town. The people like you come along whom have figured out how to disable the notification so your phone will do whatever my NFC tells it to do. Such as email all your contacts a virus that the NFC tag points to. Or maybe download a huge file of child porn and then send that to your contacts. You should get the point now why the confirmation is there and the danger of having the phone just carry out the NFC command.
Valid point dude, but at the same time you gotta think that some of the burden of keeping a phone safe is the owner's responsibility. Combined with the fact that NFC has a short range, unless I walk around town rubbing my phone up against every wall I can see, I think I might be safe turning the notifications off. I don't even put my phone on the table when I'm out and about for fear of my forgetfulness, and I keep the Tap + Send option off most of the time to save battery.
I'd rather take the chance if it means that I can just drop my phone on my wireless charger and have the tunes kick in. So that brings us back to the task at hand, figuring out how to get past the notifications. It looks like it might be a part of the OS so I guess its a futile effort but hey can't hurt to keep looking right?
a posible solution is make trust tags. This tag only work without confirmation in the phone that make it. The problem is windows phone not allow trusted tags
Other fault is a nfc tag canĀ“t modify the wifi or bluetooth. I want a tag that switch the bluetooth on when i put the phone on it (in a car is very usefull). Windows phone not allow to change configuration of the phone.
RESUME: nfc tags is not usefull for me

Categories

Resources