Hi i am trying the following code for displaying a animated gif. All compiles fine but when i run the application nothing is displayed
The codes like this
This piece of code is writtten in constructL of my view :-
iFsSession.Connect(); iGifFileDataprovider= new (ELeave) CICLAnimationDataProvider; iGifFileDataprovider->SetFileL(iFsSession,_L("C:\\bt.gif"));
igifanimationconfig.iFlags = TAnimationConfig::ELoop; igifanimationconfig.iData = 10000; TPoint gifpoint = Position(); iGifAnimatior = CBasicAnimation::NewL(iGifFileDataprovider,gifpoint,CEikonEnv::Static()->WsSession(),Window()); iGifAnimatior->Start(igifanimationconfig);
This line was writen in Draw() API of my view
iGifAnimatior->Draw(gc);
Can any one tell me am i missing some thing over there