I am just thinking about possibility to realize data sending/receiving between 2 or more NFC enabled smartphones. Is it possible or not? All I see about NFC is about interaction between NFC terminal/card and phone...
This is the nfc p2p mode. Android Beam is the "pre-installed" android nfc sharing app. BlackBerry Tag (O.S. 7.1) does the trick for BlackBerry. Nokia's nfc handsets already do it out of the box. I just don't know; What about tapping a nokia to an android, or android to blackberry, does it work? Feedback from users is hard to find yet.
Line one from: http://developer.android.com/reference/android/nfc/package-summary.html
Provides access to Near Field Communication (NFC) functionality, allowing applications to read NDEF message in NFC tags. A "tag" may actually be another device that appears as a tag.
Hope this answers your question :-)
Related
Can anyone tell me whether it is possible to write to the NFC tag in a smartphone?
I know that's not the usual application and I could write the (small amount of) data to an app on the phone as well but I'd like to implement this in a way that doesn't require an app installed on the phone.
I have read answers to some more application-specific questions here regarding the use of a (specific) smartphone as an NFC tag, but I have a very limited understanding of RFID technology in smartphones and none of these answers have helped me answer my very simple question.
For my application I'd need to be able to write the data to any smartphone, or at least the majority of devices currently in use, without the "active participation" of any SW on the phone.
So if anyone could tell me whether or not this is even possible, I'd greatly appreciate that :) Thanks for any input!
Android smartphones any developer make the phone behave like a Type 4 NFC tag with host card emulation.
With iOS only Apple can make the phone behave like an NFC Tag (with Apple Wallet)
So what you want is not really possible.
You might be achieve what you want with something like PassKit https://passkit.com/ as that allows you to store "passes" in Google and Apple wallets which have NFC capability.
Though you might be better of with QR code as they can be read on all devices with the camera and show on screen by your apps.
We have an Android app that writes data to a NFC tag using Android Beam. After deprecation of Beam in sdk 29, is there any alternative for data transference with a NFC tag?
Is it possible to use Google Nearby Share with a NFC tag?
I didn't found any documentation for it.
Google Nearby Share is Bluetooth or Wifi Direct as these were deemed by method to transfer data in the deprecation of Android Beam.
It should be technically possible to still transfer data via NFC without Android Beam, though there are some technical difficulties to over come.
One Device pretends to be a NFC Card with Host Card Emulation (HCE) and the other device reads/writes to it as if it was a normal Type 4 NFC card.
There are some complications if one device still has Android Beam but using the enableReaderMode NFC API to read/write to the Emulated Card should get around this.
I think some people of StackOverflow have tried this, I have not personally but the process of using HCE should be technically possible.
Currently using React Native and attempting to use react-native-nfc-ios and react-native-nfc so I can have cross-device communication between ios and Android. I'm finding that they cannot communicate, however I think it's due to a broader issue (as other existing apps also don't work).
If I download a NFC reader app on iPhone 7, and an NFC writer app on Android they cannot communicate. Why is this?
Instructions to Duplicate
Turn on NFC Reader on iPhone 7
Put some arbitrary data in NFC write mode on Android
Bringing devices together has no effect.
Not understanding the intricacies of NFC, it's hard for me as a casual programmer to understand what the actual problem is.
I understand that IOS11 on iPhone 7 (plus) supports NFC read, and generally speaking there are card emulation, peer to peer, and read write modes.
Should they not communicate? The iPhone is not able to pick up the
Android writer. Why is this?
How does card emulation (I assume to be Apple Pay), differ from a write mode?
The reason is because Apple's iOS 11 update only allows reading from NFC tags (writing is only permitted for Apple Pay). At the moment, their software does not share the same enjoyment afforded by Android phones which enable card emulation, peer-to-peer, and reader/writer NFC usage. So our only hope is to wait for a software update that will finally enable this existing feature for developers to use.
I am planning to purchase some NFC tags for my Android App which I am developing. The aim of the NFC tags is for the user to tap their phone on the tag which will open the app. I've researched around the web and its possible for open an app from tapping a NFC tag.
My question is does it matter which tag I buy to achieve this goal?
And can you recommend any NFC tags which would be best for this goal?
Thank you
I recommend you to use Mifare Ultralight or NFC TAG 203 which are compatible with all Android devices.
Don't use Mifare Classic they are not supported by all android devices.
this link might help you to choose
I am working with NFC in Android. I have done things with NFC tags and Android Beam, but I am wondering if is possible to communicate two Android phones with NFC without Android Beam.
I mean, I want to transfer some information, like a text or a URL using peer-to-peer in two Android phones, as if they were two NFC tags. I want to read and write this information in the other device, but the only way I have found to comunicate and trasfer data using P2P in Android is with Android Beam.
Is it possible?
PS. Sorry for mi english
No. It is not possible - if you want to use NFC bearer, only the SNEP/NPP over LLCP is possible (i.e. peer2peer mode).
Petr