Supposedly, using my application I take a few images which will be saved at a particular directory and saved as JPEGs.
IS it possible to pack these images together? Like into a video or tar or zip? So that I can send send these images to a backend (E.g. web server).
Is this possible? Or I could only send them 1 by 1?
Thanks In Advance,
Perumal
For making video files from images you have to use any video codec library like FFMPEG or anything else..
But for creating .zip archive..
Android has a in-built class
ZipOutputStreamsupport of java.util.zip package.This class provides an implementation of
FilterOutputStreamthat compresses data entries into a ZIP-archive output stream.ZipOutputStreamis used to writeZipEntriesto the underlying stream. Output fromZipOutputStreamconforms to theZipFilefile format.Also look at this article this may be help you..
Zipping Files with Android (Programmatically)