How to handle End Call Key in 3rd edition?
Article Metadata
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
}
}


(no comments yet)