Possible Duplicate:
How to load an ImageView by URL in Android?
How to convert string to bitmap in android.I am getting url value in string .I want to set bimap in imageview can anybody tell how to do?
Thanks
Possible Duplicate:
How to load an ImageView by URL in Android?
How to convert string to bitmap in android.I am getting url value in string .I want to set bimap in imageview can anybody tell how to do?
Thanks
This answer has the basic approach. Essentially, you need to first download the image from the URL, then you can set it to an ImageView
, save it to your phone's SD card, etc.
If you're comfortable looking through other people's source code, this GitHub project shows you how you can store the image locally for reuse, run image downloads in a background thread, download multiple images for ListView
s, etc.