Wednesday, March 28, 2012

[android-developers] NFC bidirecional communication with Android ICS using two Nexus S

I am working on my Computer Science's thesis about NFC and I'm facing
some unexpected difficulties in Android ICS.

My application basically needs to implement these steps (using two
Nexus S):

1 – Phone one sends a NDEF message to the phone two;
2 –The phone two receives and process this message and returns a new
message to the phone one;
3 – The phone one receives and stores this message.

The problem is that I can only send one message by tap and along with
it, I'm forced to touch the "Touch to Beam" UI.
Isn't it possible to have a bidirectional communication between two
Android NFC enabled phones?

I can even give up using NDEF if I can achieve the above behavior,
mas I can't accept that this limitation is real.

In this way, it is not possible to write an application in a most
used architecture where you need to perform an action based on a
confirmation. The current onNdefPushComplete callback method will only
tell my application that the message was correctly sent, but I have no
way to know it was received by correct application and processed with
success.

Any help is appreciated.
Best regards.
Woody

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment