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

2012-03-28 Thread Woody Lemes N. Costa
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


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

2012-03-28 Thread mike digioia
Are you using the openfire server or trying some how to connect driectly
between two phones? If so, how are you publishing and discovering an IP?

On Wed, Mar 28, 2012 at 4:46 AM, Woody Lemes N. Costa woody.co...@gmail.com
 wrote:

 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+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

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

2012-03-28 Thread Woody Lemes N. Costa
mdp, no no, I'm talking about NFC (Near Field Communication) in p2p mode, 
there is no IP involved in such techonology.

Em quarta-feira, 28 de março de 2012 13h20min48s UTC-3, mpd escreveu:

 Are you using the openfire server or trying some how to connect driectly 
 between two phones? If so, how are you publishing and discovering an IP?

 On Wed, Mar 28, 2012 at 4:46 AM, Woody Lemes N. Costa 
 woody.co...@gmail.com wrote:

 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+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

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

2012-03-28 Thread mike digioia
Oh yes sorry. I have not worked on NFC yet. Maybe some one that has will
reply

On Wed, Mar 28, 2012 at 9:44 AM, Woody Lemes N. Costa woody.co...@gmail.com
 wrote:

 mdp, no no, I'm talking about NFC (Near Field Communication) in p2p mode,
 there is no IP involved in such techonology.

 Em quarta-feira, 28 de março de 2012 13h20min48s UTC-3, mpd escreveu:

 Are you using the openfire server or trying some how to connect driectly
 between two phones? If so, how are you publishing and discovering an IP?

 On Wed, Mar 28, 2012 at 4:46 AM, Woody Lemes N. Costa 
 woody.co...@gmail.com wrote:

 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 android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+**unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/**group/android-developers?hl=enhttp://groups.google.com/group/android-developers?hl=en


  --
 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+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en