在Android(安卓)emulator上测试NFC
16lz
2021-01-26
here's a summary of what to do to set up the OpenNFC stack with the NFC controller (NFCC) simulator.
--The stack (with NFCC simulator) is supported on Windows host only, since both the Connection Center and the NFCC simulator are Windows apps.
--Need to download all 3 packages:
OpenNFC Android SDK addon[url]http://sourceforge.net/projects/open-nfc/files/Open%20NFC%204.3%20beta%20%2810381%29/Open%20NFC%20for%20Android%20SDK%20Addon%20v4.3.0%20%2810381%29.zip/download[/url]
OpenNFC core Edition[url]http://sourceforge.net/projects/open-nfc/files/Open%20NFC%204.3.0%20%2810877%29/Open%20NFC%20-%20Core%20Edition%20v4.3.0%20%2810877%29.zip/download[/url], which has the Connection Center and the NFCC simulator apps.
The echo server: EchoTool[url]http://bansky.net/echotool/[/url]
--Install the SDK addon, and create an AVD using the SDK Addon.
--start Connection Center (run "Connection Center.exe") and config it to accept client connections from other machines.
--start NFCC simulator (run "NfcSimulator.exe").
--start echo server (on port 7), using the cmd: echotool /p tcp /s 7
--start Android emulator using the AVD just created.
--from the emulator, select Settings->Wireless & networks->NFC settings
--enter 10.0.2.2 in IP Connection Center
--select Simulator for NFC HAL implementation
--now click the NFC toggle (check box) to start the NFC stack!
reference[url]http://stackoverflow.com/questions/6770774/getting-started-with-open-nfc-emulator[/url]
--The stack (with NFCC simulator) is supported on Windows host only, since both the Connection Center and the NFCC simulator are Windows apps.
--Need to download all 3 packages:
OpenNFC Android SDK addon[url]http://sourceforge.net/projects/open-nfc/files/Open%20NFC%204.3%20beta%20%2810381%29/Open%20NFC%20for%20Android%20SDK%20Addon%20v4.3.0%20%2810381%29.zip/download[/url]
OpenNFC core Edition[url]http://sourceforge.net/projects/open-nfc/files/Open%20NFC%204.3.0%20%2810877%29/Open%20NFC%20-%20Core%20Edition%20v4.3.0%20%2810877%29.zip/download[/url], which has the Connection Center and the NFCC simulator apps.
The echo server: EchoTool[url]http://bansky.net/echotool/[/url]
--Install the SDK addon, and create an AVD using the SDK Addon.
--start Connection Center (run "Connection Center.exe") and config it to accept client connections from other machines.
--start NFCC simulator (run "NfcSimulator.exe").
--start echo server (on port 7), using the cmd: echotool /p tcp /s 7
--start Android emulator using the AVD just created.
--from the emulator, select Settings->Wireless & networks->NFC settings
--enter 10.0.2.2 in IP Connection Center
--select Simulator for NFC HAL implementation
--now click the NFC toggle (check box) to start the NFC stack!
reference[url]http://stackoverflow.com/questions/6770774/getting-started-with-open-nfc-emulator[/url]
更多相关文章
- 代码中设置drawableleft
- android 3.0 隐藏 系统标题栏
- Android开发中activity切换动画的实现
- Android(安卓)学习 笔记_05. 文件下载
- Android中直播视频技术探究之—摄像头Camera视频源数据采集解析
- 技术博客汇总
- android 2.3 wifi (一)
- AndRoid Notification的清空和修改
- Android中的Chronometer
随机推荐
- Android(安卓)开发(04)高级UI组件
- [置顶] Android(安卓)LockScreen
- Android(安卓)技术专题系列之二 -- telepho
- Android(安卓)省市县 三级联动(android-wh
- An error has occurred. See error log f
- Android(安卓)图片处理之图片叠加--Bitma
- 启动android project时报resources.ap_ d
- Android(安卓)Camera子系统之进程/文件Vi
- fedroa16 编译android 4.0.1
- Android(安卓)support library支持包常用