[android-developers] Re: Nexus S,how to exchange ndef data via p2p.

2011-06-16 Thread Tommy
Hi Michael : Thanks for your answer about npp.Now i got it. Regards. tommy. -- 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

[android-developers] Re: Nexus S,how to exchange ndef data via p2p.

2011-06-15 Thread Michael Roland
Hallo Tommy,      1.  i send the ndef data by the enableForegroundNdefPush(this, mMessage)function in onResume,but how can i known that the mMessage is send over,can i got the notification or Intent? You don't. Even if another device's NPP server picks up the NDEF message from the NPP client,

[android-developers] Re: Nexus S,how to exchange ndef data via p2p.

2011-06-15 Thread Tommy
Hi Michael : Thanks for your replys. No. The NPP happens on a higher layer of abstraction than the NFC-DEP. (The NFC-DEP is the NFC peer-to-peer data exchange protocol that knows initiators and targets.) The NPP sits on top of the LLCP and the LLCP sits on top of NFC-DEP. LLCP removes the

[android-developers] Re: Nexus S,how to exchange ndef data via p2p.

2011-06-15 Thread Michael Roland
Hallo Tommy, For NPP, the NPP server creates a listening LLCP socket and waits for pushed NDEF messages. The NPP client is invoked by the foreground NDEF push and sends NDEF messages to NPP servers. From your replys,i has some doubt about NPP.You mean the NPP server and NPP client both on