Java tutorial
//package com.java2s; import android.graphics.Bitmap; public class Main { public static boolean isBitmapCanUse(Bitmap bitmap) { return bitmap != null && !bitmap.isRecycled(); } }