I'm only a beginner in android development. I have a program that opens the camera when I click on a button to take a photo. That works fine already. However I want to be able to save the image internaly to a certain folder once it is taken. The path I need it saving to is "/storage/emulated/0/DCIM/Camera/image.jpg" Here's what I have so far
static final int REQUEST_IMAGE_CAPTURE = 1;
public void onClickbtnCamera(View v){
Intent takePictureIntent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
if (takePictureIntent.resolveActivity(getPackageManager()) != null) {
startActivityForResult(takePictureIntent, REQUEST_IMAGE_CAPTURE);
}
}