I have an app where sometimes the user needs to take a picture of a receipt during a confirmation process and would like to have the embedded camera on the same screen at the moment (instead of calling Intent for camera application) regardless of the aspect ratio of the camera and / or photo (you would not necessarily need a preview and square photo like Instagram).
What would be a good way to implement this? Some example implementation would help a lot as well. Thank you for your attention right away.