I have a camera app that allows the user to "Save" or "Discard" image after each photo is taken. If "Save" is clicked the app goes back to the MainActivity
(camera preview) and keeps the photo. If "Discard" is clicked the photo is removed and goes back to the MainActivity
(camera preview). This all works fine.
I have a standard email app (TypeApp) that allows users to attach a photo by "Take a Picture" function which when clicked shows all installed camera. I want to use my camera app to allow this but when I save the photo and click "Back" no image is attached. I've seen it worked on other camera app but I don't know how to begin to implement this feature in my app.
How do I get my camera app to send back the location of the image to the standard email app when the user clicks the "Save" button.
Any guidance would be appreciated.