ndef

Android 4.4.2, PN532 NFC reader and NFC Card emulation

左心房为你撑大大i 提交于 2019-12-04 20:16:02
I have developed a system that can read NFC tag using a reader with PN532 chip . It works ok. I can read Mifare Classic and Mifare Ultralight tag. Now I'd like to use a Nexus Tablet with Android 4.4.2 to emulate a tag. I have no experience with android development but I think it is possible. I have set NFC communication in the Nexus Tablet but I think I have to download or write some application to emulate a Tag and an NDEF communication. What is the easiest way? Michael Roland That depends on what Nexus tablet you have: Nexus 7 (first generation/2012 version): This device uses NXP's PN544 NFC

How to read from detected NFC tag (NDEF message). Android NFC

混江龙づ霸主 提交于 2019-12-04 14:52:54
Similar question - How to read detected NFC tag (NDEF content) details in android? I want my android app to be able to read and parse a detected NDEF message. I have already edited the AndroidManifest.xml to detect nfc tags and I have added the intent filter it looks like this <intent-filter> <action android:name="android.nfc.action.TAG_DISCOVERED"/> <category android:name="android.intent.category.DEFAULT"/> </intent-filter> I believe this is fine as when I use the NFCDemo sample app that comes with the SDK to create MockNDEFtags, when the list of applications I can choose to handle these

AAR Record in NFC: Where's The Payload?

南笙酒味 提交于 2019-12-04 12:17:28
问题 According to this answer, and validated by testing, when you use Android Beam to push over an NFC message containing an AAR record, the receiving device will start the MAIN / LAUNCHER activity for the app specified in the AAR. That MAIN / LAUNCHER Intent does not contain the NfcAdapter.EXTRA_NDEF_MESSAGES extra. Hence, the data that we went through all the trouble to beam over appears to be lost if you use AAR. Is there some way to get the NFC messages that triggered the app to be started in

Reading correct data from NFC wrist band with NXP Mifare Ultralight in C

为君一笑 提交于 2019-12-04 02:04:10
问题 I am very new to NFC devices reading but I have managed to implement in my own project using the code from nfc-mfultralight.c (libnfc). What I don't understand is that when I read the data from a MIFARE Ultralight band, I get lots of garbage. For example, I have the number 255555574558888 in the tag (I used an Android device to write this number to the tag). Now when I run: nfc-mfultralight r /home/user/dump I get this d▒r▒!▒ H▒▒U255555574558888▒-67644-67546-2346 This is from the examples of

Write NDEF message multiple times to same tag?

烈酒焚心 提交于 2019-12-03 21:20:14
问题 On Android, as soon as an NFC tag gets in proximity of the phone, the system delievers an intent to my application that contains an objects that allows me to read and write the NDEF message of this tag. Specifically, I can write to this tag as often as I want, while it's still in proxmity of the phone. The Java code below gives you an impression of what i mean: Tag tag = intent.getParcelableExtra(NfcAdapter.EXTRA_TAG); Ndef ndef = Ndef.get(tag); ndef.writeNdefMessage(/* some NDEF data */); //

Android: How to make a NFC Tag Ready only for users and writable for me?

混江龙づ霸主 提交于 2019-12-03 15:33:02
I have an app that design personalized tags that, when it is detected by an android phone, launches another app with some content. It all works fine and I know how to make a read only nfc Tag. The problem is, I would like to make a NFC Tag only readable by users of the other app. But I also want , if necessary, modify these tags in order to be rewritten. But I want to prevent from users to do themselves. that's why a ndef.makeReadOnly() is not appropriate for me.. does anyone can help me ??? It depends somewhat on the exact tags you will be using. The standard NFC Forum tag types for storing

How to send a string using NFC from a windows phone 8 to an android device

北城以北 提交于 2019-12-03 11:50:40
问题 haven't had any luck using google for this so I thought i'd ask. Does anyone have any experience / know how to send a simple string i.e "hello" from a Windows Phone 8 device to an Android Device? so far we have been able to do android -> android and android -> windows phone 8 but we haven't been able to find out how to do from windows phone 8 to android. Has anyone seen a guide online or know how to do such a thing? The first step I guess would be to find out how to make the application on

AAR Record in NFC: Where's The Payload?

ぐ巨炮叔叔 提交于 2019-12-03 07:02:10
According to this answer , and validated by testing, when you use Android Beam to push over an NFC message containing an AAR record, the receiving device will start the MAIN / LAUNCHER activity for the app specified in the AAR. That MAIN / LAUNCHER Intent does not contain the NfcAdapter.EXTRA_NDEF_MESSAGES extra. Hence, the data that we went through all the trouble to beam over appears to be lost if you use AAR. Is there some way to get the NFC messages that triggered the app to be started in this scenario? And if the answer is "no", then what is the use case of AAR? I can see where it might

Android application to mimic a physical RFID card

♀尐吖头ヾ 提交于 2019-12-03 03:43:38
问题 Is it possible for an Android application to send a previously stored RFID card ID to a NFC reader? The aim would be to use an Android device to enable access to a room instead of a physical RFID card. Having read a lot of other threads about NFC/RFID & card-emulation, I came to the conclusion it was not available for now in Android but I'm still kinda confused if it apply to this particular case. Can't the application simply send the card ID within a NDEF message or an APDU command or I'm

How to send a string using NFC from a windows phone 8 to an android device

為{幸葍}努か 提交于 2019-12-03 02:16:35
haven't had any luck using google for this so I thought i'd ask. Does anyone have any experience / know how to send a simple string i.e "hello" from a Windows Phone 8 device to an Android Device? so far we have been able to do android -> android and android -> windows phone 8 but we haven't been able to find out how to do from windows phone 8 to android. Has anyone seen a guide online or know how to do such a thing? The first step I guess would be to find out how to make the application on windows phone 8 realize its near an android NFC device .. and then it would be to figure out how to make