I need a camera that allows me take multiple pictures at once and then select one. Others may or may not be stored on the device. I\'ve tried this. I can take multiple images bu
Try this
you can Call your second startActivityForResult()
from the onActivityResult()
you get from your first startActivityForResult()
.
like this by this code you can get 10 pic
public int PIC_CODE=0;
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
if (requestCode == CAMERA_REQUEST && resultCode == Activity.RESULT_OK) {
// get new image here like this
if(PIC_CODE<10){
// add new requset of picture like this
Intent cameraIntent = new Intent(android.provider.MediaStore.ACTION_IMAGE_CAPTURE);
startActivityForResult(cameraIntent, CAMERA_REQUEST);
PIC_CODE++;
}
}