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. Thanks for all your past and future contributions.

How to handle End Call Key in 3rd edition?

From 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.
13 page views in the last 30 days.