Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Bi-Directional Android Beam

Here's what I'm trying to do with 2 Galaxy Nexuses running Android 4.0 with NFC capabilities:

  • Device A and B are in close enough to initiate an Android Beam UI.
  • Device A sends a beam to Device B
  • Device B received beam, does some processing, and then sends a response beam back to device A

I have the initial beam from A -> B working fine but not the communication back. I do want to send something more than just an 'ACk', like a small payload of data. Is there any way to do this over NFC with the current APIs or will I have to look towards WiFi/BT p2p communication?

like image 660
dougzor Avatar asked Nov 14 '22 12:11

dougzor


1 Answers

I don't think this is possible unless you pull the devices apart then put them together again and explicitly beam data from Device B to A with the touch to beam UI. You can use NFC to initiate a BT connection though and get the job done.

like image 162
robertly Avatar answered Nov 16 '22 03:11

robertly