How to decode the jpg file stored in mobile phone to CFbsBitmap?

Login to reply to this topic.
Fri, 2008-01-11 09:41
Joined: 2007-07-31
Forum posts: 140

Hi all,

i downloaded the image file from the server and written in a file in phone memory using following code.

MHTTPDataSupplier* dataSupplier = aTransaction.Response().Body();
TInt DataSize=dataSupplier->OverallDataSize();
TPtrC8 ptr;
dataSupplier->GetNextDataPart(ptr);
pFile->WriteToFile(ptr);
dataSupplier->ReleaseData();

now i want to display a jpg file stored in the phone memory on the mobile screen.How can i do that.

Please give some idea..

Thanks a lot.

Brajesh...

I want to have this link for study. http://www.symbian.com/developer/techlib/v70sdocs/doc_source/DevGuides/cpp/MultiMedia/ImageConverterLibrary/ICLGuide_AdvancedFeatures.html


Life is too short ! so do as many good things as you can do...
Brajesh Kumar...
Beginner in Symbian C++

  • Login to reply to this topic.