Hello,
I want to download huge file to my phone.
For android, I use this example in my b4a project.
But for iOS, CountingOutputStream and PhoneWakeState are not available for b4i project.
Is there any idea for huge file download in B4I project?
I need progress (downloaded %) during downloading file.
I also use this example, download is successful. but download process is not shown.
Thanks.
I want to download huge file to my phone.
For android, I use this example in my b4a project.
But for iOS, CountingOutputStream and PhoneWakeState are not available for b4i project.
Is there any idea for huge file download in B4I project?
I need progress (downloaded %) during downloading file.
I also use this example, download is successful. but download process is not shown.
Thanks.
B4X:
Sub Process_Globals
Private jobs As Map
Private timer1 As Timer
Type DownloadData (url As String, Target As Object, EventName As String)
Type JobTag (Data As DownloadData, _
CountingStream As CountingOutputStream, Total As Long)
Private pw As PhoneWakeState
End Sub
Last edited: