I am still quite confusing....
Suppose the we have declare a TBuf8 buffer to hold the incoming bitmap file data..then we should i do exactly?
could you kindly show some code as I have try many times on it?
I try to show you how you could solve the problem.
Suppose that the bitmap is stored in
Than you create a
RDesReadStream aStream; aStream.Open(aBitmapDescriptor);
CFbsBitmap* aBitmap = new (ELeave)
/* Pass this bitmap to your container and call inside Draw() method gc.BitBlt(), where the bitmap is one of the parameters and
CWindowGc& gc = SystemGc();
To draw yuor container you call its method DrawNow().*/
if you are talking about network servers, you might wanna move the file over the network in some compressed format, like jpg, then you need to use the image converters to get the jpg data stored in the buffer to be converted to the bitmap, see SDK docs for more information.
I am using N-gage and Series 60 SDK 1.2. I can compile the program, but when I run it on the phone, System error was result after i add "aBitmap->InternalizeL(aStream);"
I dun know the reason, can anybody kindly tell me the reason?