In my android app i have got something like 70-80 images. This is making my app very heavy. What are my options to reduce the size without loing any image. I mean any way to compress them or anything like that?
Asked
Active
Viewed 1,417 times
2 Answers
4
Try storing them in the database,
0
krio's answer is probably a pretty good way to go. If you're looking for alternatives, you can zip resources and assets, and then pull them out of the zip on demand when you need them. I'm not sure how much extra compression that'll give you over the APK compression (and obviously you'll need to add in the time to pull the file out of the zip). Will only 80 or so files, the time to parse through the zip file and pull a file out should be fairly small.

HaemEternal
- 2,229
- 6
- 31
- 50
-
I will give both a try..the Zip and the sqllite idea. Is there a way where I can download my images directly into the drawable folder from a website/Url? – nasaa Jun 02 '11 at 10:02
-
Might be worth having a look at: http://stackoverflow.com/questions/3375166/android-drawable-images-from-url – HaemEternal Jun 02 '11 at 10:07