Product manager of MeeGo native tools.
lavonius | 16 December, 2011 13:21
We have noted that a few games and other sound-using applications do not behave properly when the volume keys of the device are used. When the keys are used when a game is running, they should control the volume of the game instead of changing the current volume settings (and the profile) of the device.
This is done by stating that the program belongs to the "gaming"-class of applications. The full theory and practice on the topic is available in the developer library.
But simply put, you need to create a configuration file with the following content:
[classify gaming]
/full/path/to/the/game
And place it into the /usr/share/policy/etc/syspart.conf.d directory as game.conf.
CommentsVEIKKO99 | 20/12/2011, 20:38
Note that you need to have a line break after the [classify gaming] tag (before the path).
lavonius | 22/12/2011, 14:38
Linebreak was indeed omitted accidentally, thank you for pointing it out.
VEIKKO99 | 22/12/2011, 19:46
I added the file to my own app and tried to update it in OVI Store but QA rejects this.
"SUMMARY: The application does not use the opt and user folders properly."
http://harmattan-dev.nokia.com/docs/library/html/guide/html/Developer_Library_Essential_concepts_for_Harmattan_developers_Data_storage_List_of_path_name_exceptions.html
thanks
lolloon900 | 16/12/2011, 16:41
thanks