Dear Srijoy!

Sebastian is right in his answer about the selection mechanism on
JavaCard
as thus us how applets are identified. However be aware, that in normal
SIM
operations a Sim Toolkit (STK) Java Applet is never selected directly as
it is 
run when the main GSM applet (This may be written in Java or a native
application)
is selected.
The way STK applets get activated is by registring to an event in the
ToolkitRegistry
during installation. (Class ToolkitRegistry is defined in package
sin.toolkit).
This type of event is typically a menu selection, but can also ba an
incoming
call or SMS or a setup of a call, etc. When this event occures the
mobile 
equipment (ME) sends an APDU to the selected GSM applet (method
Applet.process).
This applet then is responsable for searching the registry for STK
applets
registered for this event and triggering their processing method.
This is not done by calling Applet.process but instead by calling the
method
ToolkitInterface.processToolkit of the interface
sim.toolkit.ToolkitInterface
which all STK applets must define. 
For a deeper understanding look at the SIM API for JavaCard
specification of ETST
(GSM03.19 or 3GPP ETSI TS 101 476). Appendix A contains also the
definition of the
packages sim.toolkit and sim.access which are esential for all Java SIM
applets.

Regards
Martin


Sebastian Hans wrote:
> 
> An applet on the JavaSIM card is selected by SELECT with AID as defined
> in Java Card 2.1, an elementary file is selected with his short file
> identifier as defined in 3GPP TS 11.11 formaly GSM 11.11.
> 
> JavaSIM are widely used in Europe, I think some US based operators are
> noe starting with JavaSIM toolkit based applications.
> 
> Sebastian Hans
> 
> Srijoy Das wrote:
> >
> > Hi!
> > Can anybody help me out on thes questions:
> >
> > 1. How does one differentiate between Selecting
> > normal GSM Elementary files, and selecting a java applet
> > on a   java SIM card and executing the applet?
> >
> > 2. Are java SIM cards widely used and available in US ?
> >
> > The reasonable man adapts himself to the world; the unreasonable one
> > persists in trying to adapt the world to himself. Therefore all progress
> > depends on the unreasonable man.
> >
> > ---
> > > Visit the OpenCard web site at http://www.opencard.org/ for more
> > > information on OpenCard---binaries, source code, documents.
> > > This list is being archived at http://www.opencard.org/archive/opencard/
> >
> > ! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email
> > ! to
> > !                           [EMAIL PROTECTED]
> > ! containing the word
> > !                           unsubscribe
> > ! in the body.
> 
> --
> _____________________________________________________________________
> Sebastian J. Hans
> Java Card Business Development
> 
> email: [EMAIL PROTECTED]   Sun Microsystems
> Tel: +49-(0)30-74 70 96 701             Sebastian J. Hans
> Fax: +49-(0)30-74 70 96 99              Komturstrasse 18a
> mobile: +49-(0)174-300 75 34            12099 Berlin
>                                         Germany
> _____________________________________________________________________

-- 
**************<- Developer Support Center Munich ->**************

Sun Microsystems GmbH        Martin Merck
Sonnenallee 1                DSC
85551 Kirchheim-Heimstetten  Phone: +49-89-46008-2115
Germany                      Fax:   +49-89-46008-2570
www.sun.de                   mailto: [EMAIL PROTECTED]

*****************************************************************


---
> Visit the OpenCard web site at http://www.opencard.org/ for more
> information on OpenCard---binaries, source code, documents.
> This list is being archived at http://www.opencard.org/archive/opencard/

! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email
! to
!                           [EMAIL PROTECTED]
! containing the word
!                           unsubscribe 
! in the body.

Reply via email to