Dim TaskToJob As Map = HttpUtils2Service.TaskIdToJob
That's when I have OkHttputils library included. If I include OkHttpUtils2 library, I get "HttpUtils2Service is declared twice. You should either remove the library reference or the code module.".
What should I do?
RangeDownloader uses http range feature to download the file in chunks. It will resume the download from the previous point, even if the app was previously killed. It first sends a HEAD request to test whether this feature is supported. Note that you need to delete the target file if you want to...
@Erel I've removed those libraries. I'm now getting on compiling:
B4X:
B4A Version: 11.20
Parsing code. Error
Error parsing program.
Error description: Unknown type: httpjob
Are you missing a library reference?
Error occurred on line: 363 (Main)
Private Sub TrackProgress (j As HttpJob, Stop() As Boolean, TaskId As Int)