×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Feb 2006
    Posts
    10

    Device Specific Keys

    Hi all,

    I am trying to simulate device specific keys in my application, but I do not know what does EDeviceKey0-F and EKeyApplication0 simulate. Please can anyone tell me what does the all simulate or how can I use them.

    Thanks and Regards,
    Sahil

  2. #2
    Registered User
    Join Date
    Jan 2005
    Location
    Helsinki, Finland
    Posts
    257

    Re: Device Specific Keys

    Hi,

    I found the following logs in while testing EDeviceKey0-F keys:
    13/03/2006 6:43:52 aKeyEvent.iCode : 0
    13/03/2006 6:43:52 aKeyEvent.iScanCode: a4 (right softkey) EStdKeyDevice0
    13/03/2006 6:43:52 TEventCode aType : 3
    13/03/2006 6:43:52 .
    13/03/2006 6:44:03 aKeyEvent.iCode : 0
    13/03/2006 6:44:03 aKeyEvent.iScanCode: a5 (left softkey) EStdKeyDevice1
    13/03/2006 6:44:03 TEventCode aType : 2
    13/03/2006 6:44:03 .
    13/03/2006 6:44:34 aKeyEvent.iCode : 0
    13/03/2006 6:44:34 aKeyEvent.iScanCode: a7 (OK key) EStdKeyDevice2
    13/03/2006 6:44:34 TEventCode aType : 3
    13/03/2006 6:44:34 .
    13/03/2006 6:45:56 aKeyEvent.iCode : 0
    13/03/2006 6:45:56 aKeyEvent.iScanCode: c4 (yes key) EStdKeyYes
    13/03/2006 6:45:56 TEventCode aType : 3
    13/03/2006 6:45:56 .
    13/03/2006 6:51:34 aKeyEvent.iCode : 0
    13/03/2006 6:51:34 aKeyEvent.iScanCode: c5 (no key) EStdKeyNo
    13/03/2006 6:51:34 TEventCode aType : 2
    13/03/2006 6:51:34 .
    13/03/2006 6:47:52 aKeyEvent.iCode : f852
    13/03/2006 6:47:52 aKeyEvent.iScanCode: b4 (menu key) EStdKeyApplication0
    13/03/2006 6:47:52 TEventCode aType : 1
    13/03/2006 6:47:52 .
    I am not sure about others EStdKeyDeviceX. But my wild guess is that EStdKeyDeviceX is specific for soft keys and the value of EStdKeyDeviceX chages in different situations. Hope it helps!

    Br,
    MadSum
    Do it now! Today will be yesterday tomorrow - MadSum

  3. #3
    Registered User
    Join Date
    Feb 2006
    Posts
    10

    Re: Device Specific Keys

    Hi,

    I had tried EKeyDevice0 and simulated it, this corresponds to left soft key but when I tried EKeyApplication0 it does not simulate anything.

    Is there any way that I can make use of these KeyCodes in my application or they are predefined in Symbian.

    I have read in SDK help that EKeyApplication0-F are codes for Application Launcher, so these codes are predefined to launch a specific application or can we specify our own.

    Thanks in Advance.
    Regards,
    Sahil

  4. #4
    Registered User
    Join Date
    Nov 2006
    Posts
    20

    Re: Device Specific Keys

    hi to all i m newble in all i want to know that can i Simulate key press in game application

    i read from some posts that in game application CdirectScreenAccess is used and SendKey and SimulateKey method is used in case of WindowServer


    Is there any way to take full control on Mobile using Computer including game using AT commands and otherways
    so please reply me soon its very criticle for me......

    thanks in advance

Similar Threads

  1. Do we still have device specific APIs for MIDP2.0 phones?
    By qmei in forum Mobile Java General
    Replies: 1
    Last Post: 2006-01-23, 12:09
  2. Bluetooth Security: What exactly is an untrusted device?
    By rahulmcs in forum Bluetooth Technology
    Replies: 1
    Last Post: 2005-12-02, 06:26
  3. Device discovery for connected device
    By ilotsala in forum Bluetooth Technology
    Replies: 3
    Last Post: 2004-07-21, 08:03
  4. Device Specific Capabilities - How to Find?
    By tkinsman in forum General Development Questions
    Replies: 0
    Last Post: 2004-01-21, 20:33
  5. Functions to convert from int color to device specific color type?
    By talskol in forum Mobile Java Media (Graphics & Sounds)
    Replies: 0
    Last Post: 2003-04-26, 21:45

Posting Permissions

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