Java tutorial
//package com.java2s; import java.io.InputStream; import java.net.URL; import android.graphics.Bitmap; import android.graphics.BitmapFactory; public class Main { public static Bitmap InternetUrlToBitmap(String url) throws Exception { return inputStreamToBitmap(new URL(url).openStream()); } public static Bitmap inputStreamToBitmap(InputStream inputStream) throws Exception { return BitmapFactory.decodeStream(inputStream); } }