Yes, all "compressible" files are compressed.  "Uncompressible" files
are certain image files, zip files, etc, that are already in a
compressed form and wouldn't benefit from compression.

Keep in mind the compression can bite you, if you have a file larger
than 1M.  The file will compress fine and the Android toolkit will
happily package it up, but on the phone it'll get an error when you
try to retrieve it, since the phone refuses to uncompress a file
larger than 1M.  The workaround for this gotcha is to give the file an
extension of jpg or some such, so it doesn't get compressed.

On Nov 9, 8:41 am, A Curious Developer <[email protected]> wrote:
> From the Dev Guide, about res/raw: "Arbitrary files to save in their
> raw form. Files in here are not compressed by the system."
>
> Is this still true? Some threads I found while researching this seem
> to imply that res/raw resources *are* compressed. I want my raw
> resources to be compressed. I can use assets/ if I need to, but I
> would like to stick with resources if possible.
>
> Thanks for any info.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to