SELECT APDU disables STK events?

Hi,
How come after I select an applet with the SELECT APDU command, STK events no longer trigger the processToolkit method?
STK events work fine prior to the APDU command. After an applet has been selected, not even the menu event works.
Thanks all!

Although you would have had your answers by now .... but if incase .... :)
There is a difference between ToolkitApplets and normal Applets. When working with Toolkit Applet, the method processToolkit() is actually provoked by "GSM Applet" which is actually the selected Applet at the moment.
Thanks,
AQ

Similar Messages

  • Disable Specific Event in Datagrid

    Hi everybody,
    I'm searching a way to disable native event (CTRL+B keyPress
    in a datagrid) but I couldn't find anything in the actionscript
    reference.
    Is there somebody who manage to do something like this on a
    component???
    Thanks

    Hi Moorthi,
    Found Alex Harui’s excellent entry on 'Disabling List Selection' - http://blogs.adobe.com/aharui/2007/06/disabling_list_selection.html.
    Same concept could be applied for datagrid selection.
    Thanks and Regards,
    Pooja Kuber | [email protected] |http://www.infocepts.com

  • How do I move selected photos from one event to another in iPhoto

    Using iPhoto 9.5.1, how to I move selected items from one event into another event. I do not wish to merge both events. Thanks.

    select the photos and flag them - then select the target event and use the add flagged photos to selected event command
    LN

  • Can  DISABLE preProcess Event Handler add to the Orchestration parameters?

    I have a DISABLE pre-process event handler defined on the User object. I need to set the current date on a USR UDF attribute whenever the user is disabled or enabled or created. The CREATE handler works and the date value shows up on the user profile. However, when I try to set this attribute on the pre-process DISABLE or ENABLE event handlers, the new date does not show up. Here is the code I am using in my DISABLE/ENABLE event handler:
    Date currentTime = new Date(System.currentTimeMillis());
    orchestration.addParameter(USER_STATUS_DATETIME_ATTR_NAME, currentTime);
    Where the orchestration object is from the execute() parameter list.
    Any ideas as to why this is not working? Is adding to the orchestration not allowed for DISABLE or ENABLE event handlers? I know my handler is getting calls as I am logging the orchestration.getOperation() value.
    Thanks for any suggestions.
    -Dave
    Edited by: user552098 on Nov 12, 2012 1:56 PM

    When you update the field, make sure you are using the field label name, and not the UDF value.
    -Kevin

  • How do I quickly select a series of events in Yosemite's Calendar App?

    I know users can still hold down the shift key and select multiple events (One at a time). However, the last version of Calendar allowed users to select a series of events (such as 20) all at once by clicking on the first and last event while holding down shift in the list section of the day view. The update to Apple Calendar in Yosemite seems to have removed the list view of calendar events. In the past update, all selected events could then be moved at once by holding down the control and option keys while using the arrow keys.
    Is this feature no longer available or is there another method?

    Update: There is one workaround I found. Click here to view my video demonstrating how this is done.
    Explanation: If there are a series of events to select all at once, this can be done as long as they are within a 42 day range and are grouped under one calendar or a series of calendars. All you have to do is go to the month view, make sure the calendars are visible and type ⌘+A. However, any calendars users do not wish to select must be temporarily hidden.

  • When syncing iPod touch to MacBook, I have selected to sync only events newer than 360 days. Yet I get message that sync will change 8000 events on "this computer"  most of which are years old and many are recurring events.  I'm afraid to proceed

    When syncing iPod touch to MacBook, I have selected to sync only events newer than 360 days. Yet I get message that sync will change 8000 events on "this computer"  most of which are years old and many are recurring events.  I'm afraid to proceed with sync. 

    Having the same problem here. As a first time mac user, Apple has certainly made a bad first impression.
    For me, the issue seems to occur when transferring files between computers that are connected to the same access point (when transferring files from wired computers on the network there is no issue). My vista laptop and every laptop I have tried has worked perfectly fine with this access point so I am 100% convinced it is the mac. Basically when I copy the files, after about 100mb, I am unable to access anything on the local network or internet until I restart Airport. The weird thing is that even though I am unable to access anything, the airport utility says it is connected. I might also note that the wireless signal strength is full.
    If I can't get this figured out in a few days, this computer is going back to the store where it came from and I will officially label myself anti-mac. This type of issue is just unacceptable for something so main stream.

  • How can I disable the "Events" how can I disable "Faces"

    buona sera
    how can I disable the "Events"
    how can I disable "Faces"
    grazie

    You can not
    Events are one of many views or your photos in your library - as are faces
    YOu can simply ignore both but you can disable them
    LN

  • Disablying keyboard events in a JFrame.

    Hello,
    How is it possible to disable keyboard events for a specific JFrame and then (after a while) enable events again ?
    thank you,
    Rami

    Look at this program, events are send but you can't see the data in the fields.
    import java.awt.*;
    import java.awt.event.*;
    public class Nok extends Frame
    public Nok()
         super();
         setBounds(6,6,400,300);     
         addWindowListener(new WindowAdapter()
        {     public void windowClosing(WindowEvent ev)
                   dispose();     
                   System.exit(0);
         setLayout(new GridLayout(4,0));     
         add(new TextField("this is a text field"));
         add(new TextArea("this is a text area"));
         add(new Button("this is a button"));
         setVisible(true);
         Toolkit.getDefaultToolkit().addAWTEventListener(new AWTEventListener()
         {     public void eventDispatched(AWTEvent e)
                   System.out.println(""+e);
                   ((KeyEvent)e).consume();
         }   ,AWTEvent.KEY_EVENT_MASK);
    public static void main (String[] args)
         new Nok();  
    Noah
    import java.awt.*;
    import java.awt.event.*;
    public class Nok extends Frame
    public Nok()
         super();
         setBounds(6,6,400,300);     
         addWindowListener(new WindowAdapter()
    {     public void windowClosing(WindowEvent ev)
                   dispose();
                   System.exit(0);
         setLayout(new GridLayout(4,0));     
         add(new TextField("this is a text field"));
         add(new TextArea("this is a text area"));
         add(new Button("this is a button"));
         setVisible(true);
         Toolkit.getDefaultToolkit().addAWTEventListener(new AWTEventListener()
         {     public void eventDispatched(AWTEvent e)
                   System.out.println(""+e);
                   ((KeyEvent)e).consume();
         } ,AWTEvent.KEY_EVENT_MASK);
    public static void main (String[] args)
         new Nok();

  • Problem with select APDU

    Hi all
    I have a problem when trying to test an applet created by me like Sebastian Lorquet proposed in this post:
    Re: Ask Global Platform SecureChannel
    I managed to install my applet on the card, and when I check the applets it contains I can see that the AID of mine appears.
    But when I use it and send APDUs through it, the SELECT command fails me.
    The SELECT APDU instruction is:
    Command -> 00A404000B0102030405060708090000
    where 01 02 03 04 05 06 07 08 09 00 00 is the AID of my applet
    The response is as follows:
    Response <- 6D00 (Invalid instruction byte / Command not supported or invalid)
    Do not understand why I get that answer.
    I am using gpshell, and the command used is:
    select -AID 0102030405060708090000
    Thanks in advance
    Edited by: bra_racing on 05-jul-2012 15:28

    ah ok. Just answer me one thing, are you using below code ?
    package test;
    import javacard.framework.APDU;
    import javacard.framework.Applet;
    import javacard.framework.ISO7816;
    import javacard.framework.ISOException;
    import org.globalplatform.GPSystem;
    import org.globalplatform.SecureChannel;
    * @author shane
    public class TestSecureChannel extends Applet {
        private final static byte INS_INIT_UPDATE = 0x50;
        private final static byte INS_EXT_AUTH = (byte) 0x82;
        private TestSecureChannel() {
            // empty
        public static void install(byte bArray[], short bOffset, byte bLength) throws ISOException {
            new TestSecureChannel().register();
        public void process(APDU apdu) throws ISOException {
            if (selectingApplet()) {
                return;
            byte[] buffer = apdu.getBuffer();
            byte cla = buffer[ISO7816.OFFSET_CLA];
            byte ins = buffer[ISO7816.OFFSET_INS];
            SecureChannel sc = GPSystem.getSecureChannel();
            if ((byte) (cla & 0x80) == 0x80) {
                switch (ins) {
                    case INS_INIT_UPDATE:
                    case INS_EXT_AUTH:
                        apdu.setOutgoingAndSend(ISO7816.OFFSET_CDATA, sc.processSecurity(apdu));
                        return;
                    default:
                        // fall through
            switch (ins) {
                case (byte) 0x01:
                    buffer[0] = sc.getSecurityLevel();
                    apdu.setOutgoingAndSend((short) 0, (short) 1);
                    break;
                default:
                    ISOException.throwIt(ISO7816.SW_INS_NOT_SUPPORTED);
    }If not above one then copy past your code here. For time being for what I understand it that to send get data command your currently selected application should be card manager.
    Edited by: Umer on Jul 10, 2012 4:34 PM

  • Disabling mouse events

    hi,
    I am having objects on a JFrame that respond to mouse events. I would like to know how I can disable these events. I use the addMouseListener to register a mouse event on something. Is there a way to remove or to deregister mouse events.
    I basically have a game of tiles on a JFrame and I am going to have the human player play against the computer. I want to be able to have turns; computer and human player turn.

    removeMouseListener()

  • Select Query after the Event "GET  node "

    Hi,
    My requirements is I am calling get object event in my report and preparing an internal table in the get event, after this i need to write a select query based on this internal table..
    i want to avoid select query inside get event, my problem is to end the GET event and write a select query..
    How can i do that..
    can i write it in the end-of-selection.( i don't think so)
    it looks like this.
    start-of-selection.
    get objec.
    " Internal table preparation
    ????????event name needed??????????
    select query.....
    please suggest.

    END-OF-SELECTION.
    Effect
    This statement defines an event block, whose event is raised by the ABAP-runtime environment during the calling of an executable program , if the logical database, with which the program is linked, has completely finished its work.
    Moderator message - Sandeep - if you have to cut and paste from the help, please note it as such.
    Edited by: Rob Burbank on Nov 26, 2009 12:42 PM

  • Disable trace event

    Hi,
    I have enable a trace and now i want to disable this event trace. How can i do this??
    The command that i use to enable is the following:
    alter system set events '1349 trace name context forever, level 7'
    Tks,
    Paulo.

    Oops!!!
    I done worng
    alter system set events '1349 trace name context off, level 7';
    Tks,
    Paulo.

  • Data Selection is disabled in Infopackage

    Hello Friends,
    I am facing a small problem.
    I want to pull data for an infosource 2LIS_05_UDN.
    Now there are already infopackages  existing for the infosource, but it is not allowing me to select date range, the data selection is disabled.
    How do i go about it??
    Thanks in advance,
    Regards,
    Anuradha Vakil

    Hi,
    are you trying to load the data through a package with option of delta load.
    Then you cannot give the selection.
    You can give selection only for full load and init packages and not delta packages.
    also you can check in RSA3 in the source system if you have any selection options for that data source or not.
    Thanks

  • I need to disable key events - J2ME

    Is there anyway, in J2ME, to disable key events while processing a current key? I want to avoid queing up of key events and then re-enable key events when I am done handling the current key.
    public void keyPressed(int keyCode) {
    switch (keyCode) {
    case -50:
    // I want to disable key events here
    // process this key
    // re-enable key events
    break;
    default:
    break;

    I had tried using a boolean to skip avoid the key as you suggested. That does not work. It seems as if the keys are only being processed in a serial manner. By that I mean the keyPressed method is not receiving the second and third keys while I am processing the first. So when I am done processing the first key I set isOkayToProcess=true and then the second key comes in.

  • DISABLE MOUSE EVENT on jlabel

    Dear all,
    I have a jlabel on which i perform a click and the embbeded image switch between start and stop image.
    My problem consists in preventing from performing multiples click/or disabling mouse event while the application starts loading some parameters.
    switchViewLabel.addMouseListener(new MouseAdapter() {
                   public void mouseClicked(MouseEvent e) {
                        //it takes a long time
                                   onSwitchViewButtonClick();
    protected void onSwitchViewButtonClick() {
              System.out.println("onSwitchViewButtonClick");
              if (canGo) {
                   System.out.println("canGo");
                   canGo = false;
                   MainWindowPeer.getInstance().setCursorToWait();
                         //this action load parameter
                            CommandWindow.getInstance().switchView();
                         refreshSwitchViewButton();
                   MainWindowPeer.getInstance().setCursorToDefault();
                   canGo = true;
         } But on my console i have noticed :
    canGo
    onSwitchViewButtonClick
    canGo
    onSwitchViewButtonClick
    canGo.....
    It looks like we store mouse event anywhere and for each event we execute onSwitchViewButtonClick code and consume event.(it seems to not be asynchronous)....
    How to do ???
    Thanks for any helps..

    Dear all,
    yes i want to ignore mouse events until the processing is done.But how to perform process in separate thread and what is a semaphore.Is it possible to have much more explanation...
    Shall i do following code..
    mouseAdapter = new MouseAdapter() {
                   public void mouseClicked(MouseEvent e) {
                        SwingUtilities.invokeLater(new Runnable(){
                             public void run() {
                                  //switchViewLabel.removeMouseListener(mouseAdapter);
                                  onSwitchViewButtonClick();
                                  //switchViewLabel.addMouseListener(mouseAdapter);
              };Thanks you in advance...

Maybe you are looking for

  • How do I create a new calendar on ios 7?

    I have many events with different organizations and I want each organization to have a seperate calendar.

  • Substitution variable in ADF

    substitution varible in ADF arise error (ora-10008) when create view object read only object the statment SQL: select * from Name table where id=&name; iwant make array of binding varible 1,2,3,4,.................................

  • Cost event and Cost change API

    Hello, based on the documentation of RMS 13.2 and tests performed, the cost change information applied throught RMSSUB_XCOSTCHG.CONSUME doesn't create Cost events in RMS, thus, the future cost engine have no invoirmation about the changed cost. Logic

  • E2000 Wireless Connection Problems PPPOE.

    I have verified my password and user name over and over. When I try to connect the Router to the internet I keep getting a error saying IP not given. How do I fix this? Solved! Go to Solution.

  • Disk Utility:Restore backup option

    Regarding Kappy's suggestion: (http://discussions.apple.com/thread.jspa?messageID=1327363&#1327363) To do just a full backup you can use the Restore option of Disk Utility: 1. Open Disk Utility from the Utilities folder. 2. Select the startup volume