Supporting Low Cost Android Phones
neatocode.tumblr.com
neatocode.tumblr.com
Imagemagick/Graphicsmagick have a batch image manipulation tool called mogrify. For example "mogrify -format jpeg -geometry 512 -quality 75 -path other/dir/ *.png". There usually is no need for any awkward loops that use convert once per image.
Posting this here since the linked site requires Javascript for comments.
a) defeat the point of signing
b) require a new version of Android (which these low-end phones aren't likely to get)
It'd be far easier and more effective to tweak the build tools to crunch the images before packing up the APK in the first place.