nfc

Java NFC (JSR 257)

妖精的绣舞 提交于 2019-12-10 19:26:02
问题 I developed some small applications for the Nokia 6131 that supported NFC. The SDK was special for this device, and it implemented the JSR 257. Now, I see different mobile platforms with proprietary SDKs, each one proposing different features (Android ICS, Meego, iOS). I would like to know which platform still support JSR 257? Also, I want to know if learning JSR 257 is still interesting or which way I could take? NFC is currently expanding, and it would be interesting to know which are the

Smartcard reader ACR122U has no unique serial number

浪子不回头ぞ 提交于 2019-12-10 18:34:00
问题 I am using the PCSC driver and the javax.smartcardio library as the wrapper to the driver. I have 3 ACR122U devices plugged into a Linux (debian) system. I have ran udevadm info on the devices and they all have a serial number of 0. I need to identify which reader is which in my class. I can check which topological usb port is used by parsing the /sys/devices folder but I still cant "select" a device in the Java api. Does anyone know a way to modify the PCSC device stack order or something.

Can I get access to NFC without manifest permission in android?

我只是一个虾纸丫 提交于 2019-12-10 18:14:53
问题 I need to create app with optional NFC functionality. Can I get access to NFC without manifest permission (Android)? Or should I create two apps: an NFC version and one without it. 回答1: Updated as per finding of thorbear The uses-feature element so that your application shows up in Google Play only for devices that have NFC hardware: <uses-feature android:name="android.hardware.nfc" android:required="true" /> If your application uses NFC functionality, but that functionality is not crucial to

read NFC tags in React Native app

删除回忆录丶 提交于 2019-12-10 17:11:54
问题 I want to make a react-native app which can read the NFC tags. I am using react-native-nfc but cannot get it working. Can anyone help with figuring out what I am doing wrong and point me in the right direction? Code in index.android.js is the following: import React, { Component } from 'react'; import { AppRegistry, StyleSheet, Text, View, ToastAndroid } from 'react-native'; import NFC, {NfcDataType, NdefRecordType} from "react-native-nfc"; export default class nfcTry extends Component {

Touch to Beam, the only way to send NFC (ICS)?

谁说胖子不能爱 提交于 2019-12-10 14:55:00
问题 I know you answered a similar question on ICS here: https://stackoverflow.com/a/8320504 But there is something i still would like to know, because I'm working on my master thesis and therefore I would need this feature: Is it still true, that there is no possibility sending NFC from within an app without tap on the screen? (as it was shown in the StickyNotes sample in "How to NFC") Will this great feature of NFC be available again in the future? Is it true, that by disabling AndroidBeam in

Hide “NFC Tag type not supported” error on Samsung Galaxy devices

拟墨画扇 提交于 2019-12-10 14:47:54
问题 I am working on an app that scans just the UID of MIFARE Classic cards to facilitate attendance registration. I have got it working. However, every time I scan a card on my Galaxy S4, I get a toast stating "NFC tag type not supported". I want to either block or hide that message while the app is open. I noticed there was one other question asking for the same thing on a Galaxy S6 but it was down-voted once and then ignored. I found this conversation on the Samsung Developers forum, however, I

NFC Peer2Peer Mode - Android Beam - ISO 18092

元气小坏坏 提交于 2019-12-10 13:55:49
问题 I need to find out how in Android Beam the P2P mode is managed. I found some general information about P2P: There is an active P2P mode (not recommended by NFC Forum) and a passive one (recommended by NFC Forum) where the passive device works like a smartcard (card emulation mode). I also know that an NFC reader device does usually the following steps: Field on Check for a card or a P2P passive device If found then communicate with the device, if not then field off Field off Check for

Add new XElement to Xdocument

我怕爱的太早我们不能终老 提交于 2019-12-10 13:49:41
问题 I have the following code, which successfully writes to an XML file. However, it overwrites each time because of the tagRegistry.Save() call being made. How can I add a new XElement to the existing file? At the moment the file is simply overwritten. public void saveTag() { if (File.Exists("/tagRegistry.xml")) { XElement tagRegistry = XElement.Load("/tagRegistry.xml"); XElement newTag = new XElement("Tag", new XElement("tag", stringUid), new XElement("name", desiredName), new XElement(

Activity is not launched by NFC Tag

邮差的信 提交于 2019-12-10 12:25:42
问题 I've declared required intent filters, in manifest file for Activity. Scenario #1: when I tested with NFCDemo android sample app -> broad cast nfc tag -> that time my app is prompted in chooser dialog like other nfc apps NFC Tag Info & NXP Tag Info. Scenario #2: After swiping real NFC Tag(card) -> NFC TagInfo, TagInfo apps are prompted in chooser dialog, but my app didn't. my requirement -> My app also should be displayed like NFC Tag info app. more info -> its an empty card!. <intent-filter>

Read Large data from Smart card With Error tag was lost

断了今生、忘了曾经 提交于 2019-12-10 12:23:43
问题 I want to Read/write large data in smart card via nfc in Android App. according link Send more than 261 bytes to Java Card with Android NFC I can write large apdu block by block. but when I want to read large data I have problem: I wrote this code for read large data in android app public byte[] ReadCertificate(int keyindex) { byte ReadCertAPDU[]=new byte[5]; byte Read_Cert_CLA = AppletCLA; byte Read_Cert_INS = (byte)0x26; byte Read_Cert_P1 = (byte)0x00; byte Read_Cert_P2 = (byte)keyindex;