Java tutorial
//package com.java2s; import android.graphics.BitmapFactory.Options; public class Main { private static Options getBitmapOption(int paramInt) { System.gc(); Options localOptions = new Options(); localOptions.inPurgeable = true; localOptions.inSampleSize = paramInt; return localOptions; } }