How to handle End Call Key in 3rd edition?

From Nokia Developer Wiki
Jump to: navigation, search
Article Metadata
Created: eswar_illuri (22 May 2007)
Last edited: hamishwillee (30 May 2013)

By default, the End Call key simply quits the application in 3rd Edition (see Archived:Call termination key behavior has changed from S60 2nd Edition FP3 (Known Issue))

To handle End Call Key in 3rd edition, we need to catch window server event, i.e. AppUi's HandleWsEventL().

Sample code as follows:

void CExampleAppUi::HandleWsEventL(const TWsEvent &aEvent,
CCoeControl *aDestination)
if (aEvent.Type() == KAknUidValueEndKeyCloseEvent)
//Send your app to background or Exit from the application
This page was last modified on 30 May 2013, at 04:34.
12 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.