Android examples for Graphics:Bitmap Stream
load Bitmap By Stream
//package com.java2s; import java.io.IOException; import java.io.InputStream; import android.graphics.Bitmap; import android.graphics.BitmapFactory; public class Main { public static Bitmap loadByStream(InputStream is) throws IOException { Bitmap bitmap = BitmapFactory.decodeStream(is); return bitmap; }/*from w w w.ja v a 2 s.c om*/ }