Refactored the AndroidImageUnpacker in from old project.