Excited to tell you that our welfare activity has been upgraded - Paying only $5.00 + Freight to get JCOP J3H145 card and A40CR card.
Please check this post for more details.

Moreover, if you want to get Free Samples by Paying Freight only , please check this page.

Geting Error on getIncomingLength() and getOffsetCdata()

JavaCard Applet Development Related Questions and Answers.
arasn
Posts: 3
Joined: Sat Oct 14, 2017 3:09 am
Points :84
Contact:

Geting Error on getIncomingLength() and getOffsetCdata()

Post by arasn » Sat Oct 21, 2017 10:11 pm

Dears,
I am geting an Error at compile time, with using getOffsetCdata() as well as getIncomingLength

in spite that I used import: import javacardx.apdu.*;

line 178: short lc = apdu.getIncomingLength();


Code: Select all

[color=#FF0000]C:\JAVACA~1\SDK\Sample\GPSample\src\GPSample\Sample.java:178: cannot find symbol[/color]
symbol  : method getIncomingLength()
location: class javacard.framework.APDU
        short lc = apdu.getIncomingLength();
                       ^


Hope one of you know how to solve and let to fix it.

Best Regards

yangwei
Posts: 1
Joined: Thu Sep 22, 2016 11:15 pm
Points :24
Contact:

Re: Geting Error on getIncomingLength() and getOffsetCdata()

Post by yangwei » Wed Nov 15, 2017 4:31 am

did you import javacard.framework .

roundtable
Posts: 14
Joined: Mon Sep 18, 2017 9:52 pm
Points :180
Contact:

Re: Geting Error on getIncomingLength() and getOffsetCdata()

Post by roundtable » Tue Nov 21, 2017 5:08 am

You should add following statement at beginning of your code:
import javacard.framework.*;

Try it

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 3 guests

JavaCard OS : Disclaimer