open-nfc

NFC tag emulation for Android virtual device (AVD)

蓝咒 提交于 2020-07-15 02:42:24
问题 Is there any way to develop NFC tag reading/writing applications without an NFC enabled phone? Is there a way to create an AVD which has NFC enabled? I have searched and found Open NFC exists, but I cannot find much information about it now. Is it already obsolete? Is there any other way to achieve it? 回答1: Google never implemented support for NFC in the AVD. So there is no official support for NFC in the Android device emulator. Back in the early days of NFC on Android, Inside Secure

NFC tag emulation for Android virtual device (AVD)

孤人 提交于 2020-07-15 02:42:20
问题 Is there any way to develop NFC tag reading/writing applications without an NFC enabled phone? Is there a way to create an AVD which has NFC enabled? I have searched and found Open NFC exists, but I cannot find much information about it now. Is it already obsolete? Is there any other way to achieve it? 回答1: Google never implemented support for NFC in the AVD. So there is no official support for NFC in the Android device emulator. Back in the early days of NFC on Android, Inside Secure

Open NFC Simulator not working for Android emulator

别等时光非礼了梦想. 提交于 2019-12-30 04:45:09
问题 I'm trying to emulate NFC card reading in Android Emulator, using Open NFC v4.5.2 for that purpose. I have followed all steps indicated here: HOWTO use the NFC Simulator with the Open NFC add-on included in the delivery I have also tried with insturctions from other StackOverflow posts such this or this, with no success. When I start the emulator I'm not able to turn-on NFC in Settings->Wireless & networks->NFC , and NFC Controller Simulator doesn't show any activity: Following is the capture

Failed to load open-nfc addon in android platform

雨燕双飞 提交于 2019-12-25 06:55:31
问题 This is the first time, I am working on open-nfc . As per official documentation I created new avd with Open NFC edition as target. Now as per 5th step, I switch to platform-tools and then ran adb devices . it's showing List of devices attached emulator-5554 device after ran next command adb pull /data/connection_center_access , It's throwing remote object '/data/connection_center_access' does not exist . This where, I stuck. Regarding this, I seen this video, they are not suggesting to

Enable/Disable counter for NTAG213

我与影子孤独终老i 提交于 2019-12-24 10:19:55
问题 MifareUltralight mifareUltralight = MifareUltralight.get(tag); byte[] toggleCounterCommand = new byte[]{(byte)0xA2, // NTAG213 command to write (byte)0x2A, // page 42(dec) 2A(hex) (byte)___};// not sure what to put here. The data sheet for NTAG213 says that the 0th byte of page 42 has the access information. The 0th byte is structured in the following way : 7 6 5 *4* 3 2 1 0 PROT CFGLCK RFUI *NFC_CNT_EN* NFC_CNT_PWD_PROT AUTHLIM Setting the 4th bit to 0 or 1 should enable or disable the

P2P in Android using Open NFC virtual device

做~自己de王妃 提交于 2019-12-12 03:22:36
问题 I am a student, working on a Master's project. I want to create an app using NFC P2P. I am trying to emulate P2P mode on android sdk on Windows. I followed the steps provided in Open NFC Compilation quick HOWTO on the Android edition page (http://open-nfc.org/wp/editions/android/). I configured the two devices and enabled NFC using IP as 10. 0.2.2. I used the simulator and connection center to link up two open nfc virtual devices(API 10) in p2p mode but was not successful. Please let me know

Open NFC Simulator hangs when pulling NFC Device #2

房东的猫 提交于 2019-12-11 05:00:05
问题 I'm currently experimenting NFC with android emulator and Open NFC. I have setup OpenNFC as described here P2P in Android using Open NFC virtual device, running 2 emulator instances then clicking "NFC Device #2" to simulate device touching. It works as expected, the tag is sent to the other device. The problem is when I double click "NFC Device #2" to simulate pulling, the NFC simulator always hangs. Anyone else having this problem? 来源: https://stackoverflow.com/questions/10290889/open-nfc

How to access the NTAG213 NFC interaction counter?

南笙酒味 提交于 2019-12-11 01:05:41
问题 I'm working on an android app where I need to find the number of times an NFC tag was read. I've gone through the docs on the NFC forum and for NTAG213** there is a field called the MIRROR_CONF using which one can determine whether the interaction counter is enabled/disabled and the value of the counter. I need to access this counter programmatically. I would highly appreciated if someone could help me out with that. It's my third day trying to deal with this now.Thanks. 回答1: This is

NFC stacks on Android OS

醉酒当歌 提交于 2019-12-04 09:41:21
问题 Can someone help me understanding the current state of the NFC Android stack? With the OS 2.3 there was released small NFC support (limited only to NXP tags reading), later the Google augment the API, so in OS 2.3.3 the wider range of tags is supported and also p2p is possible. My question is how the Open NFC stack (http://www.open-nfc.org/) fits into current state? As I understand the Open NFC stack is parallel activity and is optional replacement to the current stack. Due to its description

Open NFC Simulator Usage

给你一囗甜甜゛ 提交于 2019-12-01 11:36:50
问题 I would like to know how to properly use the Open NFC Simulator, i have already gone through a similar post in: Getting started with Open NFC emulator but my problem is after following all the instruction in the link above no luck, could someone give me step by step instructions on how to properly load the SDK addon and start the simulator? I'm doing an Final Year Project on Android NFC, using NFC to do mobile payments, if anybody has sample programs or such topics it is also greatly