Hi,
How can I handle pressing back when the ProgressDialogShow2("Some text",True) is shown?
in the example below, I want to change it to :
ProgressDialogShow2("Downloading...", true)
and find a way to cancel the http job process if the user presses cancel or back key.
Any more help or sample about ProgressDialogShow2 is appreciated
Dim j As HttpJob
j.Initialize("", Me)
j.Download("https://api.coindesk.com/v1/bpi/currentprice.json")
ProgressDialogShow2("Downloading...", False)
Wait For (j) JobDone (j As HttpJob)
If j.Success Then
Log(j.GetString)
Else
Log("Error: " & j.ErrorMessage)
End If
ProgressDialogHide
j.Release