Chapter 2

Building Custom Camera Applications

In the last chapter, we looked at how we can leverage Android's built-in Camera application to provide a ready-made photo capture component in any other application. While this provides a standard interface to the end user and is straightforward for us the programmers, it doesn't provide us with much in the way of flexibility. For instance, if we wanted our photo capture application to support time-lapse photography, we couldn't easily do that using the built-in application.

Fortunately, Android doesn't limit us to just using the built-in applications for accessing the hardware camera. We have as much access to the underlying hardware and available methods as the Camera application itself, which ...

Get Pro Android Media: Developing Graphics, Music, Video, and Rich Media Apps for Smartphones and Tablets now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.