I'm currently developing a native android application and try to access some pictures on a document server. For communication I'm using the OpenCMIS
library.
My goal is to download the pictures and save them to the device's internal storage or sd card. My question is, whether there is a possibility to download the files as a compressed archive like a .zip for example and extract this on the device? So instead of downloading a lot of files separately, I'd like to download one big file.
Is this something OpenCMIS
is capable of? Or is this depending on the document server? I'm working with SAP Mobile Documents and know that I can download a whole folder as a .zip from the web interface over a browser, but I haven't found something about that being possible in a custom android client.
Any hints or explanations are appreciated, thanks in advance!
So I got it working with help from Florian Müller.
For anyone interessted, the final code to download a folder as a .zip archive from a SAP Mobile Document Server in a native android app would look something like this: