Java tutorial
//package com.java2s; import android.graphics.Bitmap; public class Main { private static void recyleBitmap(Bitmap image) { try { if (image != null) { image.recycle(); image = null; } } catch (Exception e) { e.printStackTrace(); } } }