There are many ways to reach your request. Basically you need to load an image using urlrequest and then use an InputStream to create a Bitmap object.
Just an example code:
URL url = new URL("http://asd.jpg");
URLConnection conn = url.openConnection();
conn.connect();
InputStream is = conn.getInputStream();
BufferedInputStream bis = new BufferedInputStream(is);
Bitmap bm = BitmapFactory.decodeStream(bis);
bis.close();
is.close();
After receiving the Bitmap object, you can use it in your ImageView, for example
source
share