I've created my own app with a pick image button similar to the "Taking photos simply" tutorial at https://developer.android.com/training/camera/photobasics.html
The photo save successfully, however I cannot view or choose them from the camera app. Is there a way to enable this?
private void dispatchTakePictureIntent() {
Intent takePictureIntent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
// Ensure that there's a camera activity to handle the intent
if (takePictureIntent.resolveActivity(context.getPackageManager()) != null) {
// Create the File where the photo should go
File photoFile = null;
photoFile = createFileInDownload();
// Continue only if the File was successfully created
if (photoFile != null) {
Uri photoURI = Uri.fromFile(photoFile);
takePictureIntent.putExtra(MediaStore.EXTRA_OUTPUT, photoURI);
startActivityForResult(takePictureIntent, REQUEST_IMAGE_CAPTURE);
}
}
}
Note: When I use my phone defualt camera app, I can access previous taken photos: