Display image from the Internet with ImageView?


Last Updated: 2010-11-19 01:07:39
  1. I have an image view object declared in the main class for my app

    ImageView iv = new InageView;

    I am able to view a picture in the res/drawable folder but when I use setImageUri method, nothing appears.

    Advertisement
  2. RazzleFnDazzle

    RazzleFnDazzle Well-Known Member

    I'm not sure exactly, but I get Drawables from the internet and set them in the ImageView using setImageDrawable. To get the drawable:

  3. Yea, I figured this out after I posted. Thanks anyway.

Share This Page