nasaa
nasaa

Reputation: 2731

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?

Upvotes: 1

Views: 1462

Answers (2)

HaemEternal
HaemEternal

Reputation: 2269

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.

Upvotes: 0

Related Questions