Android Question how incrase time out of httpjob

Discussion in 'Android Questions' started by Roberto P., Mar 10, 2015.

  1. Roberto P.

    Roberto P. Well-Known Member Licensed User

    how can I increase time to put an object httpjob? Use this object to send data to a server that uses made B4J RAF.

    Dim j As HttpJob
    j.Initialize("send_data", Me)

  2. DonManfred

    DonManfred Expert Licensed User

    j.GetRequest.Timeout = 60000
    AFTER you started the download/Poststring

    Dim j As HttpJob
    "send_data", Me)
    j.GetRequest.Timeout = 
    KZero likes this.
  3. Roberto P.

    Roberto P. Well-Known Member Licensed User

    hello DonManfred
    I thank you, but I get an error:

    Error compiling program.
    Error description: Unknown type: anywheresoftware.b4a.http.HttpClientWrapper.HttpUriRequestWrapper
    Are you missing a library reference?
    Occurred on line: 60
    j.GetRequest.Timeout = 60000
    Word: timeout

    which library I have to add? I found no indication in the forum
    thank you
  4. KZero

    KZero Active Member Licensed User

    use DonManfred code and just Enable HTTP library
  5. Roberto P.

    Roberto P. Well-Known Member Licensed User

    I selected the HTTP library and it works. thank you
    KZero likes this.
  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