Android examples for android.hardware:Photo
pick Photo Intent
import android.app.Activity; import android.content.ContentValues; import android.content.Intent; import android.graphics.Bitmap; import android.net.Uri; import android.provider.MediaStore; public class Main{ private static Intent pickPhotoIntent() { Intent intent = new Intent(Intent.ACTION_GET_CONTENT); intent.setType("image/*"); return intent; }//w w w . j a v a2 s .c o m }