I would like to make an ImageView display an image on a website. So I create a new ImageView and execute imgView.setImageURI(uri);
When I launch the app the image does not appear and I get the error, “resolveUri failed on bad Bitmap Uri (uri)”.
Any ideas on how to solve this?
You need to download the image and then set it as bitmap.
Here is one of the many examples:
http://android-developers.blogspot.com/2010/07/multithreading-for-performance.html