Hi,

I'm back to ask a little questions about nfc.

I have a NFC tag reader and Google Nexus S. I want to create an app
for Google Nexus S that emulates a nfc tag.

1) Where I could find example code in java? Because there isn't no
info about this.

I think it could be similar to:
-Creating the nfc tag to emulate (give him a value)
-Activating emulation of nfc tag
-Wait for a NFC tag reader signal (NFC tag reader sends a message
telling to the phone, msg received?)
-Desactivating emulation of nfc tag

My NFC reader is CPR40.30-USB (More info:
http://www.toptunniste.fi/topshop/product_details.php?p=264&c=76).

2) Should I create new functions to use it and create a new SDK? Did
you know any tutorial to modify SDK and create other functions? Or
should I create it in NDK using native code?

3) The steps to enable Google Nexus S Smart Card functionality will
be:

-Unlock the boot loader
-Root Google Nexus S
-Create the modified rom (with the diff you posted in
http://groups.google.com/group/android-developers/browse_thread/thread/d5fc35a9f16aa467/dec4843abd73d9e9%3Flnk%3Dgst%26q%3Dsecure%2Belement%2Bdiff%2527s%23dec4843abd73d9e9
).
-Load the new rom.
-Install the app

4) Do you know when all nfc funcionality will be available in the
official SDK?


Thanks!


On 26 abr, 17:22, nemik <[email protected]> wrote:
> Alberto,
>
> A while back I posted my diff's to the Android source code to get this
> working 
> here:http://groups.google.com/group/android-developers/browse_thread/threa...
>
> I was able to get the SmartMX secure element to be exposed in both
> wired mode and visible to other NFC readers. Other than that though,
> I'm not sure much else can be done to the SE such as loading
> applications to it because it is locked down and you need the secret
> keys to write to those parts of its memory. I'm pretty sure only
> Google and NXP know what those keys are.
>
> I did not make my changes to the Cyanogen source though; but rather
> the plain Android source base. After unlocking the bootloader on the
> Nexus S and loading my version of the OS, NFC emulation mode was
> working.
>
> On Apr 26, 5:51 am, Alberto González <[email protected]> wrote:
>
>
>
>
>
>
>
> > Hi all,
>
> > I undestand that smartcard feature is not available for developers.
>
> > I readed in this website that is possible to available 
> > it:http://www.nearfieldcommunicationsworld.com/2011/02/13/35913/uncovere...
>
> > The clues that I get to make it available is:
> > "Download the source (actually from CyanogenMod 7 to have the full
> > build environment for the new Nexus S), make the appropriate changes
> > to the code, recompile everything and put it back into the phone and
> > it works — Nexus S supportscardemulation and SWP!"
>
> > Also I need to root it... I know..
>
> > The question is: are there anybody who could provide more info about
> > this?
>
> > Thanks in advantage

-- 
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