I have a Question
In my script it unpacks a zipfile in to Android/data/com.semperpax.spm/files/.spmc
But if that folder already excists then it creates a identical folder com.semperpax.spm/files/.spmc with all the content of my zipfile ?
i use this code
And it works it unzips the zip to the specified folder but this folder already excists (Spmc aka XBMC is installed and created that folder with content
So what happends is after the unzip process i have to extact the same folders one witht he content of my zip and 1 of with the content of xbmc
How can i resolve this that the zipfile is unpacked to the Original folder ?
In my script it unpacks a zipfile in to Android/data/com.semperpax.spm/files/.spmc
But if that folder already excists then it creates a identical folder com.semperpax.spm/files/.spmc with all the content of my zipfile ?
i use this code
B4X:
Sub dd_Complete(Job AsHttpJob)Log("Job completed: " & Job.Success)
Dim o AsOutputStream
o = File.OpenOutput(File.dirrootExternal, "Download/Veolo4K.zip", False)
File.Copy2(Job.GetInputStream, o)
o.Close
Arc.aSyncUnZip(File.DirRootExternal, "/Download/Veolo4K.zip" , File.DirRootExternal & "/Android/data/com.semperpax.spm/files/.spmc/", "arc")
Job.ReleaseEnd Sub
Sub btnCancel_Click
CallSubDelayed2(DownloadService, "CancelDownload", link1)End Sub
And it works it unzips the zip to the specified folder but this folder already excists (Spmc aka XBMC is installed and created that folder with content
So what happends is after the unzip process i have to extact the same folders one witht he content of my zip and 1 of with the content of xbmc
How can i resolve this that the zipfile is unpacked to the Original folder ?