pick Photo Intent - Android android.hardware

Android examples for android.hardware:Photo

Description

pick Photo Intent

Demo Code

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

}

Related Tutorials