In my appln..if i press connect option...the appln moves to background and a gif animation runs in the indicator pane..
i need to keep that gif animation runnning always...even if i need to open other applications like "services"
but it is getting hanged when i open any applications....
this is the code i wrote for gif animation....
In appui( ) class :
SendToBackground();
iGifAnimation = CGifAnimation::NewL(ClientRect());
In gifanimation ( ) class:
iMyWindowGroup = RWindowGroup(iCoeEnv->WsSession());
User::LeaveIfError(iMyWindowGroup.Construct((TUint32)&iMyWindowGroup));
iMyWindowGroup.SetOrdinalPosition(0, ECoeWinPriorityAlwaysAtFront);
iMyWindowGroup.EnableReceiptOfFocus(EFalse);
CreateWindowL(&iMyWindowGroup);
iViewer=CPAlbImageViewerBasic::NewL(this,TRect(TPoint(142,4),TSize(20,20)));
iViewer->SetImageNameAndDisplaymodeL(KGif,EColor4K);
iViewer->SetAnimationObserver(this,ETrue);
iViewer->LoadImageL();
if(iViewer->IsAnimation())
iViewer->PlayAnimationL();




