Java tutorial
//package com.java2s; import android.graphics.Bitmap; public class Main { public static boolean isValidBitmap(Bitmap map) { if (map != null) { if (!map.isRecycled()) { return true; } } return false; } }