jCardSim as Javacard Applet debugger
Posted: Wed Aug 26, 2015 3:09 am
Today, i use the jCardSim to simulate an javacard, and i can debug my applet code with eclipse java.
But, when install the applet, if my code as following:
There is an exception raised;
when my code as following:
The install operation process succeeded;
What's the wrong?
But, when install the applet, if my code as following:
Code: Select all
public static void install(byte[] bArray, short bOffset, byte bLength) {
new TestApplet().register(bArray, (short) (bOffset + 1), bArray[bOffset]);
}
There is an exception raised;
when my code as following:
Code: Select all
public static void install(byte[] bArray, short bOffset, byte bLength) {
new TestApplet().register();
}
The install operation process succeeded;
What's the wrong?