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 <[email protected]> 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 <[email protected]> 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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en