On Oct 13, 10:08 pm, Smelly Eddie ollit...@gmail.com wrote:
I need to display an image that is pulled from the web using a url.
I tried the following, unsuccessfully;
boxart.setImageURI(Uri.parse(http://example.com/image.jpg;));
I assume I need to create a local
You can try this one:
Bitmap bm = null;
try {
URL imageURL = new URL(http://example.com/image.jpg;);
BufferedInputStream bis = new
BufferedInputStream(imageURL.openStream(), 1024);
bm = BitmapFactory.decodeStream(bis);
bis.close();
2 matches
Mail list logo