The ZIP format supports different encodings
zip -Z xxx
there is store, deflate, and bzip2 (if it's supported). default is the
default. You might find that store (uncompressed) is quicker than
deflate.
Keep in mind that the file that is downloaded to the users device -
.ipa - is a ZIP file
Nic Wise wrote
Keep in mind that the file that is downloaded to the users device -
.ipa - is a ZIP file already, so you will not benefit from double
compression. If you need to keep them all together,then try using
store, see what the size of the resulting .ipa is, and the speed
yeah, you are pretty much stuck then :)
Maybe you could wrap the unzip function in a set of classes with the
same interface, so your app can just use one interface, but the
underlying unzip is done differently depending on the platform - ie,
go for the quickest way in each case.
How much
a-ha! context :) for the record, I have used SharpZipLib to decompress
200-500Mb *downloads* (post-install), which makes a lot of sense for
certain applications (say, a magazine reader).
I don't think you are getting much value from ZIPping something you ship in
the IPA. As previously mentioned,
Craig Dunn wrote
Now, regardless of what you decide there, you also need to know this: do
NOT put the 700Mb sqlite file in /Documents/ as Apple will reject your app
within seconds of it hitting the approval process! How do I know this? I
followed exactly the same pattern (copy out a
Ok then, like suggested by Nic i think the best solution here is to use
specific platform library to hit good performances.
In MT I'm currently using this one
https://github.com/ayoung/monotouch-ziparchive
Any idea on how to achive the same in M4A ?
thanks to all
Francesco
--
View this message
Nic Wise wrote
As for MfA... Not sure. If it doesn't have the same you can't write
to your bundle restriction, and they DO compress the delivered file,
then just use it where it is?
Another good point, will check this, really appreciate your help!
--
View this message in context:
Unfortunately the /Assets folder of an android bundle isn't writable, and is
where i put the db. :(
--
View this message in context:
http://monotouch.2284126.n4.nabble.com/SharpZipLib-performances-tp4553235p4554412.html
Sent from the MonoTouch mailing list archive at Nabble.com.
Hi,
In my app I need to unzip a big file (~200mb) when the application run for
the first time after installation. The first version of the app, currently
on the appstore, uses an external static lib, which perform very well. To do
the unzip job on the iPhone4 it takes ~1min. acceptable.
Due to
I've not tested performance, but another option might be to try Ionic.Zip
and see how that fares.
Jeff
On Thu, Apr 12, 2012 at 6:13 PM, johnHolmes francesco.colo...@gmail.comwrote:
Hi,
In my app I need to unzip a big file (~200mb) when the application run for
the first time after
Hi Jeff,
I'm not sure but I've already tryed with Ionic.Zip and if I'm not wrong, it
won't work on Mono4Android. I need to find a common solution which works
either on MT an M4A
--
View this message in context:
If I'm not wrong the issue with Ionic.Zip was related to the missing support
of unzipping file streams.
In M4A I must deal with streams.
--
View this message in context:
http://monotouch.2284126.n4.nabble.com/SharpZipLib-performances-tp4553235p4553291.html
Sent from the MonoTouch mailing list
Heh, I was gonna say I'm pretty sure Ionic.Zip would build ok for MonoDroid
since it builds for MonoTouch (they use the same subset of the class
libraries), but I guess if it doesn't have a stream API, then that makes a
damn good argument as to why you can't use it ;-(
Oh well, it was worth a
13 matches
Mail list logo