How can I can a transparent

by mudit » Sat, 03 Oct 2009 16:30:18 GMT

Sponsored Links
 Hi All,

I need to create a bitmap with transparent background using an

BitmapFactory.Options opt = new BitmapFactory.Options();
opt.inPreferredConfig = Bitmap.Config.ALPHA_8;
bitmap = BitmapFactory.decodeStream(is, null, opt);

But my image is always rendered with black background. The original
image has a transparent background.

Please help.

Other Threads

1. Not able to build Browser Source Code on android-sdk-windows-1.0_r1

The browser is not currently buildable with the SDK as it uses private
APIs. Note that it also uses system permissions, so it can't be run on
a stock G1.


Jean-Baptiste M. "JBQ" Queru
Android Engineer, Google.


2. enabling OTA updates for my device

So, let's say that I've succeeded in getting Android running on my device. Is 
OTA updates from Google something that only really large-scale providers like 
T-Mobile are going to be able to do? -J
unsubscribe: [EMAIL PROTECTED]

3. Applications copy protection

4. Announcing OpenCORE 2.0 release

5. How to receive connectivity change notifications?

6. Administration job

7. Porting JavaME Midlet to android.