nfc

Can Android Pay be disabled in-app?

浪子不回头ぞ 提交于 2020-05-27 07:01:46
问题 I am looking for a way to suppress Android Pay app for one activity. iOS has requestAutomaticPassPresentationSuppressionWithResponseHandler method, which allows exactly this - suppressing Apple Pay while the app is in the foreground - I am trying to achieve this on Android. I have implemented foreground dispatch. This works fine for most NFC tags - tag gets detected in the activity and then is ignored. However, when contactless payment machine is detected, Android Pay app gets triggered

Is it possible to hide iOS system alert for NFC reading session

谁都会走 提交于 2020-05-26 16:30:41
问题 When you successfully finish an NFC reading session you'll see something like that: This will overlay the currently presented ViewController for about 3 seconds. The fun part is that this behaviour is inconsistent since this window will disappear immediately if the reading session finish very fast. It means that I cannot be sure about how long will this overlay stay for sure which is bad for our app's UX design. The question is simple: is there a way to force this overlay to disappear or at

Is it possible to hide iOS system alert for NFC reading session

点点圈 提交于 2020-05-26 16:28:21
问题 When you successfully finish an NFC reading session you'll see something like that: This will overlay the currently presented ViewController for about 3 seconds. The fun part is that this behaviour is inconsistent since this window will disappear immediately if the reading session finish very fast. It means that I cannot be sure about how long will this overlay stay for sure which is bad for our app's UX design. The question is simple: is there a way to force this overlay to disappear or at

macOS 10.15.4 - external NFC Reader over USB (CCID & PC/SC compliant) for Host Card Emulation

夙愿已清 提交于 2020-05-17 06:17:01
问题 I have an Identiv uTrust 3700 F CL Reader that I can't setup with on macOS Catalina 10.15.4. I would like to read NDEF Tags , use U2F (FIDO2 CTAP1) via NFC, and emulate a card from the reader (for other readers to read, like an Android or iOS device) where my host acts as the secure element. My reader works great with opensc-tools to list the reader. I suspect multiple processes are competing for the USB device. This section from libnfc indicates a related device (the SCL3711, which is

macOS 10.15.4 - external NFC Reader over USB (CCID & PC/SC compliant) for Host Card Emulation

北城以北 提交于 2020-05-17 06:16:08
问题 I have an Identiv uTrust 3700 F CL Reader that I can't setup with on macOS Catalina 10.15.4. I would like to read NDEF Tags , use U2F (FIDO2 CTAP1) via NFC, and emulate a card from the reader (for other readers to read, like an Android or iOS device) where my host acts as the secure element. My reader works great with opensc-tools to list the reader. I suspect multiple processes are competing for the USB device. This section from libnfc indicates a related device (the SCL3711, which is

Problem with detecting badge with PN532 and Raspberry Pi

假如想象 提交于 2020-05-15 08:12:30
问题 I have been trying to detect an tag using the PN532 module that I bought from amazon here: https://www.amazon.ca/ASHATA-Controller-Raspberry-Interface-Switching/dp/B07XFNDHNS I followed the tutorial here: http://wiki.sunfounder.cc/index.php?title=PN532_NFC_Module_for_Raspberry_Pi I tried using both I2C or SPI, but both results just give me the following when I run nfc-poll: nfc-poll uses libnfc 1.7.1 NFC reader: pn532_spi:/dev/spidev0.0 opened NFC device will poll during 30000 ms (20 pollings

Should NfcAdapter.enableReaderMode in foreground Activity override the intent tag dispatch system?

 ̄綄美尐妖づ 提交于 2020-04-16 04:21:45
问题 In Android 10 I noticed I get a Toast message from the OS stating "No supported application for this NFC tag" or "No supported app for this NFC tag" (depending on the device): The weird thing is that I see the Toast while enableReaderMode is active in the foreground Activity. In all previous versions of Android, enableReaderMode would override the Android intent tag dispatch system. Is this a bug in Android 10? I know enableForegroundDispatch also exists, and that API does seem to override

5、NFC概述

生来就可爱ヽ(ⅴ<●) 提交于 2020-03-18 21:59:53
什么是NFC NFC(Near Field Communication,近场通信),是一种数据传输技术。但与Wi-Fi、蓝牙、红外线等数据传输技术的一个主要差异就是有效距离一般不能超过4厘米。 NFC的3种工作模式 读卡器模式(Reader/writer mode) 读卡器模式本质上就是通过NFC设备(例如支持NFC的Android手机)从带有NFC芯片的标签、贴纸、报纸、明信片、名片等媒介读取信息,或将数据写到这些媒介中。目前市场上很常见,而且很便宜的有NFC标签产品,以及更简易的NFC贴纸。 仿真卡模式(Card Emulation Mode) 仿真卡模式就是将支持NFC的手机或其它电子设备当成借记卡、信用卡、公交卡、门禁卡等IC卡使用。基本原理是将相应IC卡中的信息(支付凭证)封装成数据包存储在支持NFC的手机中 。在使用时还需要一个NFC射频器(相当于刷传统IC卡时使用的刷卡器)。将手机靠近NFC射频器,手机就会接收到NFC射频器发过来的信号,在通过一系列复杂的验证后,将IC卡的相应信息传入NFC射频器,最后这些IC卡数据会传入NFC射频器连接的电脑,并进行相应的处理(如电子转帐、开门等操作)。如果一切顺利,就成功完成了一次“刷手机”的动作。 点对点模式(P2P mode) 该模式与蓝牙、红外差不多,可以用于不同NFC设备之间进行数据交换,只是NFC的点对点模式有效距离更短

Android NFC资料汇总

我们两清 提交于 2020-03-17 12:36:31
代码下载: android7.0内核NFC技术源码 https://download.csdn.net/download/qq_25392873/9877917 代码讲解: Android NFC技术解析,附Demo源码 https://blog.csdn.net/weixin_44893918/article/details/89364985 移植NFC驱动到android系统 https://blog.csdn.net/whut_fn/article/details/50350225 NXP NFC kernel 分析 https://blog.csdn.net/dearsq/article/details/50681456 NFC在Android平台的架构与移植 https://blog.csdn.net/dearsq/article/details/50585287 高通 NXP NFC(PN547PN548) 移植流程 android6.0 https://www.cnblogs.com/linhaostudy/p/9711769.html 来源: CSDN 作者: yrnaaa 链接: https://blog.csdn.net/yrnaaa/article/details/104863266

NFC高级

送分小仙女□ 提交于 2020-03-10 18:14:36
高级 NFC 本文档介绍了高级的NFC主题,如各种标签技术,NFC标签写入和前台发布,它允许即使当其他应用程序过滤器相同的时候,应用程序在前台处理Intent。 Tag技术支持工作 当使NFC Tag和Android的供电设备生效,使用Tag来读取和写入数据的主要格式是NDEF,当设备扫描NDEF数据的Tag,Android提供支持解析的消息,并在可能的情况下将它传入一个 NdefMessage ,但是,在有些情况下,当你扫描不包含NDEF数据的Tag或当NDEF数据时无法映射到MIME类型或URI时。在那样的情况下,你需要直接与Tag建立沟通及用自己的协议(在原始字节)读写它,Android用android.nfc.tech包对那些情况提供了通用的支持,如表1中所描述的。您可以使用getTechList()方法来确定技术支持Tag,并且用由android.nfc.tech提供的类的其中一个创建相应 TagTechnology 对象. 表 1. 支持的Tag技术 类 描述 TagTechnology 这个接口是下面所有 tag technology 类必须实现的。 NfcA 提供访问 NFC-A (ISO 14443-3A) 的属性和 I/O 操作 NfcB 提供访问 NFC-B (ISO 14443-3B) 的属性和 I/O 操作 NfcF 提供访问 NFC-F (JIS