×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Mar 2003
    Location
    Israel
    Posts
    119

    Question Simulating key event

    Hi.
    Is it possible, and if so how, to simulate a soft key command ?

    I would like to activate an option which can be enabled by pressing a softkey when the phone application is at the foreground. I have managed to set my application to be at the background and use the time event to make the call however I didn't figure up yet how to simulate the softkey key pressed command.

    if its possible I would like to know how can I get the specific command id and send it to the phone main application (the command id which the phone application uses when the user presses the softkey).

    anyone ?


    Thanks !
    Shai . K
    Last edited by Shaikuny; 2005-09-04 at 13:51.

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,166

    Re: Simulating key event

    you could send key to open the menu and then up/down arrows to select the command, and then send ok to select it. Thou then you need to know excatly what is shown in the menu.

    yucca

Similar Threads

  1. Replies: 6
    Last Post: 2004-12-22, 05:24
  2. Simulating Long Key Press event in debugging mode...
    By empeegee in forum Multimodecards
    Replies: 1
    Last Post: 2004-12-18, 06:31
  3. Replies: 8
    Last Post: 2003-07-11, 12:56
  4. Key Event Issues
    By mykes in forum Symbian
    Replies: 0
    Last Post: 2003-05-01, 10:55
  5. Key event not working in 7650 simulator
    By hillcast1 in forum Mobile Java General
    Replies: 1
    Last Post: 2002-12-15, 14:47

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×