Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
289 views

APDU commands for NFCTagType4 emulated tag with react-native-hce

I'm creating an emulated NFC Tag with this code in react-native using react-native-hce const startEmulation = useCallback(async () => { try { const session = await HCESession.getInstance()...
Jandry Nexia's user avatar
2 votes
1 answer
13k views

What to use to do NFC tag emulation in Android app

Is there an opportunity to emulate the NFC tag through an android application? So that it is exactly the tag that is read by another device without a third-party application. That is, it is not the ...
Programmer Android's user avatar
1 vote
2 answers
2k views

Android HCE protocol - need help to emulate card

I have been trying to implement Android HCE protocol and have gone through all the available documents on the subject. However, I am unable to find any relevant code that can help me with my project. ...
IvanStrasni's user avatar
0 votes
1 answer
140 views

Service class (HostApduService) has no access to files ()NPE NullPointerException)

I'm trying to implement a Credit Card emulating app and setup a HostApduService-class that runs like expected. Now I'm trying to load card data from a file (can be in internal or external storage, ...
Michael Fehr's user avatar
  • 6,444
4 votes
0 answers
930 views

NFC HCE HostApduService processCommandApdu not called

I am new to NFC technology. I want to implement custom NFC communication, just like sending and receiving specific values over NFC using two devices. What is the issue ? . I have two devices SAM A31 ...
Ashvin solanki's user avatar
2 votes
1 answer
691 views

Send long NDEF message from acr1252u to iOS/Android device

I'm developing an application in Java, where I want to send a URL in an NDEF message, which then gets opened on a mobile device. I was able to do this through the acr1252u's Card Emulation Mode with ...
tapsomilian's user avatar
0 votes
1 answer
3k views

how to send information from mobile NFC to RFID-RC522 module?

I have a RFID-RC522 module that is connected to arduino micro. I want to send data from NFC of android mobile to that module. is that possible ? and if so, how can I perform that ?
nima's user avatar
  • 95
2 votes
0 answers
294 views

How to keep HostApduService as a background service on Android

I am currently developing an Android application that contains a HostApduService (HCE). My concern is: is it possible to keep this service in the background to allow pre-instantiated objects in the ...
Thibault ROTURIER's user avatar
8 votes
0 answers
2k views

Android HCE card emulation not calling processCommandApdu

I am trying to emulate an NDEF NFC tag but processCommandApdu is not being called. The service appears to start, I have tried a number of AID and nothing seems to work. I have also tried using ...
Taterchip 01's user avatar
1 vote
1 answer
660 views

Understanding the code behind Host Card Emulation and APDUs

I have just started making an app that uses Host Card Emulation (HCE) and I have done various bits and pieces. I need the app to make the phone behave like a card whilst another phone behaves like an ...
Hazed 2.0's user avatar
  • 133
4 votes
1 answer
4k views

NFC reader "SELECT (by AID)" APDU is not routed to Android device

I have an ACR122U NFC reader/writer connected to my Windows machine with ACR122 driver installed. I try to use javax.smartcardio API to send an SELECT (by AID) ADPU to my Android device (which should ...
cliffroot's user avatar
  • 1,691
1 vote
0 answers
1k views

how to send APDU commands in android

i want to send APDU commands from my android device and also receive it in same device. is it possible ? i want to get response in following mthod @Override public byte[] processCommandApdu(byte[...
Ajithkumar M's user avatar
1 vote
1 answer
897 views

CardEmulation seems OK, but not receiving byte[]

All the logs print out are good, but the thing is not working. Please help. AndroidManifest.xml <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://...
theAnonymous's user avatar
  • 1,814
0 votes
1 answer
173 views

How does acr122u differs between HCE and Ultralight cards

I'm developing java application with nfctools library and I'm using ACR 122U nfc reader. The problem is that app needs to tell if it's communicating with smartphone over HCE or if it's Ultralight C ...
mpetkovic's user avatar
3 votes
1 answer
1k views

Maximum APDU size in host card emulation. Can it be longer?

I am trying to send data from an android phone in Host card emulation mode to a reader application. I do understand the maximum size of an apdu should be about 260bytes. However I need to send well ...
user3312054's user avatar

15 30 50 per page