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?
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,
if (aEvent.Type() == KAknUidValueEndKeyCloseEvent)
//Send your app to background or Exit from the application