Android Question ProgressDialog while running a WebService

Carlos Pizzi

Member
Licensed 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
 
Top