dailton.menezes
04-06-2011, 06:55 AM
Hi everybody,
I am developing an application that needs to download zip files, next, unzip these files and analyze them. I'm using SDCARD for it. The first part has already done, that is to download into SDCARD. When I go to the second step, unzip, I get a weird error (arguments out of bounds) in the instantiation of the class ZipFile. The same routine (I mean unzip) I tested outside of Android (Pure Java) and it worked perfectly. I concluded that there may be some lack of the right to read SDCARD. I have already put the permissions in the Manifest ("android.permission.INTERNET"and "android.permission.WRITE_EXTERNAL_STORAGE") but I'm not understanding what is happening.
The Download and unzip are being done inside a thread not to block the user interface.
Have a tip or have already gone through something similar?
Grateful
Dailton Menezes
I am developing an application that needs to download zip files, next, unzip these files and analyze them. I'm using SDCARD for it. The first part has already done, that is to download into SDCARD. When I go to the second step, unzip, I get a weird error (arguments out of bounds) in the instantiation of the class ZipFile. The same routine (I mean unzip) I tested outside of Android (Pure Java) and it worked perfectly. I concluded that there may be some lack of the right to read SDCARD. I have already put the permissions in the Manifest ("android.permission.INTERNET"and "android.permission.WRITE_EXTERNAL_STORAGE") but I'm not understanding what is happening.
The Download and unzip are being done inside a thread not to block the user interface.
Have a tip or have already gone through something similar?
Grateful
Dailton Menezes