All Projects → justinribeiro → android-hostcardemulation-sample

justinribeiro / android-hostcardemulation-sample

Licence: other
Android HostCardEmulation sample that implements NFC Forum Type 4 Tag Operation

Programming Languages

java
68154 projects - #9 most used programming language
c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to android-hostcardemulation-sample

nfc-laboratory
NFC signal and protocol analyzer using SDR receiver
Stars: ✭ 41 (-12.77%)
Mutual labels:  nfc, nfc-forum
Metrodroid
Read data from public transit cards using your NFC Android phone! (iOS 13 and PC/SC support coming soon)
Stars: ✭ 238 (+406.38%)
Mutual labels:  nfc
Proxmark3gui
A cross-platform GUI for Proxmark3 client | 为PM3设计的图形界面
Stars: ✭ 122 (+159.57%)
Mutual labels:  nfc
Acr122u Reader Writer
A simple tool to read/write Mifare RFID tags with an ACR122U device
Stars: ✭ 169 (+259.57%)
Mutual labels:  nfc
Transitpal
A open source Swift app for iOS 13 that allows you to check your NFC transit card information. Written with SwiftUI.
Stars: ✭ 135 (+187.23%)
Mutual labels:  nfc
Yubioath Android
Yubico Authenticator for Android
Stars: ✭ 176 (+274.47%)
Mutual labels:  nfc
Ketai
Ketai sensor library for Processing (Android mode)
Stars: ✭ 114 (+142.55%)
Mutual labels:  nfc
Libfreefare
A convenience API for NFC cards manipulations on top of libnfc.
Stars: ✭ 252 (+436.17%)
Mutual labels:  nfc
Wwdc
You don't have the time to watch all the WWDC session videos yourself? No problem me and many contributors extracted the gist for you 🥳
Stars: ✭ 2,561 (+5348.94%)
Mutual labels:  nfc
Andprox
Native Android Proxmark3 client (no root required)
Stars: ✭ 161 (+242.55%)
Mutual labels:  nfc
Chameleonmini Rebootedgui
Windows based GUI for Chameleon Mini, the contactless smartcard emulator (NFC/RFID)
Stars: ✭ 159 (+238.3%)
Mutual labels:  nfc
Easydeviceinfo
📱 [Android Library] Get device information in a super easy way.
Stars: ✭ 1,698 (+3512.77%)
Mutual labels:  nfc
Mifareclassictool
An Android NFC app for reading, writing, analyzing, etc. MIFARE Classic RFID tags.
Stars: ✭ 2,698 (+5640.43%)
Mutual labels:  nfc
Rfidtools
RRG Android App for use with Proxmark3 RDV4 and the blueshark addon
Stars: ✭ 127 (+170.21%)
Mutual labels:  nfc
Flutter Nfc Reader
Flutter NFC reader plugin for iOS and Android
Stars: ✭ 240 (+410.64%)
Mutual labels:  nfc
External Nfc Api
Interaction with external NFC readers in Android
Stars: ✭ 123 (+161.7%)
Mutual labels:  nfc
Tagmo
No description or website provided.
Stars: ✭ 2,249 (+4685.11%)
Mutual labels:  nfc
Passport Reader
e-Passport NFC Reader Android app
Stars: ✭ 172 (+265.96%)
Mutual labels:  nfc
core
UBIC: The crypto currency providing UBI for the masses using the E-Passport
Stars: ✭ 37 (-21.28%)
Mutual labels:  nfc
Nfc Android
Android Nfc技术解析、使用
Stars: ✭ 249 (+429.79%)
Mutual labels:  nfc

Android Host Card Emulation of a NFC Forum Type-4 tag

This example emulates a NFC Forum Type-4 tag with an a single NDEF record (RTD_TEXT). The project uses aid-filter F0394148148100 (which is an example that is defined in the Android documentation) for the APDU SELECT command.

Whoa there what?

The NFC Forum Type 4 Tag Operation Specification 3.0 outlines how to interact with tags. Using Host Card Emulation in Android, we can do something pretty nifty:

  1. We can write an application on the card reader side that sends the proper APDU SELECT and associated commands and interact with a "card".
  2. That "card" in this case is emulated in our Android application.

Where can I get the tag operational spec?

There are various copies on the Internet, but the place to go is to sign the specification license and download direct from the NFC Forum document library.

How do I interact with the Android application through a card reader?

You have to follow the commands in your client application. You can also compile and run the sample in the apdu_exchange_tester directory that is based on the APDU examples from libNFC (for detailed instructions, see the readme in that folder).

Where can I learn more about Host Card Emulation on Android?

You'll need API 19 (aka Android 4.4) to use HCE. See Host-based Card Emulation @ developers.android.com for all the details.

What if I want to interact with or read a Type-4 tag?

This is a different sort of thing and you'll want to look into ISO-DEP.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].