Our Online Store have the new products: RFID antenna board. Currently it can work with JC10M24R and JCOP4 card chips.
Compared with normal cards, the antenna board module has a smaller size and fixed holes, which is easy to integrate in the IOT(Internet Of Things) project.

How to inform the user about the begin time and the end time of a method excution in java card

JavaCard Applet Development Related Questions and Answers.
Tarantino
Posts: 101
Joined: Wed Aug 19, 2015 1:56 am
Points :478
Contact:

How to inform the user about the begin time and the end time of a method excution in java card

Post by Tarantino » Wed Oct 07, 2015 10:52 pm

I have just completed an applet. And there are 5 methods in the process() method in my applet. Just like

Code: Select all

public void process(APDU apdu)
{
    byte buf[] = apdu.getBuffer();
   
    if (selectingApplet())
    {
        return;
    }
   
    Method_1(apdu);
    Method_2(apdu);
    Method_3(apdu);
    Method_4(apdu);
    Method_5(apdu);
}


What I want to ask is how the users know when one method begins to execute and when it stops.
I mean how to inform the user about the begin time and the end time of a method excution in java card.
The greatest glory in living lies not in never falling, but in rising every time we fall.--Nelson Mandela

rena2019
Posts: 68
Joined: Thu Aug 20, 2015 4:16 pm
Points :1790
Contact:

Re: How to inform the user about the begin time and the end time of a method excution in java card

Post by rena2019 » Thu Oct 08, 2015 3:00 am

that's not possible. If you want time measurements you have to call each method separately with an APDU and measure the timing on the terminal/PC side

Tarantino
Posts: 101
Joined: Wed Aug 19, 2015 1:56 am
Points :478
Contact:

Re: How to inform the user about the begin time and the end time of a method excution in java card

Post by Tarantino » Thu Oct 08, 2015 4:12 am

rena2019 wrote:that's not possible. If you want time measurements you have to call each method separately with an APDU and measure the timing on the terminal/PC side


Thank you for your answer.
The greatest glory in living lies not in never falling, but in rising every time we fall.--Nelson Mandela

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 20 guests

JavaCard OS : Disclaimer