Hi Nemik,

thanks for your helpful posts so far. I was able to activate the
emulation mode on my Nexus S with the help of your patch.
Now I am able to read and write the emulated tag with an external nfc
reader.
Is this want you meant with >> You can talk to it as if it were a
MiFare card though if you don't do wired emulation mode. <<
Or is there a possibility to read and write the emulated tag with the
Nexus S, perhabs via reflection? I need to read and write the emulated
tag with an android application.
Trying that so far just bring me to a Security Exception,
WRITE_SECURE_SETTINGS permissions missing. Adding these permissions to
the Android Manifest doesn't help.
What do you mean with >> and key off of that UID from the emulated
tag. <<

Thanks a lot.

Martin

On 3 Mai, 23:23, nemik <[email protected]> wrote:
> 1. There are no examples, this is green territory.
>
> 2. Again, it's new and up to you. Personally though, not sure I would
> bother. When an API does come out, it'll be different from yours and
> you'll need to re-do things. I'm also pretty sure that no end-users
> are going to want to install your custom ROM for some of this
> functionality. Unless you're just doing it for yourself or internal
> phones you control, this isn't worth developing to sell or distribute
> to 'regular' users.
>
> 3. Pretty much, though you might not need to install any app. You can
> just let it emulate the entire time and key off of that UID from the
> emulated tag. You can talk to it as if it were a MiFare card though if
> you don't do wired emulation mode.
>
> 4. No clue and Google isn't saying anything either.
>
> On May 3, 11:27 am, Alberto González <[email protected]> wrote:
>
>
>
>
>
>
>
> > 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 
> > inhttp://groups.google.com/group/android-developers/browse_thread/threa...
> > ).
> > -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