m33265
New Member
I can not download file from Dropbox from my app. On the same phone download with Android Chrome works, i can download same file from Google Drive, everything works.
Dropbox file link - https://www.dropbox.com/s/xoxra1208tnwwjh/Kravosoft_mobile.db3?dl=1
------------------------------------
Dropbox file link - https://www.dropbox.com/s/xoxra1208tnwwjh/Kravosoft_mobile.db3?dl=1
------------------------------------
b4a:
Msgbox2Async ("Aktualizovat ?", "", "ANO", "NE", "", Null , False)
Wait For MsgBox_Result (Result As Int)
If Result = DialogResponse.POSITIVE Then
File.Delete (Cesta, "Kravosoft_mobile.db3")
File.Delete (Cesta, "Kravosoft_mobile.db3-journal")
Dim j As HttpJob
j.Initialize("", Me)
j.Download("https://www.dropbox.com/s/xoxra1208tnwwjh/Kravosoft_mobile.db3?dl=1")
Wait For (j) JobDone(j As HttpJob)
If j.Success Then
Dim out As OutputStream = File.OpenOutput(Cesta, "Kravosoft_mobile.db3", False)
File.Copy2(j.GetInputStream, out)
out.Close
ExitApplication
End If
j.Release
End If