October 22, 2024
Chicago 12, Melborne City, USA
Android

Android NFC(?) Device to Device Communication- Major failure


need major help, here is what I have tried so far:
my goal:
App1Terminal: Waits for a mobile device to get in proximity
App2Device: Comes in proximity, opens channel with App1Terminal and sends some data
App1Terminal: Receives data from App2Device and responds with some level of decision as well as shows decision on its screen
App2Device:Gets the result of action from App1Terminal and shows it on the screen
Since it is NFC(I think it is nfc that is suited for this) App1Terminal will ONLY entertain a NFC connection from App2Device apps, and same for App2Device it will only send message to App1Terminal.
I create both applications, using nfc I am able to read a NFC tag, however I am not able to make a communication between 2 devices.
My test devices were samsung J7(app1terminal) and S9(app2device)
I have tried even HCE communication…but failed miserably…All the data that I search on these topics is older..eg few years old, and much of the code seems to have been deprecated.
Can some one please help, What I do not understand is that google wallet works exactly the same way on POS devices, they both communicate and send data between each other.
Please guide ..Thanks



You need to sign in to view this answers

Leave feedback about this

  • Quality
  • Price
  • Service

PROS

+
Add Field

CONS

+
Add Field
Choose Image
Choose Video