On Oct 24, 5:21 am, Sunil Mishra <[email protected]> wrote:
> I am trying to load a file using resource. my file size is more than
> 1mb.
>
> res/raw : contains a file named abc_fb2 .
> but i am getting UNCOMPRESS_DATA_MAX error in catlog.
>
> as per my google, i found that there might be asset.h file , which we
> need to change. with some more value like 3*1024*1024

This is baked into the Android framework.  It's not something you can
change unless you're building your own platform.

If the data is uncompressed and aligned (with zipalign) it can be
memory-mapped directly, which is easier on the system than dedicating
a large piece of physical memory to hold the entire uncompressed file.

--~--~---------~--~----~------------~-------~--~----~
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