16 Taking Pictures with Intents

Now that you know how to work with implicit intents, you can document crimes in even more detail. With a picture of the crime, you can share the gory details with everyone. Taking a picture will involve a couple of new tools, used in combination with a tool you recently got to know: the implicit intent.

An implicit intent can be used to start up the user’s favorite camera application and receive a new picture from it. But where do you put the picture the camera takes? And once the picture comes in, how do you display it? In this chapter, you will answer both of those questions.

Get Android Programming: The Big Nerd Ranch Guide, 4th Edition 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.