I need some help really fast. I am having troubles with unzipping a file that I have downloaded to my phone as a background process in the app that I am building. The code that I have downloads a zip file from a server that I have set up specifically for the app. The zip file is not corrupted or anything like that. But if you guys could help me find a way to unzip the file that would be fantastic I have tried a few different ways and I cant seem to get it right. :/
Asked
Active
Viewed 487 times
0
-
1Check out this: http://stackoverflow.com/a/7420690/1817029 – My-Name-Is Aug 10 '14 at 21:50
-
okay sweet thank you I will check it out – Aaron B Aug 10 '14 at 21:57
-
I tried to use this one but I'm not able to get it to work like it runs through the script but it is not creating another folder that has the contents of the zip file – Aaron B Aug 10 '14 at 22:52
2 Answers
0
I use zip4j at the moment - here an example usage: https://github.com/ligi/PassAndroid/blob/master/src/main/java/org/ligi/passandroid/ui/UnzipPassController.java#L66

ligi
- 39,001
- 44
- 144
- 244
-
-
to unzip the passes - see the linked code-lines - basically a 2liner to unzip – ligi Aug 11 '14 at 01:02