Just now found one API setImageURI() for ImageView. You can try this
too..

setImageURI(Uri.parse("http://abc.com";));

Nithin

On Jan 19, 3:59 pm, Nithin <nithin.war...@gmail.com> wrote:
> AFAIK, no API like that. You need to download as a inputstream,
> convert to bitmap,  set the bitmap to imageview using the API
> setImageBitmap() to the imageView.
>
> Nithin
>
> On Jan 19, 3:47 pm, Namrata <puranik.namr...@gmail.com> wrote:
>
> > Hi,
>
> > I am using ListView to show 1 TextView and 1 ImageView. I want to
> > download images for this ImageView from server. Is there any api in
> > android like setImageURI() which will take url e.g. "http://abc.com/
> > myimage.png", otherwise i'll have to write my own http code
> > downloading images in for loop.
>
> > Thanks in advance.
>
> > Namrata
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to