Java tutorial
//package com.java2s; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import java.io.File; public class Main { public static Bitmap getBitmapFromSDCard(String locaUrl) { return BitmapFactory.decodeFile(getFile(locaUrl).getPath()); } public static File getFile(String localUrl) { File file = new File(localUrl); return file; } }