Java tutorial
//package com.java2s; //License from project: Apache License import android.graphics.Bitmap; public class Main { public static void recycle(Bitmap bitmap) { if (bitmap != null) bitmap.recycle(); } }