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.

Working Directly with the Camera

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:

This chapter will attempt to outline the basic steps for using these APIs.


This chapter assumes that you have read the previous chapter covering Intent-based uses of the camera and the chapter on audio recording.

Notes About the Code Snippets

The preview of this section is off trying to sweet-talk the Khaleesi into providing us with a dragon.

A Tale of Two APIs

The preview of this section was lost due to a rupture in the space-time continuum.

Performing Basic Camera Operations

The preview of this section did not survive Thanos's finger snap.

Configuring the Still Camera

The preview of this section is in the process of being translated from its native Klingon.

And Now, The Problems

The preview of this section is in an invisible, microscopic font.