To minimize any application i.e. to take it to the background, you can look for TapaTask and related APIs it has two functions i.ee SendToBackground() ans BringToForeGround().
// Bringing the application "myApp" to background... -NS
TApaTaskList myTaskList(iCoeEnv->WsSession());
TApaTask myTask(myTaskList.FindApp(_L("myApp")));
myTask.SendToBackground(); //to take the application to the background... -NS
myTask.BringToForeground(); //to take the application to the foreground... -NS
Check these out. By default, whenever an incoming call comes, the focus will automically go to the incoming call. you need not do anythin special for that. The phone application has a higher priority value..
Forum posts: 61
To minimize any application i.e. to take it to the background, you can look for TapaTask and related APIs it has two functions i.ee SendToBackground() ans BringToForeGround().
// Bringing the application "myApp" to background... -NS
TApaTaskList myTaskList(iCoeEnv->WsSession());
TApaTask myTask(myTaskList.FindApp(_L("myApp")));
myTask.SendToBackground(); //to take the application to the background... -NS
myTask.BringToForeground(); //to take the application to the foreground... -NS
Check these out. By default, whenever an incoming call comes, the focus will automically go to the incoming call. you need not do anythin special for that. The phone application has a higher priority value..
Cheers!!!
Forum posts: 18
Hey Swetha have you resolved the issue. How you have implemented?
Actually I have done this using "Active objects", but if you know some other method please let me know also.