Android Question download gif file

Imran_Farooq

Member
Licensed User
hi, i need some helping code to download a GIF file from website in to File.DirAssets. like this
Dim banner As HttpJob
banner.Initialize("banner", Me)
banner.Download("http://www.yourebsite/image.gif")

Wait For (banner) JobDone(banner As HttpJob)
If banner.Success Then


B4XGifView1.SetGif(File.DirAssets, "image.gif")

End If
banner.Release
 

Peter Simpson

Expert
Licensed User
Longtime User
Here you go Imran

This is the best way to download imaged from the internet

Save the downloaded file here
 
Upvote 0
Top