Android Question AsyncDownload BUG ?

Discussion in 'Android Questions' started by Devv, Mar 4, 2015.

  1. Devv

    Devv Active Member Licensed User

    RSASYNCdownlaoder it is working nicely except with the following code it will not toast the progress

    Sub Activity_Create(FirstTime As Boolean)
    'Do not forget to load the layout file created with the visual designer. For example:
        Dim AsyncDownloader As RSAsyncDownloader
        AsyncDownloader.FileName = 
        AsyncDownloader.Directory = 
    End Sub

    Sub Activity_Resume

    End Sub

    Sub Activity_Pause (UserClosed As Boolean)

    End Sub

    Private Sub AsyncDownloader_Started
    ToastMessageShow("The download has started.",False)
    End Sub

    Private Sub AsyncDownloader_Update (Progress As Int)
    End Sub

    Private Sub AsyncDownloader_Finished (Result As String)
    ToastMessageShow("The download has finished.",False)
    End Sub

    this is very wired if you placed any url instead of the flowing it will work

    any ideas ?
  2. walterf25

    walterf25 Well-Known Member Licensed User

    Does the file get dowloaded?

    thedesolatesoul likes this.
  3. Devv

    Devv Active Member Licensed User

  4. walterf25

    walterf25 Well-Known Member Licensed User

    You should try logging something in each of the events that get raised when the download starts, and when it finishes, just to check if the events are working, i've never used this library personally, so i wouldn't be able to tell for sure, but that should be a start. If the events do get raised then try adding a "DoEvents" before and after the toastmessage.

    thedesolatesoul likes this.
  5. Devv

    Devv Active Member Licensed User

    Thanks for replay bro..
    i found that the site i'am downloading from does not give the file size
    even when i use chrome it cant tell me how much remaining , anyway idm can
  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