<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Other NXP ProductsのトピックRe: Using TapLinx SDK for Java</title>
    <link>https://community.nxp.com/t5/Other-NXP-Products/Using-TapLinx-SDK-for-Java/m-p/1813060#M21288</link>
    <description>&lt;P&gt;I did so. Thanks for pointing me to the appropriate place.&lt;/P&gt;</description>
    <pubDate>Wed, 21 Feb 2024 18:52:12 GMT</pubDate>
    <dc:creator>IkarovoPero</dc:creator>
    <dc:date>2024-02-21T18:52:12Z</dc:date>
    <item>
      <title>Using TapLinx SDK for Java</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Using-TapLinx-SDK-for-Java/m-p/1811658#M21229</link>
      <description>&lt;P&gt;Greetings!&lt;/P&gt;&lt;P&gt;I have developed successful solutions for reading DESFire smart cards used in Croatian public services, both for:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Dot Net. Multi platform, using &lt;A title="PCSC sharp" href="https://github.com/danm-de/pcsc-sharp" target="_self"&gt;pcsc-sharp&lt;/A&gt; and "raw" APDU approach.&lt;/LI&gt;&lt;LI&gt;Android. Using TapLinx SDK for Android and high level-approach. For example: &lt;FONT face="andale mono,times"&gt;myDesFire.getUID()&lt;/FONT&gt; instead of raw APDU commands.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Right now, I'm trying to develop multi platform solution in Java, using TapLinx SDK for Java and high-level approach.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I rely on &lt;FONT face="andale mono,times"&gt;javax.smartcardio&lt;/FONT&gt; for polling connected card terminal to see when smart card is inserted or removed, and it works perfectly. In my testing app (JavaFX if that matters), in &lt;FONT face="andale mono,times"&gt;onCardInserted&lt;/FONT&gt; event, I'm calling my own &lt;FONT face="andale mono,times"&gt;cardLogic&lt;/FONT&gt; method. That method tries to connect to smart card. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In Android, it is very simple:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times"&gt;public static Card cardLogic(final Intent intent, NxpNfcLib nxpNfcLib, MyCardKeys keys) {&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times"&gt;//... some code ommited for brevity&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times"&gt;desFireEV = DESFireFactory.getInstance().getDESFireEV2(nxpNfcLib.getCustomModules());&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times"&gt;desFireEV.getReader().connect();&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times"&gt;byte[] uid = desFireEV.getUID();&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times"&gt;// ...and so on.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;In Java, similar method of mine is:&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times"&gt;public static Card cardLogic(CardTerminal terminal, MyCardKeys keys) {&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times"&gt;//... some code ommited for brevity&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times"&gt;javax.smartcardio.Card javaCard = terminal.connect("*");&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times"&gt;desFire = DESFireFactory.getInstance().getDESFireEV2(TapLinx.getCustomModules());&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="andale mono,times"&gt;// NOW WHAT!???&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times"&gt;desFire.getReader().connect(); &lt;STRONG&gt;// This does not work, of course. HOW TO "connect" context of javaCard object with getting a concrete reader, so that...&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times"&gt;byte[] uid = desFire.getUID(); &lt;STRONG&gt;//... I can do this without raising an exception?&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times"&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;So, questions are those in comments of the above code snippets. I'm totally stucked. Probably missing something obvious. but I can not figure out the solution, not even when reading code of both sample apps.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times"&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Please help. &lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2024 08:41:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Using-TapLinx-SDK-for-Java/m-p/1811658#M21229</guid>
      <dc:creator>IkarovoPero</dc:creator>
      <dc:date>2024-02-20T08:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: Using TapLinx SDK for Java</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Using-TapLinx-SDK-for-Java/m-p/1812197#M21246</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/229745"&gt;@IkarovoPero&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;Hope you are doing well.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My apologies, this is not the proper support path for this inquiry. Please, consider redirecting your inquiry to the &lt;A href="https://www.mifare.net/en/login/?msg=2&amp;amp;al=/developer/home/" target="_blank"&gt;TapLinx Developer Community&lt;/A&gt;, there you may find some additional supporting resources and get in touch with other developers that might have faced similar scenarios.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Eduardo.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2024 20:32:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Using-TapLinx-SDK-for-Java/m-p/1812197#M21246</guid>
      <dc:creator>EduardoZamora</dc:creator>
      <dc:date>2024-02-20T20:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: Using TapLinx SDK for Java</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Using-TapLinx-SDK-for-Java/m-p/1812221#M21248</link>
      <description>&lt;P&gt;Thanks for reply.&lt;/P&gt;&lt;P&gt;Those old forums were migrated here on 1st of September 2023. Please see the official announcement here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.mifare.net/support/forum/topic/taplinx-forum-migration-full-transition-on-1st-of-september-2023/" target="_self"&gt;https://www.mifare.net/support/forum/topic/taplinx-forum-migration-full-transition-on-1st-of-september-2023/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It is not possible to create new topics there any more. See screenshot attached, and there's no posts from this year. So, I guess that &lt;STRONG&gt;this&lt;/STRONG&gt; forum &lt;STRONG&gt;is&lt;/STRONG&gt; the appropriate place for questions about TapLinx SDK.&lt;/P&gt;&lt;P&gt;Well, I'd be really grateful if someone could put me to the right direction.&lt;/P&gt;&lt;P&gt;I did also try raw APDU approach without TapLinx SDK, using just javax.smartcardio, but since smartcardio was actually developed to support contact cards, one can not make more complex operations targeting contactless cards. So, I can read DESFire's UID, select Identity app, read app IDs, but I can not read BER TLV files, for example, even if not encrypted.&lt;BR /&gt;&lt;BR /&gt;So, once more, help, please. I'm sure that I'm on the appropriate forum.&lt;/P&gt;&lt;P&gt;Best regards!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2024 21:39:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Using-TapLinx-SDK-for-Java/m-p/1812221#M21248</guid>
      <dc:creator>IkarovoPero</dc:creator>
      <dc:date>2024-02-20T21:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: Using TapLinx SDK for Java</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Using-TapLinx-SDK-for-Java/m-p/1812978#M21285</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I truly apologize for the confusion.&lt;/P&gt;
&lt;P&gt;You can find the available forums for NFC in &lt;A href="https://community.nxp.com/t5/Identification-and-Security/ct-p/identification-security" target="_blank"&gt;Identification and Security - NXP Community&lt;/A&gt;. Please, consider posting your question in the "TapLinx SDK, TagWriter and TagInfo" forum.&lt;/P&gt;
&lt;P&gt;I apologize for the inconvenience.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Eduardo.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2024 16:54:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Using-TapLinx-SDK-for-Java/m-p/1812978#M21285</guid>
      <dc:creator>EduardoZamora</dc:creator>
      <dc:date>2024-02-21T16:54:05Z</dc:date>
    </item>
    <item>
      <title>Re: Using TapLinx SDK for Java</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Using-TapLinx-SDK-for-Java/m-p/1813060#M21288</link>
      <description>&lt;P&gt;I did so. Thanks for pointing me to the appropriate place.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2024 18:52:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Using-TapLinx-SDK-for-Java/m-p/1813060#M21288</guid>
      <dc:creator>IkarovoPero</dc:creator>
      <dc:date>2024-02-21T18:52:12Z</dc:date>
    </item>
  </channel>
</rss>

