I am using Series 60 to develop an application.

I have an application in which I make a call. When I make the call, the application window goes into the background. I tried to bring it back to the foreground in the following ways.

1. I have tried using the BringOwnerToFront() method of the application provided CEikonEnv.

2. By getting a Window Group and setting the AutoForeGround.

But none work.

Can someone point what the mistake is?


iPhone.DialL(KPhoneNumber);// I make the phone call.

CEikonEnv::Static()->BringOwnerToFront(); or

RWindowGroup windowGroup(CEikonEnv::Static()->RootWin())