On Feb 16, 8:17 am, lei <[email protected]> wrote: > it's very interesting, I just overcome the resource file size 1M bytes > limitation by modifying the suffix of the file. > i.e change the file of "test" to "test.mp3" or "test.mid". I do not > know why, but it really works. It seems like android > allow media file's size to exceed the limitation.
The 1MB restriction is on compressed data. Uncompressed data can be memory-mapped straight from the APK file, which minimizes overhead. Compressed data must be uncompressed into memory; a very large file could consume most of the available RAM. aapt doesn't try to compress certain file types, notably .mp3. (In some cases the data must also be aligned on a 32-bit boundary; the zipalign tool takes care of this.) -- 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

