Android Question ProgressDialog while running a WebService

Carlos Pizzi

Member
Licensed User
Longtime User
ProgressDialog while running a WebService

I need a ProgressDialog while running the ws.

In my code is not working.

What is the correct code?

thank you very much

B4X:
Dim JobWS1, JobWS2 As HttpJob

ProgressDialogShow2("Cargando Datos... Espere Por Favor...",False)
           
JobWS2.Initialize("LeerTablaArticulos", Me)
JobWS2.Download(WSArticulosDatos)

JobWS3.Initialize("LeerTablaClientes", Me)
JobWS3.Download(WSClientes)
      
ProgressDialogHide
 

mangojack

Expert
Licensed User
Longtime User
move ProgressDialogHide to start of Sub JobDone.
 
Last edited:
Upvote 0
Top