Too many images in android app
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?
Try storing them in database,
http://www.tutorialforandroid.com/2009/10/how-to-insert-image-data-to-sqlite.html
Goog luck!
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.
精彩评论