Hello XDA community, I was wondering if you guys would be able to answer a few questions regarding NFC.
Where can one get more information as far is developing and using NFC tags?
I play around a little with them with and when trying to send contact information on a tag I seem to have exceed the maximum amount of bytes (using Samsung tectiles 144 bytes) only thing in the tag is my number and email address. I'm using tag stand writer on a Note 2. I'm wondering is by using that app I am getting the full potential of the tag.
Robert
rkhayat said:
Hello XDA community, I was wondering if you guys would be able to answer a few questions regarding NFC.
Where can one get more information as far is developing and using NFC tags?
I play around a little with them with and when trying to send contact information on a tag I seem to have exceed the maximum amount of bytes (using Samsung tectiles 144 bytes) only thing in the tag is my number and email address. I'm using tag stand writer on a Note 2. I'm wondering is by using that app I am getting the full potential of the tag.
Robert
Click to expand...
Click to collapse
Anybody have anything? I was hoping for some information!
rkhayat said:
Anybody have anything? I was hoping for some information!
Click to expand...
Click to collapse
Hmm, I´m sure you checked http://developer.android.com/guide/topics/connectivity/nfc/index.html and www.nfc-forum.org , so what else do you need?
NFC
Oh wow...
I'm more interested in putting like.. Android beam capabilities in non android beam devices. (like the nexus.) it seems something simple right?)
Sent from my SPH-L710 using xda app-developers app
Varryance said:
I'm more interested in putting like.. Android beam capabilities in non android beam devices. (like the nexus.) it seems something simple right?)
Sent from my SPH-L710 using xda app-developers app
Click to expand...
Click to collapse
?
Sorry, didn´t get your point.....
android nfc capable device + ICS = android beam device !
(...even api level 10 (GB) contains some, now deprecated, api for android beam ...but I´m not sure if it was called android beam in these days...)
Related
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
Hope this makes sense, here goes. As I understand the hole purpose of NFC Tags is that you tag them with information or an action or something like that. This is then written on the chip.
My question is: Can I use a commercial tag from let's say starbucks that's programmed to open the starbucks website do something completely different without reprogramming the chip? Simple words, a program that when it reads a specific tag, like open starbucks website, it does not open the website but activates bluetooth? Or is this not possible due to security/restrictions/no way of identifying a specific tag?
In the near future I can see commercial company's handing out free tag's that can then be used for other than intended use. Recycling NFC tag's(Is also good for the environment )
chillaxx said:
Hope this makes sense, here goes. As I understand the hole purpose of NFC Tags is that you tag them with information or an action or something like that. This is then written on the chip.
My question is: Can I use a commercial tag from let's say starbucks that's programmed to open the starbucks website do something completely different without reprogramming the chip? Simple words, a program that when it reads a specific tag, like open starbucks website, it does not open the website but activates bluetooth? Or is this not possible due to security/restrictions/no way of identifying a specific tag?
In the near future I can see commercial company's handing out free tag's that can then be used for other than intended use. Recycling NFC tag's(Is also good for the environment )
Click to expand...
Click to collapse
no. I don't think you can do that right now.....you have to re-program the NFC chip for any new actions that you want.
However; I could be wrong but I guess you might be able to use tasker so that if it reads a certain chip it'll perform a certain action....
NFC ReTAG FREE does exactly that
I
Palthron said:
NFC ReTAG FREE does exactly that
Click to expand...
Click to collapse
That's IT. Thanks a million.
for any questions regarding NFC ReTag have a look at:
http://forum.xda-developers.com/showthread.php?t=1477138
ascsa said:
for any questions regarding NFC ReTag have a look at:
http://forum.xda-developers.com/showthread.php?t=1477138
Click to expand...
Click to collapse
Can I hit thanks a million times?
cellularticulate said:
Can I hit thanks a million times?
Click to expand...
Click to collapse
unfortunately not ... but you can get the pro version if you want
i have came across the card emulation thread on galaxy nexus and nexus S thread. and found many useful information. i wonder if anyone has heard anything about it on the nexus 4?
HTML:
https://github.com/CyanogenMod/android_packages_apps_Nfc/commit/75ad85b06935cfe2cc556ea1fe5ccb9b54467695
i believe it is very simple to do with these codes compiled into the latest version of CM for the nexus 4. but I'm no developer, so i don't know how to. if anyone is also interested. please help make this happen! or atelast help on guiding us how to compile these codes into the latest CM!:fingers-crossed:
draginslygj said:
i have came across the card emulation thread on galaxy nexus and nexus S thread. and found many useful information. i wonder if anyone has heard anything about it on the nexus 4?
HTML:
https://github.com/CyanogenMod/android_packages_apps_Nfc/commit/75ad85b06935cfe2cc556ea1fe5ccb9b54467695
i believe it is very simple to do with these codes compiled into the latest version of CM for the nexus 4. but I'm no developer, so i don't know how to. if anyone is also interested. please help make this happen! or atelast help on guiding us how to compile these codes into the latest CM!:fingers-crossed:
Click to expand...
Click to collapse
There are currently no ways who are interesting for a non-developer. Start and do some research
youtube video of these codes coded into CM 10
these codes were originally in Nighty CM9 at around march 2012. it was then removed from the rom afterwards. these people at University of Texas has ported it onto CM10. these codes are pretty much the prerequisite of NFC proxy. which is a card emulation software, also work to proxy a card. and they have used it in the video to scan a card with phone NFC enabled phone, then the data collected is directly sent to the proxy. and allow it to simulate the card and purchase with the card.
http://www.youtube.com/watch?v=Yjfc60LGjik
wow thx
So how do I get it on my galaxy s3?
Sent from my Revolt Galaxy S3.
Create your own app who extends NFC_extras and has nfceeadmin rights
Sent from my GT-I9300 using xda app-developers app
Factionwars said:
Create your own app who extends NFC_extras and has nfceeadmin rights
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
Has nobody done this already?
Sent from my Revolt GT-I9300 using Tapatalk 2.
AMoosa said:
Has nobody done this already?
Sent from my Revolt GT-I9300 using Tapatalk 2.
Click to expand...
Click to collapse
Yes, but only in a state where it is almost only interesting for a developer's perspective. You can enable the emulation of a Mifare classic 4k card. And you can only write on it using a external writer and UID is fixed.
Noob. If we wanted this we would've read that thread.
Sent from my SPH-L710 using xda app-developers app
Factionwars said:
Yes, but only in a state where it is almost only interesting for a developer's perspective. You can enable the emulation of a Mifare classic 4k card. And you can only write on it using a external writer and UID is fixed.
Click to expand...
Click to collapse
That clearly isn't only interesting for a developer.
If what you're saying is true, and people are emulating Mifare 4Ks with a static UID on modern phones like the S3, then many people would be interested in using that to replace their door entry cards at work and school.
LoveNFC said:
That clearly isn't only interesting for a developer.
If what you're saying is true, and people are emulating Mifare 4Ks with a static UID on modern phones like the S3, then many people would be interested in using that to replace their door entry cards at work and school.
Click to expand...
Click to collapse
That is also true, but most mifare classic systems use authentication based on the UID wich is not to be changed externally. You can read/write under certain circumstances to the emulated Mifare classic 4k. But because it is a default applet, and we do not have access to the configuration of the card (Mifare4Mobile). I highly disregard using the feature because you might lose a correct dump of your mifare classic card.
But ofcourse, it is alot of fun. Sources are on the interwebs, http://stackoverflow.com/questions/12955919/enabling-cardemulation-on-android-ics-with-nfc-extras i have rewritten that code and it works.
Read again, when you are cracking a Mifare classic card and emulating it for gaining access to places where you do not belong without a proper card. you might get busted
Factionwars said:
That is also true, but most mifare classic systems use authentication based on the UID wich is not to be changed externally. You can read/write under certain circumstances to the emulated Mifare classic 4k. But because it is a default applet, and we do not have access to the configuration of the card (Mifare4Mobile). I highly disregard using the feature because you might lose a correct dump of your mifare classic card.
But ofcourse, it is alot of fun. Sources are on the interwebs, http://stackoverflow.com/questions/12955919/enabling-cardemulation-on-android-ics-with-nfc-extras i have rewritten that code and it works.
Read again, when you are cracking a Mifare classic card and emulating it for gaining access to places where you do not belong without a proper card. you might get busted
Click to expand...
Click to collapse
That's not what I'm talking about. If, as you claim, you are able to emulate a card that has its own fixed UID, then that is highly useful. At my place of work, I'd be able to go to the IT guys and have them use my phone's emulated card's UID for my door access.
I'm not talking about shady stuff here.
LoveNFC said:
That's not what I'm talking about. If, as you claim, you are able to emulate a card that has its own fixed UID, then that is highly useful. At my place of work, I'd be able to go to the IT guys and have them use my phone's emulated card's UID for my door access.
I'm not talking about shady stuff here.
Click to expand...
Click to collapse
Sure, you might be able to do that.
Factionwars said:
Create your own app who extends NFC_extras and has nfceeadmin rights
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
Hi,
Would you give me more information or reference about deal with "nfceeadmin" ?
For now, I got a security exception when I access the SE, and after doing some search, It looks like need to root my device. But I got same exception after root my nexus 7.
Thanks your help
Sent from my Nexus 7 using xda app-developers app
bauann-tw said:
Hi,
Would you give me more information or reference about deal with "nfceeadmin" ?
For now, I got a security exception when I access the SE, and after doing some search, It looks like need to root my device. But I got same exception after root my nexus 7.
Thanks your help
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
Here you go http://nelenkov.blogspot.nl/2012/08/accessing-embedded-secure-element-in.html
Factionwars said:
Here you go nelenkov.blogspot.nl/2012/08/accessing-embedded-secure-element-in.html
Click to expand...
Click to collapse
Hi,
Thanks your help , but I still get same security exception.
Here is my step,
I am trying to use debug signature (debug.keystore) and modify system/etc/nfcee_access.xml like below
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Applications granted NFCEE access on user builds
See packages/apps/Nfc/etc/sample_nfcee_access.xml for full documentation.
-->
<!-- Google wallet release signature -->
<signer android:signature="3082...852e" />
<signer android:signature="3082...996ab">
<package android:name="com.rftag.cardemu" />
</signer>
<debug />
</resources>
After reboot my device and run test app again, the code throw exception at "nfcExtras = getMethod.invoke(null, adapter);".
And I don't see any message about NFCEE denied in logcat, Did I miss something ?
PS: for reference, My device is Nexus 7 and running 4.2.2 ( offical ROM, only rooted )
Hey guys. I have being scouring these threads for helpful information and nothing has really sparked an interest. Does anyone have any idea how to get full control over your phone through nfc to change systems stuff. Like location settings, connecting to specific bt devices, executing specific tasks.
Thanks in advance
Sent from my GT-I9305T using xda app-developers app
Lexicarnus said:
Hey guys. I have being scouring these threads for helpful information and nothing has really sparked an interest. Does anyone have any idea how to get full control over your phone through nfc to change systems stuff. Like location settings, connecting to specific bt devices, executing specific tasks.
Thanks in advance
Sent from my GT-I9305T using xda app-developers app
Click to expand...
Click to collapse
use anytag + tasker + secure setting plus + secure setting helper + Bluetooth Auto Connect(https://play.google.com/store/apps/details?id=de.refluxa.android.bac&hl=en)
Thanks man. I am fairly novice with android. :/ would love to learn more. will have a look at it and see how I go. Much appreciated.
Sent from my GT-I9305T using xda app-developers app
test post
Lexicarnus said:
Hey guys. I have being scouring these threads for helpful information and nothing has really sparked an interest. Does anyone have any idea how to get full control over your phone through nfc to change systems stuff. Like location settings, connecting to specific bt devices, executing specific tasks.
Click to expand...
Click to collapse
You can do it with the right NFC Apps... BT Tag Writer to connect to specific BT Devices. Tasker is definitely the most powerful automation tool and you can trigger tasker task by NFC either with a plug in like URL Task Launcher or with some NFC apps like ReTag or NFC Task Launcher.
With those you should be able to do just about anything you want.
Hello everybody
I was wondering if there is a nfc app which makes it possible to write on a nfc tag to connect to a specific wifi-connection.
Sent from my LG-P880 using xda app-developers app
TeunowNL said:
Hello everybody
I was wondering if there is a nfc app which makes it possible to write on a nfc tag to connect to a specific wifi-connection.
Sent from my LG-P880 using xda app-developers app
Click to expand...
Click to collapse
Yep, easy
Get NFC ReTag ...tap a tag ... name the tag....add activity "Add new SSID" (Wireless/Network) configure your SSID, Security and password and then use the Write option within the tag edit screen (action bar above) to write the activity on your tag.
Et voila, ssid and password written on your tag and everybody with nfc retag installed can easily connect to your network ....
Remark: Unfortunately, there is NO WAY to write a tag which doesn´t require an app to interpret the information, because Android (and the NFC specification!) doesn´t provide any native way to do this without an app installed... ... However, if someone without NFC ReTag installed, scans the tag, the tag will open Google Play and let the user download NFC ReTag (FREE version and less than 700kb).
Thanks! It works. I've been searching for an app like this one for so long
Sent from my LG-P880 using xda app-developers app
So far, it looks like this is the app I was looking for as well. I wanted something more capable than Samsung's TecTile app and this seems to fit the bill.
Sent from my SCH-I535 using Tapatalk
TeunowNL said:
Thanks! It works. I've been searching for an app like this one for so long
Click to expand...
Click to collapse
liteon163 said:
So far, it looks like this is the app I was looking for as well. I wanted something more capable than Samsung's TecTile app and this seems to fit the bill.
Click to expand...
Click to collapse
Hmm, you´re welcome .... and thanks for the wake up call ... either I should improve my marketing or you should improve your search skills ...:laugh:... NFC ReTag is currently the number 2 result within Google Play, if you search for "NFC"... ....but apparently a lot of people are not aware of it ....
NFC Retag was #4 when I just searched.
I particularly like that the app doesn't actually seem to write to the tag, it simply forms an association with its value that triggers my settings.
Samsung's TecTile app actually seems to change the tile's value. At least it seems this way when reading the tag first with NFC Retag, programming it with the TecTile app, and then reading it again with NFC Retag.
Sent from my SCH-I535 using Tapatalk
liteon163 said:
NFC Retag was #4 when I just searched.
I particularly like that the app doesn't actually seem to write to the tag, it simply forms an association with its value that triggers my settings.
Samsung's TecTile app actually seems to change the tile's value. At least it seems this way when reading the tag first with NFC Retag, programming it with the TecTile app, and then reading it again with NFC Retag.
Sent from my SCH-I535 using Tapatalk
Click to expand...
Click to collapse
Yep, the Google Play search rank is currently a bit unstable ... Goggle obviously had just changed their ranking algorithm and mess it up somehow ....seems that a lot of apps jumping 100+ ranks up and down several times a day ...so #4 is a setback, but it could be worse
However, yes NFC ReTag doesn´t write anything on the tag, unless you want it to do so
It´s designed to work with read-only tags,too...therefore it saves all your activities in an app internal database on your device....
BUT it also has some cool write features: e.g.:
- the write Activity tag option mentioned in post 2 (action bar; tag edit screen) --> writes a cycle on a tag ... and usually needs a lot less space on the tag than the TecTile app --> means more activities per tag ... and it´s perfect for sharing your wifi credentials ...
- the write "special NFC ReTag tag" option (more button) writes only some small dispatching information on the tag ....so it combines both concepts (written tag + database) --> bulletproof dispatching, best performance, cycles and unlimited number of activities ... if you have writeable tags, I would always recommend to write a special NFC ReTag tag ....
So with ReTag, you can use both concepts depending on your use-case, tag size, requirement, restriction or preference ....Hack, you can even beam your tag activities from one device to another device