20
Views
5
Comments
Need to Unzip the files stored in Internal Storage in Offline mode
Application Type
Mobile

Hi ,

We were developing a mobile application which works 100% in offline mode and when the users install this .apk we will create some set of folders with zipped files in Internal storage and when the user starts using this application, we need to unzip the zipped files and have to store the extracts in another folder. Are there any plugins available in Outsystems to do the unzipping in offline mode. Please suggest

2024-06-01 07-14-16
Vaishali Thakur


Hello VIGNESH,

"BigZip is a server-side asset, so it does not function on mobile devices when offline. You may want to consider using the MobileZIP asset, which is a JavaScript unzipper. I have not personally tested it, so I cannot confirm if it can handle files as large as the ones you have. As mentioned earlier, attempting to unzip an 850 MB file on a mobile device is not something I would recommend. Additionally, if it needs to work offline, how is the 850 MB file being transferred to the device? Surely it must originate from somewhere?" 

2024-05-20 13-34-49
VIGNESH BALASUBRAMANIAN

Hi @Vaishali Bhatt 

Thanks for your suggestion. As of now size of the file is not a concern. We need to unzip the file in offline mode and need to extract the content in the parent folder, when the user clicks on a button in application. 

The File transfer is happening through USB cable.

I have tried MobileZIP but this plugin is not supported with MABS 9.0 and showing error message while generating the build.


2024-05-20 13-34-49
VIGNESH BALASUBRAMANIAN

Hi @Siya 

Thanks for your suggestion. I have reviewed the .oml code and it will be helpful for achieving download functionality, but I want to achieve unzipping the zipped file in offline mode in mobile app. 

Please let me know if you get any idea on this.

Thanks

2021-11-12 04-59-31
Manikandan Sambasivam

OutSystems does not provide built-in functionality for unzipping files in offline mode on mobile devices. However, you can achieve this functionality by using custom plugins or by integrating existing Cordova plugins. 

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.