But that means you can't use your Android device at one of those point- of-sale terminals that can read NFC tags, right? The bit in the documentation about com.android.npp is confusing since I can't find any information on that package anywhere. So I assume that only Android devices can participate in the NFC P2P interaction. I know you can't give a date of when card emulation would be available, but can you at least say that it's being worked on and that we may see it someday?
I appreciate your help. The Android team is great for spending time in these forums. It really helps a lot. - dave On Feb 28, 10:54 am, Nick Pelly <npe...@google.com> 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 <davemac...@gmail.com> 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 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