Hello folks,
i had this piece of code in my 'MobAppUi.cpp' File.
void CMobAppUi::HandleCommandL( TInt aCommand )
{
// [[[ begin generated region: do not modify [Generated Code]
TBool commandHandled = EFalse;
switch ( aCommand )
{ // code to dispatch to the AppUi's menu and CBA commands is generated here
default:
break;
}
if ( !commandHandled )
{
if ( aCommand == EAknSoftkeyExit || aCommand == EEikCmdExit )
{
if(symbian_ua_anycall())
{
iEikonEnv->Static()->AlertWin(_L("ON"));
Exit();
}
else
iEikonEnv->Static()->AlertWin(_L("OFF"));
//Exit();
}
}
// ]]] end generated region [Generated Code]
}
When i m calling exit from menu option -"END" this code exits the application properly in all nokia devices.
But the same code restarts the Device,Nokia-E71. And On Proper testing its revealed it is a device specific problem.
Can any one guide me how this issue can be resolved or somehow hsndel in a proper way.
Any help will be highly appreciated.
:-(




