Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User redzvika's Avatar
    Join Date
    Jul 2003
    Posts
    37
    Hi

    I'm able to capture volume up/down keys when the app is in the foreground .
    using :
    CRemConInterfaceSelector,CRemConCoreApiTarget and MrccatoCommand method

    I'm also able to capture other keys when in background
    using:
    RwindowGroup with CaptureKey method


    I'm trying to capture the volume up/down keys when my application is in the background !


    Is there an API for it ?

  2. #2
    Nokia Developer Moderator truf's Avatar
    Join Date
    Jun 2007
    Location
    Moscow, Russia
    Posts
    1,355
    I think RwindowGroup with CaptureKeyUpDown able to catch any key in background app. Just make log and find out Key Scan codes for up/down keys.

  3. #3
    Nokia Developer Champion amitkankani's Avatar
    Join Date
    Oct 2006
    Location
    Bangalore, India
    Posts
    1,572
    No i guess the volume up down keys can't be caught that way, even I am facing a similar problem
    Amit Kankani
    Nokia Developer Champion

  4. #4
    Regular Contributor emailatravi's Avatar
    Join Date
    Dec 2006
    Location
    Noida, India
    Posts
    115
    Hi,

    The scan code that can be used are EStdKeyIncVolume and EStdKeyDecVolume
    Thanks and Regards,
    Ravi

  5. #5
    Registered User redzvika's Avatar
    Join Date
    Jul 2003
    Posts
    37
    emailatravi thank you for the advice
    your suggestion doesn't work

    To capture the multimedia key you have use the remote API
    which works only when your app has a gui and in the background.

  6. #6
    Regular Contributor emailatravi's Avatar
    Join Date
    Dec 2006
    Location
    Noida, India
    Posts
    115
    Hi redzvika,

    I am able to captue all keys (6681, N72 etc) . Moreover I am not using GUI (Application) framework to draw anything on screen. I draw things on the screen using my own framework and it is an EXE.

    Ok let me check, if am able to capture multimedia keys.
    Thanks and Regards,
    Ravi

Similar Threads

  1. Replies: 3
    Last Post: 2006-11-09, 05:36
  2. App in Background and Wait Dialog
    By ianratcliffe in forum Symbian C++
    Replies: 1
    Last Post: 2006-02-22, 03:46
  3. SMS Event when app is not running in Background
    By kiranpuranik in forum Symbian C++
    Replies: 2
    Last Post: 2006-02-20, 09:56
  4. Override themes background in app (Nokia 6680)
    By alonish in forum Mobile Java General
    Replies: 1
    Last Post: 2006-02-11, 02:16
  5. Replies: 2
    Last Post: 2002-11-13, 12:46

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