Closed GoogleCodeExporter closed 9 years ago
i am trying to decompress zip file encrypted with AES-256 of size 11292672
bytes is that too much?
Original comment by kayyali....@gmail.com
on 3 Jan 2011 at 2:52
Hello,
are you performing the decryption/decrompression within memory? That would be a
probable cause if the emulator if configured with limited memory resources.
Possible solutions: increase the emulator's available memory OR use the
tmp-file based method.
Regards,
Olaf
Original comment by olaf.merkert
on 3 Jan 2011 at 3:14
Dear Olaf,
Thank you so much for the response, i am preforming ecryption/decompression
using the temp file technique, i will try to increase the emulator's available
memory and let you know thanks again.
Regards,
Ahmad
Original comment by kayyali....@gmail.com
on 4 Jan 2011 at 6:49
Hi,
You say that you are using this library in emulator and for example if it is
Android emulator even if it is running on the powerfull computer it will be
slower than the first Android phone (G1). You just have to accept that it
emulator is not as fast as for example Nexus One.
Original comment by amirs...@gmail.com
on 6 Jan 2011 at 10:00
Amirscea i agree with you totally,
but would decompressing and decoding zip file with 11292672 bytes taking more
than 120 minutes? and yet did not get complete? is that an expected behavior?
Thanks.
Original comment by kayyali....@gmail.com
on 7 Jan 2011 at 1:20
120 minutes is way too much but emulator is just emulator and nothing can
replace real phone. Even when you are debugging encryption code on the real
phone it may take one minute just to create object but when it runs it is fast
and that is most important.
Original comment by amirs...@gmail.com
on 7 Jan 2011 at 3:57
Thanks a lot for you attention, my company has ordered a Nexus S mobile for me
to start testing the application on real device, do you recommend any other
brands?
Original comment by kayyali....@gmail.com
on 7 Jan 2011 at 4:57
If you plan to work on real project than you must have real devices. Nexus S
will be regularly updated with the latest version of Android OS just like
NexusOne was updated last year. It would be great for you to get phone with
different resolutions (QVGA,HVGA...), tablet...
Original comment by amirs...@gmail.com
on 7 Jan 2011 at 9:52
I am so grateful for the advice, thank you Amirscea.
Original comment by kayyali....@gmail.com
on 7 Jan 2011 at 10:56
dear Amirscea,
I would like to tell that i have received the Google Nexus S mobile, And i ran
my application successfully, But tried to decompress and decode a zip file with
~8.0 MB file, It took like 30 minutes, and i have updated my winzipaes library
with the latest build.
do you recommend anything to make the process faster? or it's a fact that the
library is slow?
Thank you so much in advance.
Original comment by kayyali....@gmail.com
on 11 Jan 2011 at 7:36
Maybe this library is better suited for android:
http://code.google.com/p/android-privacy-guard/
Regards,
Olaf
Original comment by olaf.merkert
on 11 Jan 2011 at 6:21
Thanks you so much olaf.merkert for the link,
You want me to use this library for the decrypting process only and to use the
native java.util.zip to decompress the decrypted files, is that correct?
thanks again.
Original comment by kayyali....@gmail.com
on 12 Jan 2011 at 7:02
tried the code in emulator (using an android 2.2 image) with no performance
problems
Original comment by olaf.merkert
on 6 Feb 2011 at 6:35
Original issue reported on code.google.com by
kayyali....@gmail.com
on 3 Jan 2011 at 2:41