-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Weird intent action #11
Comments
Same to me, any solution for this? @markusbug did you find any other approach? |
@markusbug @leonardosetiadi I tried to build the the app but it keeps failing, Can you guys provide the apk file pls (in .zip), tks. |
@markusbug it happens to me too |
Same issue here even when I approach a NDEF-formatted NFC tag (which for instance I can read from NFC tools on the same device). I tried changing the manifest accordingly to what they say here, but with no success. Was any of you able to get it working?
|
I found this repository https://github.com/nguyencongtu2004/NFC-Demo that has a code able to read tags. I put the code from this repo there and I'm now able to read tags. Currently working on getting the HCE part of the code working. |
@underwindfall, I have a question: I didn't understand how the reader is able to trigger the HCE app. I can see here
NFCAndroid/app/src/main/java/com/qifan/nfcbank/cardEmulation/KHostApduService.kt Lines 22 to 36 in 0b15d14
app and not on the readnfcmessage ?
I also read your comment on StackOverflow: https://stackoverflow.com/questions/29122848/ndef-message-with-hce-android, but i quite haven't understood. Were you able to emulate the first authentication code message to be processed by the HCE app, so that the reader should just send the binary read message or am I getting something wrong here? |
I was able to get it working! Forked repo can be found here: https://github.com/albertoZurini/NFC-Demo, please send me pull requests if you found anything wrong! |
@albertoZurini Could you provide the APK file? Thanks. |
@kevin930321 what do you mean by APK? If you go to my repo you can check the GIF. There's not much point in sharing the APK since it is useless (only transferring a string from a phone to the other). If you want it I can share it still, would you like to share an email/Telegram/whatever I can send the APK to? |
@albertoZurini Oh, I see, never mind then, thanks a lot. |
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!
The text was updated successfully, but these errors were encountered: