ImageView image from website

aaronk

Well-Known Member
Licensed User
Longtime User
Hi,

I am new to Basic4Andriod and got a licence code etc. but now need some help to get me started.

I want to be able to download a image from a website (I know the URL to the image) and display it in a imageView.

However, once it has finished downloading the image I want to be able to re-download the same image again but with a random number on the end of the image.

For Example:
download the image from the website..
websitehere.com/image.jpg

Display it in the imageView..

Then once it has finished downloading request it again with a random number on the end.
websitehere.com/image.jpg?342325

And over right the current image with the new image.

Any ideas on how to do this?
 

aaronk

Well-Known Member
Licensed User
Longtime User
Thanks heaps..

I seem to have it working but one other thing..

What code would you use to create a random number?
 
Upvote 0
Top