JavacardOS will not accept order any more, please contact our partner Feitian online Store:
https://ftsafe.en.alibaba.com/index.html
https://ftsafe.en.alibaba.com/index.html
How to call call the process() method in another applet
How to call call the process() method in another applet
Hello, I am newbie in java card field. I have tried to write an applet which need to call the process() method in another applet. How can I implement this? It would be better if you give me a sample code. Pls forgive me if my question is stupid.
Re: How to call call the process() method in another applet
See the sample code:
Target applet
Client applet:
Target applet
Code: Select all
class TargetApplet {
public static Applet INSTANCE;
private TargetApplet() {
}
public static void install() {
INSTANCE = new TargetApplet();
INSTANCE.register();
}
}
Client applet:
Code: Select all
TargetApplet.INSTANCE.process();
Who is online
Users browsing this forum: No registered users and 22 guests