0 Replies Latest reply: Oct 22, 2012 1:25 AM by 936354 RSS

    What do I need to get the simulator to work?

    936354
      Question A:
      1) I first create an opt file that specifies the AID
      Is this a valid opt?
      -out JCA CAP EXP
      -applet 0xA0:0x00:0x00:0x00:0x62:0x03:0x01:0x0C:0x07:0x01 edica
      -exportpath D:/JCDK3.0.4_ClassicEdition/api_export_files
      edica
      0xA0:0x00:0x00:0x00:0x62:0x03:0x01:0x0C:0x07 1.0
      2) Create an applet application
      3) Create a script file (apdu) .scr file that specifies the operation of an human being.
      4) Run the cref.bat simulator by cref -o mydemo
      5) Run ant all for the applet
      6) Restart the simulator by cref -i -z mydemo (transaction already on smart card)
      *** how can my SWING application capture this information? Do I run netbeans (Debug Main Project...) and calling the interface module, and it would work?


      Question B,
      How do I run the simulator concurrently with this Java application?
      That means when I generate a transaction using the script file (how do I enter it to the simulator without starting and restarting it?) anytime, the Java application client will recognize this transaction, and show up the correct log on my screen?
      Thanks
      Jack

      Edited by: 933351 on Oct 21, 2012 11:24 PM

      Edited by: 933351 on Oct 21, 2012 11:24 PM