Git Product home page Git Product logo

nfcandroid's Introduction

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

  • read NFC Message Application

    • Android
    • iOS
  • nfc read card bank info (EMV)

Ref

Beam Transfer

nfcandroid's People

Contributors

teewhydope avatar underwindfall avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nfcandroid's Issues

Weird intent action

Hey!

When I have a device running the HCE and another one running "readnfcmessage", the reader is always pushing as the intent action "android.intent.action.MAIN" and nothing in there. Why is the intent action this (even though the app is already open) and the phone is vibrating because an NFC chip was found?

Thanks in advance!

Does this work on AS 3.5.3

Trying this out on AS 3.5.3 and getting a build error:

Could not find org.jetbrains.kotlin:kotlin-scripting-compiler-embeddable:1.3.21.
Required by:
project :buildSrc
Search in build.gradle files

Thank you once again for your contributions.

Hello, I'm the Flutter developer who visited you before. I wanted to express my sincere gratitude for your open-source contributions. I have finally created an open-source project utilizing your work to benefit Flutter developers, and I have clearly mentioned your GitHub address in the README to acknowledge that I used your work to create this Flutter plugin. I'm thrilled to share this news with you, even though it's a bit late. Thank you once again for your contributions.

https://pub.dev/packages/flutter_nfc_hce

Exception: decodeObjectForKey: class "NFFieldNotification" not loaded or does not exist

Hello @underwindfall, I tried your android HCE and scanned it with Iphone Xs on iOS 12.1.2, and it shows this following error. This is also shown on Official CoreNFC app as well. Is this because the current android hce is not compatible with apple's specification? I am sure that they follow the specification from NFC forum.

2018-12-29 21:17:50.454300+0900 NFCTagReader[530:68425] [general] <NSXPCConnection: 0x283c24090> connection to service named com.apple.nfcd.service.corenfc: Exception caught during decoding of received message, dropping incoming message.
Exception: Exception while decoding argument 0 (#2 of invocation):
Exception: decodeObjectForKey: class "NFFieldNotification" not loaded or does not exist
2018-12-29 21:17:50.462534+0900 NFCTagReader[530:68425] [Assert] Cannot be called with asCopy = NO on non-main thread.

Thank you for your open-source contributions.

Hello, I am a Flutter developer. I am working on an app that needs to perform NFC host card emulation on Android and read NFC data on iOS. While searching for resources, I came across your NFCReaderiOS and NFCAndroid libraries. After testing them for a few days, I found that they work perfectly on the latest versions of iOS and Android. I would like to use them as a reference for my project and wanted to express my gratitude by leaving a message on your issues page. There are no issues to report, but I wanted to say thank you. Wishing you happiness always, and once again, thank you very much.

Will this work for Tap to charge

Hi ,Thank you for the library..i am developing an EV based application ..will it work for tap to charge vehicle like driver uses mobile app using nfc and taps to nfc based charger(acts as nfc reader) and chargers his vehicle and does it work for Android to Android device.
Thank You

Add .apk

please add a compiled .apk

thanks

How can I install it?

I am using an Android 13 phone and I need NFC functionality. I know a little about APKs, but I couldn't figure out how to install it. A text or text explaining how to make this an APK Or can you share a ready-to-install APK file? Thanks.

Request to check issue NFC can not read write with android version 12

I have problem with NFC android version 12 with my code cannot read and write tag.

URL : As the code we use this source code: https://github.com/underwindfall/NFCAndroid

Detail Information about problem:
As the above URL code we use host-based card emulation (HCE) for write information via NFC device version 12. At previous time when I test this device with version 11 host-based card emulation (HCE) can write information as well and other devices can read. but when it's these devices upgrade to version 12, now cannot write and read anymore.

Could you please help use for how can we implement with that or you can make suggestion or guide use more about how to implement development for Payment via NFC tap to pay (phone to phone by mobile app).

Could you guide us how can we make payment via NFC tap to pay (phone to phone)? The case version 12 above now we don't have solution yet.

Thanks your for your support. We are waiting from your confirmation back.

Best regard.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.