1. Check out our app, Forums for Android! Download and leave feedback here!

Display image from the Internet with ImageView?

Discussion in 'Application Development' started by MIIISTER NEUGIT, Nov 15, 2010.

  1. MIIISTER NEUGIT

    Thread Starter
    15

    Nov 12, 2010
    17
    0
    15
    Xbox 360 Game Developer
    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
    58

    Sep 30, 2010
    123
    15
    58
    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. MIIISTER NEUGIT

    Thread Starter
    15

    Nov 12, 2010
    17
    0
    15
    Xbox 360 Game Developer
    Yea, I figured this out after I posted. Thanks anyway.
     

Share This Page

Loading...