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.

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: 18
Joined: Mon Sep 18, 2017 9:52 pm
Points :240
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 52 guests

JavaCard OS : Disclaimer