originally posted in:BungieNetPlatform
I'm trying to download the mobileWorldContentPaths english database file which is a zip file that needs to be extracted for the full Sqlite database. My issue is on android the Java.Util.Zip (and the SharpZipLib using xamarin) zip file api complain that the global and local header sizes do not match (it's usually off by a small amount).
I've exhausted any ideas I have in this, I don't have this issue on the PC or windows phone as it seems the System.IO.Compression Zip API doesn't care if the values don't match.
Anyone else run into this on android? have any suggestions or solutions?
-
why are you trying to download the whole database into the device to start with? Can't you download it into another place, process whatever you need and just push that info to your app? I say this because in that way you are going to waste a lot of data for every user, plus, a lot of processing power to decompress and load the database, when i really don't think you are really using every single piece of info that you can find on that database.
-
I'm unzipping it without problems in java. I'll post the code asap for you mate.