Hi,
I have to run an applicationB when i try to remove a installed applicationA.
Iam able to do that.
My application A will wait to get removed till i exit from applicationB.
now i want to kill the remove task(which is removing applicationA) when iam running applicationB.
This is the code i have written to kill the process and put in apllicationB:
RWsSession();
RWsSession iWsSession;
iWsSession.Connect();
TUid uid_applicationA = {uid};
TApaTask(CCoeEnv::Static()->WsSession());
TApaTaskList tasklist(iWsSession);
TApaTask task=tasklist.FindApp(uid_applicationA);
if(task.Exists())
{
task.KillTask();
CleanupStack::PopAndDestroy();
}
else
{
}
Iam not getting any error , but Iam not able to kill the remove task.
Kindly help me,
Thanks in advance.