×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jan 2012
    Posts
    12

    External volume keys

    Seems that all the S40 devices that have touchscreen also have external volume keys.
    Is there any way to get notified when these keys are pressed?

    I have tried the stuff on this page:
    http://developer.nokia.com/Resources...lume-keys.html
    but it doesn't work.

    Also in this page http://developer.nokia.com/Community...buttons_events
    it says that instead of "com.nokia.external.volume.Event" you should use "com.nokia.external.volume.event", but that doesn't make any difference because there is no event at all when pressing the volume keys.

    I have tried this on emulators (S40 5th Edition fp1, Nokia SDK 2.0 and Asha SDK 1.0) and in a real device (Asha 202).

    I'm guessing that this is something for S60 devices and doesn't work in S40 at all ?

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,694

    Re: External volume keys

    Just to make sure: the articles do not express it too much, but playerUpdate method comes from PlayerListener interface, and it has to be registered with addPlayerListener. Do you have these parts too?

  3. #3
    Registered User
    Join Date
    Jan 2012
    Posts
    12

    Re: External volume keys

    Yes I have used PlayerListener interface. And I get STARTED, STOPPED etc. events ok.

Similar Threads

  1. Volume Keys on Nokia N8
    By abashir in forum Qt
    Replies: 3
    Last Post: 2011-03-31, 13:51
  2. Replies: 2
    Last Post: 2009-11-17, 07:11
  3. Volume control keys & APS in N95
    By gs_cmans in forum Symbian
    Replies: 2
    Last Post: 2008-12-17, 06:51
  4. Different behaviours for external volume keys
    By Qman in forum [Archived] Flash Lite on Nokia Devices
    Replies: 0
    Last Post: 2008-05-14, 15:33

Posting Permissions

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