Re : Compress file in Modem | Telit Cinterion IoT Developer Community
February 27, 2018 - 10:59am, 2386 views
Hi ,
Can anyone please clarify whether there is any possibility of creating compress files like ZIP/tar etc., ?
Request your help please...
Hello,
If you mean any module with Java there is no API provided by Gemalto. You could try to find some API but you'd probably have to do some adaptations.
Regards,
Bartłomiej
Hi thanks for the update.
I am trying with different API and failed. facing some problems. Trying to use java.util.zip.ZipEntry;
java.util.zip.ZipOutputStream; Can u pls help me in moving forward?
If you like to use some external library you should search for something compatible with IMP-NG CLDC 1.1. You may find some libraries for Java ME for example which will be written for the newer Java versions and will not run on Gemalto modules (in fact you did not specify the module type). So if you haven't founds anything working the best choice might be to find some open source, add it to your project and adopt the code so that it compiles and runs.
Regards,
Bartłomiej