how can I clear a transparent or translucent canvas

by Romain Guy » Fri, 13 Mar 2009 02:47:05 GMT

Sponsored Links
 Argh yes, drawColor(0) is for opaque Canvas, sorry :)

Romain Guy
Android framework engineer

Note: please don't send private questions to me, as I don't have time
to provide private support.  All such questions should be posted on
public forums, where I and others can see and answer them


Other Threads

1. Avoiding compression on large files

Apparently you can't have a file in "assets" larger than 1MB (except
for certain file types) because it's considered too large to

But I'm finding mixed info about how to circumvent this limitation.
Some say that you can put the files in "raw" and avoid the limitation
but others say that files in "raw" are compressed too.  And there's
the -0 aapt option that can be used to turn off compression for
certain file types, but there's no way to specify aapt options in

I realize that I can break the file into pieces, but that's error-
prone on both ends.  And using one of the known uncompressed file
types not only confuses things but also runs the risk that the Android
PTB will decide to start compressing that file type.

So what are my options really?


2. Can I post text to facebook profile from my android application?

Hi Friends,

This is Rockson,
I am new to android. Here i am struggling with facebook posts from
android application.

I am developing a application in android from which i want to post
some text to my facebook profile.

Can i do that? Please help me.

Thanks and Regards,



3. Cannot install apk of huge size

4. VLC RTSP MPEG-4 stream to Android emulator.

5. Cannot share audio file by MMS, and how to solve this case?

6. loading an html file from local res directory

7. settings - is this a ListView ?