Hello,
I'm also interested in reading an Android NFC phone with any NFC
reader.
I don't really see what this means in the documentation :

"The NFC device that is receiving the pushed data (the scanned device)
must support the com.android.npp NDEF push protocol"

Is the scanned device the phone or the other device (a NFC reader in
my case) ?
Does that mean the two devices involved in the P2P communication must
be Android devices ?

Thanks for your help.

On Feb 28, 4:54 pm, Nick Pelly <[email protected]> wrote:
> Hi Dave,
>
> Correct, we do not support Card Emulation in the SDK. It's actually very
> hard to do this in a consistent way across the Android platform, due to the
> current hardware architecture of NFC. Different NFC hardware can
> support Card Emulation in very different ways, to the point where its very
> hard to design a useful and consistent API.
>
> Peer-to-peer is the way to go. We have just one API call for this now -
> NfcAdapter.enableForegroundNdefPush() but it is surprisingly powerful.
>
> Nick
>
>
>
>
>
>
>
> On Fri, Feb 25, 2011 at 9:33 AM, davemac <[email protected]> wrote:
> > I'm no NFC guru, but from what I can tell of the docs and the samples,
> > there's no way to do card emulation on an Android device at this time,
> > using the SDK. Is that correct?
>
> > I see the published classes/methods for reading/writing tags, and for
> > the Ndef push using P2P and the mysterious com.android.npp package
> > (anyone know where there's more information on that?). But that
> > doesn't get me to turning the Android device into whatever tag I want
> > it to be read as by some other NFC reader, at least I'm pretty sure it
> > doesn't. Unless the NFC sensor reads and writes my device's tag if
> > there happens to be one on the device. Is that how it's supposed to
> > work? If that last part is true, is there some sort of convention on
> > how I recognize "my" tag as compared to any other tag I come into
> > contactless with?
>
> > I saw posts describing how to do this from the NDK level but I'm
> > asking about from the SDK level. I also saw source code with
> > unpublished methods for card emulation, which leads me to believe that
> > it's just not possible, yet.
>
> > Thanks for any help on this.
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to [email protected]
> > To unsubscribe from this group, send email to
> > [email protected]
> > 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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to