I thought more about your points about ditching the camera chapters and understand the frustration of directly dealing with them. However after using the implicit intents in chapter 21 I started thinking why not let the camera app that comes with the device do the preview and pic for you? So I looked and lo and behold there is a camera Intent ACTION_IMAGE_CAPTURE that lets you do exactly that!
I thought this was decent - developer.android.com/reference/ … GE_CAPTURE
You can still control where the image file ends up if you want it in your app private storage, or anywhere else you want it, right? And the OEM camera app will take care of any platform-specific issues.
One thing I wonder though is whether through the Camera Intent whether you can set any camera parameters such as resolution. I saw you could set this for video with an EXTRA - if this is used for still image capture it returns you the thumb but if you specify the OUTPUT EXTRA it will store the “full sized image” according to the docs where you specify. Hopefully “full-sized” means max res for the hardware, and any you can do any resizing down from there that you want.
I just thought this seems much more inline with the concept of reusing existing code - no worrying about surfaces, the camera hardware specifics, etc. And the user is still free to adjust camera parms himself when taking the pic.
What do ya’ll think?