I wonder if anyone can help me on this. It's about android development.
i am using this image link for example. http://soompi_images.s3.amazonaws.com/4b1d3d685350b3ee612d098fda7e7441_large.jpg
I get the image using inputstream to get the image content.
InputStream is =
(InputStream) new URL("http://soompi_images.s3.amazonaws.com/4b1d3d685350b3ee612d098fda7e7441_large.jpg")
.openStream();
This is to get the image from the image link for my drawable.
However, i am getting Illegal Character at hostname at index 0.
I have tried htmlEncode but it does not work. So i hope someone can help me.
Thanks.