Android Question ProgressDialog while running a WebService

Discussion in 'Android Questions' started by Carlos Pizzi, May 19, 2015.

  1. Carlos Pizzi

    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

    Code:
    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
     
  2. mangojack

    mangojack Well-Known Member Licensed User

    move ProgressDialogHide to start of Sub JobDone.
     
    Last edited: May 20, 2015
    DonManfred and Erel like this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice