|
i need to place a zip file in my resources (it is about 400k). i
understand i can get a handle to the stream, to load the zip via
ZipInputStream from that location, but in order to be memory conscious
i really need to get a handle to a ZipFile. what are my options? i understand i can read the zip, then write it out to /data/... and create a ZipFile based on the file in /data/... however, then i'm using 400k extra internal memory for my app. so, i can either, 1. load the data from a ZipInputStream and keep it all in memory (about 1.7MB in text form) 2. read the stream and write it out to /data/... (a ~400k zip file) and then create a ZipFile based on the file in /data/... ? any other possibilities? --
![]() --
![]() |
- [android-beginners] zip files in resources Jeffrey Blattman
- [android-beginners] Re: zip files in resources Mark Murphy
- [android-beginners] Re: zip files in resources Jeffrey Blattman



