Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. [SOLVED] Multimedia Keys in Qt Creator programmed widget based app for Symbian^3
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] Multimedia Keys in Qt Creator programmed widget based app for Symbian^3

Scheduled Pinned Locked Moved Mobile and Embedded
3 Posts 1 Posters 3.4k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    FlowerKid
    wrote on last edited by
    #1

    Hello everybody

    I'm not able to bring the multimedia keys (volume up, volume down, forward, backward, ...) to work on my N8 with latest Symbian Anna. I used the mediakeysobserver.h / mediakeysobserver.c files from this demo project C:\QtSDK\Demos\4.7\qt-components\musicplayer
    After some time i tested it with the demo project (musicplayer) itself and also this didn't work. The demo itself works and plays music, but not the volume keys. I also signed the app with my developer key to create a smart installer file.

    Does anybody know how i can use the multimedia keys of my N8?
    The best would be the standard pop-up like on the default music player or some other apps like FolderPlay. But i need some other multimedia keys as well.

    Thank you!

    1 Reply Last reply
    0
    • F Offline
      F Offline
      FlowerKid
      wrote on last edited by
      #2

      Ok, seems to not work until Qt 4.8.0; just found these:
      https://bugreports.qt.nokia.com/browse/QTMOBILITY-721
      https://bugreports.qt.nokia.com/browse/QTBUG-4415

      Anyway, is there a dirty hack or something for the multimedia keys to work under the current Qt 4.7.3?
      I need volume up, volume down, play/pause, forward and backward.

      Thank you

      1 Reply Last reply
      0
      • F Offline
        F Offline
        FlowerKid
        wrote on last edited by
        #3

        It's strange, but it works now (using original mediakeysobserver.h / mediakeysobserver.c from QtSDK Demo musicplayer)!

        I had to completely clean the project by deleting all generated files and rebuild. Then i made the mistake to not declare the Clicked/Pressed/Release functions here at "public slots:" as slots but in "public:" which didn't worked.

        Hope this helps if somebody else wants to use multimedia keys with current Qt 4.7.3.
        It works with the buttons on the N8 itself and also remotely with a bluetooth speaker i have which also has some media buttons.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved