I have a fonction which save a bitmap called picture0.bmp in the phone memory.
I would like load this bitmap, i wrote this:
_LIT(KFileName,"picture0.bmp");
TFileName path = PathInfo::PhoneMemoryRootPath(); //Default
path.Append( PathInfo::ImagesPath() );
path.Append(KFileName);
HBufC* iImagePath = HBufC::NewL( path.Length() );
iImagePath->Des().Copy( path );
CFbsBitmap* iLoadedBitmap = new (ELeave) CFbsBitmap();
CleanupStack::PushL(iLoadedBitmap);
User::LeaveIfError(iLoadedBitmap->Load(*iImagePath));
I have not errors during the build but it does not work on emulator. It can not load the bitmap.
Please help





