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_loaded_path = ""; public static void setImage_loaded_path(String path) { image_loaded_path = path; image = BitmapFactory.decodeFile(image_loaded_path); } }