×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    Jun 2007
    Posts
    5

    Volume UP/Down capture and Key Lock

    Hi,

    I have been able to capture volume up and down buttons using the Remote Control API. However this is not enough for me, I would like to capture these keys, while the key-lock is on. If I use an external headset these events are generated, but not if I push the buttons from the phone itself.

    Does anyone know any method to capture the volume up/down keys while having the key-lock on ?

  2. #2
    Registered User
    Join Date
    Jun 2006
    Location
    India
    Posts
    1,043

    Re: Volume UP/Down capture and Key Lock

    Quote Originally Posted by kluoto View Post
    Hi,

    I have been able to capture volume up and down buttons using the Remote Control API. However this is not enough for me, I would like to capture these keys, while the key-lock is on. If I use an external headset these events are generated, but not if I push the buttons from the phone itself.

    Does anyone know any method to capture the volume up/down keys while having the key-lock on ?
    Hi,
    I guess that is how the functionality of key lock works.If it is locked then you cannot get the keyevents but if you want you can unlock the keypad programmatically if it is locked using RAknKeyLock2 class.Hope this will help you.Check this link to see how to do it programmatically
    http://wiki.forum.nokia.com/index.ph...ng_keypad_lock
    Maximus
    S60 Developer
    Impossible is nothing

  3. #3
    Registered User
    Join Date
    Jun 2007
    Posts
    5

    Re: Volume UP/Down capture and Key Lock

    I know that RAknKeyLock2 can be used to activate and deactivate the key-lock, but this does not help. Since pushing the button is trigger that I want to use.

  4. #4
    Registered User
    Join Date
    Jun 2006
    Location
    India
    Posts
    1,043

    Re: Volume UP/Down capture and Key Lock

    Hi,
    Unfortunately the solution to detect the keypad lock event is not available
    http://wiki.forum.nokia.com/index.ph...s_not_possible
    and once the keypad is locked I dont think so you will get the key events. May be you have to do some hack around like implement a timer which periodically checks whether the keypad is locked and if it locked then unlock it. May be it will solve your issue.
    Maximus
    S60 Developer
    Impossible is nothing

  5. #5
    Registered User
    Join Date
    Jun 2007
    Posts
    5

    Re: Volume UP/Down capture and Key Lock

    What I really want is to have the key-lock on, but still capture these keys.

  6. #6
    Registered User
    Join Date
    Dec 2005
    Posts
    1,236

    Re: Volume UP/Down capture and Key Lock

    I am afraid it is not possible AFAIK.
    Regards,
    Sriky

  7. #7
    Regular Contributor
    Join Date
    Oct 2004
    Posts
    98

    Re: Volume UP/Down capture and Key Lock

    Hi, this is an old thread however I would be still interested in the solution of the very same problem. If you want to disable the touch screen during a VoIP call, you can use the RAknKeyLock2 API, but then you don't receive the volume key events as well. Are there other solution for this?

Similar Threads

  1. capture short key and long key
    By kkrish in forum Symbian
    Replies: 4
    Last Post: 2010-02-09, 04:48
  2. Replies: 7
    Last Post: 2010-02-08, 15:50
  3. volume key event handling
    By whitewinds in forum Symbian Media (Closed)
    Replies: 4
    Last Post: 2009-05-13, 04:01
  4. Capture Key
    By kkrish in forum Symbian
    Replies: 5
    Last Post: 2008-06-04, 09:50
  5. 7710: Key Capture
    By silverparasol in forum Symbian
    Replies: 1
    Last Post: 2005-07-08, 09:11

Posting Permissions

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