Java tutorial
//package com.java2s; //License from project: Open Source License import android.graphics.Bitmap; import android.graphics.BitmapFactory; public class Main { public static Bitmap image = null; public static String image_marked_path = ""; public static void setImage_marked_path(String path) { image_marked_path = path; image = BitmapFactory.decodeFile(image_marked_path); } }