Java tutorial
//package com.java2s; import android.content.Intent; import android.provider.MediaStore; public class Main { public static Intent openGallery() { return new Intent(Intent.ACTION_PICK, MediaStore.Images.Media.EXTERNAL_CONTENT_URI); } }