i want to unzip to a internal memory mapping (no sdcard)
Arc.AsyncUnZip(File.DirDefaultExternal,"data.zip" ,File.Dirinternal & "/storage/emulated/0/", "arc")
works but i needed the sync option to monitor a sucessfull unzip
solution
B4X:
Sub dd_Complete(Job As HttpJob)
Log("Job completed: " & Job.Success)
Dim o As OutputStream
o = File.OpenOutput(File.DirDefaultExternal, "data.zip", False)
File.Copy2(Job.GetInputStream, o)
o.Close
Label1.text ="Uitpakken dit duurt even/Extracting please wait a moment"
Arc.AsyncUnZip(File.DirDefaultExternal,"data.zip" ,File.DirrootExternal & "/", "arc")
Log("Arc" & Job.Success)
Job.Release
End Sub
i just needed to change the /storage/emulated/0/" to "/"