Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

Archived Talk:Utilising media keys in Symbian C++

From Wiki
Jump to: navigation, search

I've found a difference in behavior between S60 v3.0 and 3.1 devices when the application is in the background. Simply, on 3.0 devices (e.g. N73 and E61) the media keys are reported to the application anyway, while on 3.1 devices (N95 and 6120) they are not.

I was using the volume keys to bring the application to the foreground from the phone idle screen - where the volume keys aren't used anyway - on 3.0 devices. I'd be interested to know whether there's any way to get those events in the background on 3.1+ devices...

Also, I didn't add yet the User::WaitForRequest calls listed in the example, but everything seems to work OK (in applications other than my own as well), what is the purpose of these calls?



Thank your for your feedback. On most devices only volume keys can be used in 3rd party applications using this API.

Forum Nokia KB 11:14, 16 October 2007 (UTC)


Volume keys when app is in background on 3.1 devices

Contrary to what the previous poster found, I have found that applications do receive volume key events when they are in the background on the Nokia N95-1. This is with firmware 30.0.015.

Differences between commands generated for volume control on phone and volume control on headphone remote

I have found that different commands are generated when the volume control on the side of the phone is used from when the volume control on the headphone remote is used. This is on an N95-1 with 30.0.015 firmware. Full details and a link to some sample code can be found on my blog.

Thank you for your feedback. The article has been updated.

Forum Nokia KB 09:15, 5 December 2008 (EET)

CMediaKeysTestUi destructor

Article is not showing how to destroy created objects of: CRemConInterfaceSelector and CRemConCoreApiTarget. In destructor of CMediaKeysTestUi class, only CRemConInterfaceSelector object should be destroyed:

void CMediaKeysTestUi::~CMediaKeysTestUi()
delete iInterfaceSelector;

--mstrug 10:32, 8 May 2011 (UTC)

Hamishwillee - CMediaKeysTestUi destructor - Are you confident of this?

Hi Michal

Thanks. If you're confident of this then feel free to update the body of the article.

On a related note, this is archived as not relevant to current platforms - which may have been done in error. Do you know if this works on recent versions of Symbian, and if so, which ones have you tested it on? (I could then add ReviewForRemovalFromArchive to and remove this article from archive)



hamishwillee 04:53, 28 January 2013 (EET)

This page was last modified on 28 January 2013, at 02:53.
18 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.


Thank you!

We appreciate your feedback.