Java tutorial
//package com.java2s; import android.graphics.Bitmap; import android.graphics.BitmapFactory; public class Main { public static Bitmap getConvertBitmap(String filepath) { Bitmap bitmap = BitmapFactory.decodeFile(filepath); return bitmap; } }