Skip to Main Content

Java Card

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Javacard vs. Sim Toolkit context.

843851Aug 8 2002 — edited Oct 22 2002
Hi,
I am a fairly new developer in this area and I have a question about SIM context. I am developing on an Xpresso V3 card using the Gemplus Case 3 DevKit. I have been using the sim.toolkit.ToolkitInterface for all of my apps with processToolkit() as my entry point to the applet. I dont use the Javacard 2.1 select() or process() methods, even though I inherit from the javacard.framework.applet, and Im wondering if STK applets act differently on the card. Do they not get 'selected'? I implemented select() and process() in the same applets but the two never seemed to get called on both the simulator and on 2 phones I tested (Nokia and Ericsson). The main reason I ask this question is because I have trouble with allocating transient data using the CLEAR_ON_DESELECT type in that a security or illegal_transient exception are always thrown telling me that I am not the selected app???
Please help.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 19 2002
Added on Aug 8 2002
4 comments
448 views