Chapter 22. Capturing Images
In this chapter, we will see how we can harness the Android Intent
class to add the otherwise complicated functionality with ease. Although this is a short chapter, it is surprising how much we can get done in these few pages. We will not only build a very quick mini app with the image capture functionality, but we will also add this functionality to the Where it's snap app. At the same time, we will see how Android stores images that are captured by the camera and how we interact with them. In this chapter, we will:
- Look at how to capture an image from a camera with the
Intent
class - Put this knowledge to work in a camera mini app
- Code the Where it's snap capture Fragment