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
You have to implement your own camera to take multiple pictures. Create a class with surface view and implements SurfaceView.Callback
. Please check out my library which will implement the same.
https://github.com/SripadRaj/BurstCamera
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++;
}
}