I have a big data file in my e learning application as a zip file (about 1 Gigabyte) which I put in the File.DirAssets directory, when the application run in the first time It must copy the zip file to File.DirRootExternal and then unzip it to the File.DirInternal directory using Archiver library and then delete the zip file. user should not obstruct this process and a progress bar must appear. So How can I:
- Prevent user to obstruct the process.
- Show a progress bar for the total process.
Thanks
- Prevent user to obstruct the process.
- Show a progress bar for the total process.
B4X:
File.Copy(File.DirAssets,"data.zip",File.DirRootExternal,"data.zip")
Arc.UnZip( File.DirRootExternal, "data.zip", File.DirInternal , "/data")
File.Delete(File.DirRootExternal,"data.zip")
Thanks