It's our great honour to announce the Industry’s First VHBR CCID reader - VHBR Dual interface smart card reader vR504. It is able to support the world’s fastest ePassports.

To celebrate the new product release, there is Special Discount for New Registered Members in our store.
- Get $20.00 OFF instantly for smart card reader vR504, R502 and bR301

Come to get the readers now!

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 :172
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: Baidu [Spider] and 4 guests

JavaCard OS : Disclaimer