nfc

NFC applications from market override “Complete action using” dialog entries

我是研究僧i 提交于 2019-12-22 09:19:24
问题 I have installed NXP TagWriter and NFC TagInfo on Nexus S, the same device used for my NFC application development. The problem is my application is not shown in the "Complete action using" dialog after Tag is read, only both installed from market are. After debugging it for a while, I have tried using demo application and the result was the same. What am I missing here? Do applications have to be installed from the market in order to have intent filters parsed properly? Update My intent

Android NFC transceive() using NFCF tech (Sony Felica)

坚强是说给别人听的谎言 提交于 2019-12-22 09:15:19
问题 I am attempting to connect my Android tablet to a device using NFC and retrieve data from the device. What I've Tried Sending commands as it explains in the nfc_device_detection_1.01.pdf (Chapter 4) The android java doc for transceive() mentions the "Applications must not append the SoD (length) or EoD (CRC) to the payload, it will be automatically calculated" I have therefore tried with and without the CRC, with and without the packet data length but the documentation is not clear on if I

How to use NFC ACTIONS

倖福魔咒の 提交于 2019-12-22 09:01:03
问题 I am trying to register a receiver programmatically to get notified once an NFC tag is detected. As shown in my code I registered for the desired action and I created the broadcast receiver programmatically. I also added the required permission in the manifest file but the problem is that onReceive is never called. Please let me know what I am doing wrong and how to fix it. IntentFilter intentFilter1 = new IntentFilter(); intentFilter1.addAction("android.nfc.action.TAG_DISCOVERED");

How to store data into Secure Element in android

别等时光非礼了梦想. 提交于 2019-12-22 05:03:37
问题 I want to create a google wallet like application in android. It is said that "all payment credentials are stored in a chip called the Secure Element contained within the phone". How can I access this secure element and store my card credentials into it. My aim is to use my phone (Nexus) at the checkout counter instead of my card. So what I want is to store some data to the Secure Element chip and access the data when I tap on an NFC reader. Thanks in advance. 回答1: If you check the Google

libnfc with ACR122U gives no response on SELECT (by AID) APDU

我的未来我决定 提交于 2019-12-22 04:42:55
问题 See NFC reader "SELECT (by AID)" APDU is not routed to Android device on debugging and eventual results. TL;DR the reader might simply be defunct. I have ACR122U nfc reader. I try to run this example http://www.nfc-tools.org/index.php?title=Libnfc:APDU_example#apdu_example.c on my Ubuntu machine. This is the log output I get when I tap my Android device (should be in HCE mode) to the reader: ./apdu_example debug libnfc.general log_level is set to 3 debug libnfc.general allow_autoscan is set

Reading a NXP ICODE SLI-L tag with Android

左心房为你撑大大i 提交于 2019-12-22 01:36:22
问题 I'm trying to read a NFC tag developed by NXP in my Android Application. It is possible to read the tag with Android: the App by NXP and one other read it correctly. The exact Tag type is "ICODE SLI-L (SL2ICS50)" and the RF technology is "Type V / ISO 15693" (data taken from those working apps). The memory consists of 2 pages with 4 blocks each, the blocks have 4 bytes each – I just want to have whole data stored in the memory. The tag has to be handled with Android's NfcV class and the

Android : NFC APDU command response '6700' Wrong length'

*爱你&永不变心* 提交于 2019-12-22 01:02:45
问题 I am sending below APDU command to ISODep tag and I am getting '6700 wrong length' byte[] command = new byte[]{ (byte)0x80, (byte)0xD0, (byte)0x01, (byte)0x00, (byte)0x07,(byte)0x22 , (byte)0x22,(byte)0x12 , (byte)0x34 , (byte)0x56 , (byte)0x78 , (byte)0x90 }; Please suggest if something is wrong in above command. 回答1: You are sending a case 4 APDU there, right? Your Lc indicates 0x07 bytes of data, and there's a Le of 0x90 trailing. Check with your specification whether this command is

How to a send SNEP GET request from Android

谁说胖子不能爱 提交于 2019-12-21 23:20:05
问题 I have an NFC reader ACS ACR122U and I want to send data from my Android phone to it. I have found many examples on how to connect my two devices in P2P mode and how to send data from my phone to the ACR122U, but my desktop server (ACR122U) always receives a SNEP PUT request. I would send a GET request but I can find only examples that use Android built in NDEF system without specifing PUT or GET request. How can I package and send a SNEP GET request from my Android device to an ACR122U? 回答1:

MIFARE card for payment with EMVco compliance

寵の児 提交于 2019-12-21 22:19:14
问题 I am working on an NFC-based payment device. I am using MIFARE DESFire EV1 chip. My question is: How to enable a full EMV compliant payment transaction with this chip hardware? I found this Visa Ring which does payment transactions. It uses NFC Ring® design of McLear & Co with NTAG IC. 回答1: How to enable a EMV payment transaction with MIFARE DESFire EV1? Simple answer: You can't. MIFARE DESFire is a proprieatry contactless smartcard system that implements a filesystem for data storage and an

Creating an NDEF WiFi record using application/vnd.wfa.wsc in Android

試著忘記壹切 提交于 2019-12-21 07:08:13
问题 As of Android 5.0.0 you can long tap on a WiFi connection and write that connection to a tag ("Write to NFC tag"). You can find the source for that operation here: WriteWifiConfigToNfcDialog.java. The relevant line that takes a WiFi connection and creates an NDEF payload appears to be here: String wpsNfcConfigurationToken = mWifiManager.getWpsNfcConfigurationToken(mAccessPoint.networkId); mWifiManager is an instance of WifiManager , however getWpsNfcConfigurationToken is not part of the API.