Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User njacharya21's Avatar
    Join Date
    Jul 2003
    Posts
    9
    Hi,

    I am wondering on how to make sure that pressing the middle select button would throw out the default affirmative action event on the screen.

    My observation is, if the screen type is a 'Form', pressing the middle select button on 3650 throws out default affirmative action that is specified by Command.OK . Is my observation true? I tried hard to search information on this, but, I could not find any information.

    Waiting for response,

    -Nachiket

  2. #2
    Super Contributor shmoove's Avatar
    Join Date
    Mar 2003
    Location
    Israel
    Posts
    2,280
    My "middle select button", you mean pressing the joystick, right?
    If so, then I've noticed the same behaviour on the 7650. I don't have any definitive document that can assert that, though.

    shmoove

  3. #3
    Registered User njacharya21's Avatar
    Join Date
    Jul 2003
    Posts
    9
    Yeah, I am talking about joystick button. Any authoritative thought on what kind of Displayables/button-types can the joystick button work?

    Any response is greatly appreciated.

  4. #4
    protected void keyPressed(int keyCode) {
    int gameAction = getGameAction(keyCode);
    switch (gameAction) {
    case FIRE:
    // do something
    break;
    }
    }

    is it what u want??? sorry if i miss understand

  5. #5
    Super Contributor shmoove's Avatar
    Join Date
    Mar 2003
    Location
    Israel
    Posts
    2,280
    No he means adding a Command to any displayable (Screen or Canvas), and having the Command triggered when the fire button is pressed. Without any low level event-handling.

  6. #6
    oic, nothing can help, sorry

  7. #7
    I have exactly the same problem on the 6230i, does any one know how to pick up the key code of the select button of the joystick to select an item on a canvas. When the select button is pressed the keyPressed method is not called.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved