Hi,
i keep my appln background by indicating the gif animation running in the indicator pane ..it works but ....if i try to open the appln to come to foreground...my appln hangs.....how to solve this...
=>>>>>ConstructL() ::
------------------------------------------------------------------------------------
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/*CCoeEnv::Static()->ScreenDevice()->DisplayMode()*/);
iViewer->SetAnimationObserver(this,ETrue);
SetIndicatorIconL(EIndicatorIconAppActive);
----------------------------------------------------------

=>>>>>>>>SetIndicatorIconL():::::
iViewer->LoadImageL();
if(iViewer->IsAnimation())
iViewer->PlayAnimationL();