Java tutorial
//package com.java2s; import android.graphics.Bitmap; public class Main { private static boolean isEmptyBitmap(final Bitmap src) { return src == null || src.getWidth() == 0 || src.getHeight() == 0; } }