The following is the first few sections of a chapter from The Busy Coder's Guide to Android Development, plus headings for the remaining major sections, to give you an idea about the content of the chapter.
Letting third-party apps take the pictures and videos for you is all well and good, but there will be times where you need more control than that. It is possible for you to work directly with the device cameras. However, doing is exceptionally complicated.
Part of that complexity is because Android presently has three separate APIs for working with the camera:
android.hardware.Camerafor taking still photos
android.hardware.camera2for taking still photos on Android 5.0+ devices
MediaRecorderfor recording videos
This chapter will attempt to outline the basic steps for using these APIs.
This chapter assumes that you have read the previous chapter
Intent-based uses of the camera and
the chapter on audio recording.
The preview of this section is off trying to sweet-talk the Khaleesi into providing us with a dragon.
The preview of this section was lost due to a rupture in the space-time continuum.
The preview of this section did not survive Thanos's finger snap.
The preview of this section is in the process of being translated from its native Klingon.
The preview of this section is in an invisible, microscopic font.