SkillAgentSearch skills...

NFCAndroid

This is a project to using android HCE by using Type-4-Tag Message to working both in iOS and Android

Install / Use

/learn @underwindfall/NFCAndroid
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Introduction

This is a experimental project about Android NFC functionality. The whole idea is based on using android device as a Host Card Emulation, however we cannot simply send a byte array by realising communication enter iOS and Android because of iOS can only accept NDEF Message. So I'm enlightened by reading NFCForum-TS-Type-4-Tag which simulate the whole process command talking cross devices. You can find more details by reading this documentation. You can find iOS Reader Tag Project in my repo

Architecture

The whole project conclude 3 projects modules globally.

| Module | Status | |:--------------|:-----------:| | app | Android Host Card Emulation of a NFC Forum Type-4 tag | | readNfcMessage | NFC Read Application to verify HCE Android Completion | | nfcemvread | NFC Read Application to get Card Bank Information |

ScreenShots

  • Android HCE with NFC Type-4 Tag

    <img src="art/4.jpeg" width="200px" />
  • read NFC Message Application

    • Android <img src="art/3.png" width="200px" /><img src="art/3.png" width="200px" />
    • iOS <img src="https://github.com/underwindfall/NFCReaderiOS/blob/master/art/image1.png" width="200px" /><img src="https://github.com/underwindfall/NFCReaderiOS/blob/master/art/image2.png" width="200px" />
  • nfc read card bank info (EMV)

    • <img src="art/1.png" width="200px" /><img src="art/2.png" width="200px" />

Ref

  • https://developer.android.com/guide/topics/connectivity/nfc/hce
  • https://manijshrestha.wordpress.com/2014/07/23/using-android-beamnfc-to-transfer-data/
  • https://www.jianshu.com/p/e89cc9bba8a6

Beam Transfer

  • https://blog.csdn.net/lepaitianshi/article/details/50540595
  • https://github.com/PGzxc/NFCFile
  • https://github.com/PGzxc/NFCBeam
  • https://www.jianshu.com/p/42be304ac616
View on GitHub
GitHub Stars341
CategoryDevelopment
Updated6d ago
Forks68

Languages

Kotlin

Security Score

100/100

Audited on Mar 19, 2026

No findings