host-card-emulation-sample-master

所属分类:单片机开发
开发工具:Java
文件大小:16KB
下载次数:22
上传日期:2016-03-11 09:08:09
上 传 者ldwcmx
说明:  HCE卡模拟示例,供参考,nfc 手机模拟金融IC卡的demo
(host base emulation android)

文件列表:
.classpath (466, 2013-11-25)
.project (829, 2013-11-25)
.settings (0, 2013-11-25)
.settings\org.eclipse.jdt.core.prefs (587, 2013-11-25)
AndroidManifest.xml (1410, 2013-11-25)
LICENSE (1086, 2013-11-25)
proguard-project.txt (781, 2013-11-25)
project.properties (563, 2013-11-25)
res (0, 2013-11-25)
res\drawable-mdpi (0, 2013-11-25)
res\drawable-mdpi\ic_launcher.png (3777, 2013-11-25)
res\layout (0, 2013-11-25)
res\layout\activity_main.xml (882, 2013-11-25)
res\values (0, 2013-11-25)
res\values\dimens.xml (213, 2013-11-25)
res\values\strings.xml (335, 2013-11-25)
res\values\styles.xml (680, 2013-11-25)
res\xml (0, 2013-11-25)
res\xml\apduservice.xml (414, 2013-11-25)
src (0, 2013-11-25)
src\de (0, 2013-11-25)
src\de\grundid (0, 2013-11-25)
src\de\grundid\hcedemo (0, 2013-11-25)
src\de\grundid\hcedemo\IsoDepAdapter.java (1280, 2013-11-25)
src\de\grundid\hcedemo\IsoDepTransceiver.java (1466, 2013-11-25)
src\de\grundid\hcedemo\MainActivity.java (1657, 2013-11-25)
src\de\grundid\hcedemo\MyHostApduService.java (918, 2013-11-25)

host-card-emulation-sample ========================== Sample app for the Host-based Card Emulation released in Android 4.4 This app is a simple demo app where most of the code was taken from the Host-based Card Emulation documentation at: http://developer.android.com/guide/topics/connectivity/nfc/hce.html The HostApduService will simply wait for a SELECT AID apdu and then start a simple message exchange. Every message gets a unique message number. You can find a precompiled APK in the releases section of this repository. This app is used in conjunction with a demo app based on the NfcTools for Java project where a connection from an ACR122U desktop NFC reader is made. The reader will connect to this app and exchange arbitrary messages with the Android device. Have a look at the blog post how this all works together: http://blog.opendatalab.de/hack/2013/11/07/android-host-card-emulation-with-acr122/ I've also updated this app to demonstrate the Reader-Mode in Android 4.4 which allows you to communicate to a second Android device in host-based card emulation mode. For the time being you need an Android 4.4 device for this to work.

近期下载者

相关文件


收藏者