Quote:
Originally Posted by simon.hain
first of all, thank you for your patience.
my problem with using your example code is that i can't provide my bitmap as a resource. I read it from an external source, like
Bitmap bmp = getBitmap();
now i get the error:
cannot find symbol
symbol : method getEncodedImageResource(net.rim.device.api.system. Bitmap)
is there a way i can provide my new bitmap as a named resource?
|
Can you describe clearly what you mean as external resource..From where you are reading the bitmap and how ?
If it is a file you will be reading as byte[]. So you can create a Encoded Image from that byte array and bitmap from that Encoded Image.
What actually the function getBitmap() do ?