Hello,

I have a custom file format in res/raw, which means it will get
compressed in APK.

Question:

Assume my application is installed on the device. When I open a file
via openRawResource(), does it completely uncompress the file in the
memory?

E.g. if it's a 3MB file, will it uncompress it in memory? If I only
need 10KB data from a certain offset (and I reach it via
BufferedInputStream.skip), will it still consume 3MB when
openRawResource() is called?

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

Reply via email to