ImageView image from website

Discussion in 'Questions' started by aaronk, Jul 15, 2012.

  1. aaronk

    aaronk Active Member Licensed 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?
     
  2. Erel

    Erel Administrator Staff Member Licensed User

  3. aaronk

    aaronk Active Member Licensed User

    Thanks heaps..

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

    What code would you use to create a random number?
     
  4. Erel

    Erel Administrator Staff Member Licensed User

  5. aaronk

    aaronk Active Member Licensed User

    ok. Thanks for your reply.
     

Share This Page

Loading...