Java tutorial
//package com.java2s; import android.app.Activity; import android.content.Intent; import android.provider.MediaStore; public class Main { public static final int TAKE_PHOTO_FROM_ALBUM = 0x1001; public static void takePhotoFromAbnum(Activity activity) { Intent intent = new Intent(Intent.ACTION_GET_CONTENT, MediaStore.Images.Media.EXTERNAL_CONTENT_URI); intent.setType("image/*"); activity.startActivityForResult(intent, TAKE_PHOTO_FROM_ALBUM); } }