ketki
ketki

Reputation: 91

json image in android

I am new to android. I have to display an image from the json url. I wanted to know wether I can set an image to ImageView without downloading directly from url. Mostly people have done it from sdcard otherwise by downloading it.

Upvotes: 0

Views: 423

Answers (1)

user370305
user370305

Reputation: 109237

For ImageView you have to download Image or get from sdcard almost you have the image in reference

you can not display image directly from the web in ImageView. 

For this (from url without downloading) purpose I think you should try WebView but it doesn't have a all properties as a ImageView.

Upvotes: 1

Related Questions