How can i download the Mifare SDK FULL version of library?

Forum / MIFARE SDK / How can i download the Mifare SDK FULL version of library?

  • 22. September 2014 at 5:02

    Anonymous
    I want to write a application to Desfire card , but lite version only can write ndef message or some bytes.
    I use the com.nxp.nfclib.cards.DESFire ,but it does not work by nxpnfcliblite.jar .
    + 0  |  - 0

    Re: How can i download the Mifare SDK FULL version of library?

    22. September 2014 at 8:29
    Hi lishuang,
    With nxpnfcliblite.jar you can authenticate the DESFire card , get the UID of the DESFire card and also you can read and write the any arbitrary data. you can see the sample code for reference, where using of DESFire lite functions are explained.

    Please follow below steps.
    1) Get the new factory default DESFire card. [ Must ]
    2) Follow the basic skeleton of the code as given in sample app.
    3) In onNewIntent function implement Nxpnfcliblitecallback call back in filterIntent API.
    4) Override the onDESFIRECardDetected function in Nxpnfcliblitecallback
    5) When you tap the card you will automatically get the Desfire object in onDESFIRECardDetected ,

    All the above steps are given in sample application source code.
    Ensure that all the NFC required permissions and required intent filters are correctly registered in your application. See AndroidManifest.xml for reference.

    Ensure you have included the techlist.xml in res/xml folder in application structure. you can see the source code for reference.

    Regards,
    Maruthi Konda
    + 0  |  - 0

    Re: How can i download the Mifare SDK FULL version of library?

    23. September 2014 at 9:29

    Anonymous
    Thanks a lot.
    I want to write a helloworld.cap file to my application,but it limt 256 bytes,
    this helloworld.cap file have 2.3 Kb,it only printf("hello world");
    the log shows:
    com.nxp.nfclib.exceptions.SmartCardException: File length of 256 bytes is only supported in Lite Version.
    Can Advanced Version write more than 256 bytes file?
    + 0  |  - 0
Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.