Looks like a fun weekend project:
This post is to shows how to exchange arbitrary data between an Android phone and an NFC reader application. To make things a bit more interesting, we'll tunnel an HTTP download over NFC. The Android app provides a URL which the terminal (we assume it's connected to the Internet) will download and send back to the app.
Specifically, this post will show how to build:
- An Android app that uses NFC with Host Card Emulation to perform bidirectional communication with an NFC reader application.
- A simple NFC reader application based on libnfc and libcurl.
Full sample code for this post is available at https://github.com/classycodeoss/android-nfc-http-tunnel.
(Score: 2) by Justin Case on Saturday March 25 2017, @02:42PM (1 child)
My usually nefarious imagination is failing me today. Is this to hack the NFC reader? No, it seems the reader must cooperate. So it is just a bizarre proxy?
Inspire me...
(Score: 2) by Nerdfest on Saturday March 25 2017, @04:10PM
Just a cool trick.