nfc

Host-based Card Emulation - Trigger a reader app when HCE is read on reader device

不羁的心 提交于 2021-02-05 11:21:10
问题 NFC tags can trigger an NFC reader app available on the phone, but HCE does not trigger any reader app. However, if I first open the reader app, then it works normally and, hence, can read the HCE emulated tag. I need a solution where HCE can open or prompt to choose the reader app. Is this possible with HCE? Why does Android not prompt to open an NFC reader app when detecting a HCE device? 回答1: No, a HCE app on one Android device cannot be used to trigger (launch) a reader app on another

Why Android NFC reader add's “en” before the message?

笑着哭i 提交于 2021-02-05 08:24:11
问题 Hey guys im testing NFC and i have an issue with i think it is formating.. I added a string value in the tag with an app to write. when i scan it with that same store app it shows ok... when i scan with my app it shows the correct name in the app but adds a "en" before the message.. and a white space.. so if i add a name in the tag then scan and get a API it shows 404 cause there is an en and white space.. http://myapisite.com/API/getdevice.php?id= enTagString before the = space and then en

Device support for Core NFC? does it work on iPad?

…衆ロ難τιáo~ 提交于 2021-02-04 17:53:05
问题 Does Core NFC works on iPad? To sum up, iPad does have NFC chips, but the Core NFC documentation does not say it support it. Note Reading NFC NDEF tags is supported on iPhone 7 and iPhone 7 Plus. running this iOS11-NFC-Example on emulator will always get Feature not supported on all devices. 回答1: No ! for now Core NFC don't support iPads and iPhone lesser than iPhone 7. iPhone Series of 7, 8 and iPhone X only supported by Core NFC. and if you want to identify in your code that the device your

How to set and unset password on a MIFARE Ultralight EV1 tag?

偶尔善良 提交于 2021-02-04 16:08:37
问题 I would like to be able to set and unset password protection on a MIFARE Ultralight EV1 (MFOUL21) tag using the NfcA? tag technology on Android. I understand I would use the nfcA.transceive() method for this, but I'm not sure what the arguments to that method would be, so could anyone provide code snippets to set and unset the password? Update: With respect to the TapLinx library, I would basically like the nfcA.transceive(...) code snippets equvalent to: ultralightEV1.programPwd

How to set and unset password on a MIFARE Ultralight EV1 tag?

你离开我真会死。 提交于 2021-02-04 16:08:28
问题 I would like to be able to set and unset password protection on a MIFARE Ultralight EV1 (MFOUL21) tag using the NfcA? tag technology on Android. I understand I would use the nfcA.transceive() method for this, but I'm not sure what the arguments to that method would be, so could anyone provide code snippets to set and unset the password? Update: With respect to the TapLinx library, I would basically like the nfcA.transceive(...) code snippets equvalent to: ultralightEV1.programPwd

How to set and unset password on a MIFARE Ultralight EV1 tag?

一笑奈何 提交于 2021-02-04 16:08:22
问题 I would like to be able to set and unset password protection on a MIFARE Ultralight EV1 (MFOUL21) tag using the NfcA? tag technology on Android. I understand I would use the nfcA.transceive() method for this, but I'm not sure what the arguments to that method would be, so could anyone provide code snippets to set and unset the password? Update: With respect to the TapLinx library, I would basically like the nfcA.transceive(...) code snippets equvalent to: ultralightEV1.programPwd

Phonegap NFC Send and Read Data Between Two Devices

|▌冷眼眸甩不掉的悲伤 提交于 2021-01-29 14:59:47
问题 I am trying to send information (just text) between two NFC enabled devices using phonegap-nfc in ionic angular app. So far I am able to connect the devices and the Ndef Event Listener captures the tag, but the information in the tag is always the same, it does not give me the message I am sending. My function to send the tag when NFC connection is identified: async connectPeerToPeer() { var listener = NFC.addNdefListener(onSucess => { console.log('Listening: ', onSucess); }, onFail => {

PN532 emulated card not read by an Android phone

青春壹個敷衍的年華 提交于 2021-01-29 11:42:20
问题 I am using Arduino UNO with elechouse's library and a PN532 module connected through SPI . I am trying to emulate a card using the emulate_tag_ndef example in that library, but when I try to read the emulated card with the NFC Tools app on my Samsung Galaxy S7 , I get an empty serial number and I don't get the Ndef message similarly to this. When I try to change the command array in the library according to the post lower on the linked issue on Github , then the emulated card cannot be

Flutter NFC: How to prevent/stop “New Tag Scanned” default activity in Flutter Android Build?

半腔热情 提交于 2021-01-29 05:06:34
问题 Everyone I'm using NFC plugin "nfc_in_flutter" in my flutter app but I'm facing "New Tag Scanned" issue in android build. Whenever I scan tag, First time, it works good but on second time automatically/bydefault "New Tag Scanned" activity open. Here is my code: Future<String> _nFCscan() async { String nfcdataString = ""; setState(() { _inAsyncCall = true; }); try { NDEFMessage message = await NFC .readNDEF(once: true, readerMode: NFCDispatchReaderMode()) .timeout(Duration(seconds: 10)) .first

Connect to NFCTagReaderSession NFCISO7816Tag tag and send command in iOS 13

穿精又带淫゛_ 提交于 2021-01-28 05:50:50
问题 I am working on NFCTagReaderSession the newly available in iOS 13, i struck to connect the session tag and send apdu commands for communication. when i call the connect property it looks long time like 15 secs to connect by the time when it is connected(beeps sound) it shows an error message NFCError Code=201 "Session timeout". Every time tagReaderSession:didInvalidateWithError is calling while connecting the card and i could not send apdu commands. the code which i tried to connect and send