kamal kumar a écrit :
HI all,
I don't know whether it is right forum to ask.
you can try here or at alt.technology.smartcards newgroup.
I am new to java card applet development. I have
written one sample applet. and loaded the applet using
sclumberger toolkit. But while installing the applet I
am facing problem. I need to tell the applet size
required for install. I don't know how to find the
required size  required for the installation.

option 1: bad card domain, change card domain (or card).

the CAP file's size should be used if:
- "installing" means "loading the CAP file" and
- "applet size" means "size need to store that library".
(if so, the card is quite stupid, since this information
is usually in the first 256 bytes of the CAP file)


option 2: card domain with memory allocation controls

OOH, if
- "installing" means "instantiating the applet" or
- "applet size" means "size needs during instantiation
 to manage allocation in its constructor", the response
 is up to you and only defined by what you have insert
 in your applet constructor.
(of course if instance, array, ..., instantiation is
also required during the applet's life you want take
such figures into account when computing that "needed
size").

and such information makes sense for a card domain.

Sylvain.



_______________________________________________
Muscle mailing list
Muscle@lists.musclecard.com
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to