Chapter 9: Accessing the Hardware

In this chapter, you explore the different ways to access the hardware features of your Android device. You will learn how to use the built-in camera to take pictures, how to activate the flashlight, how to detect the various hardware features on your device, and how to determine whether the GPS or location service is enabled on the Android device.

Get Android Application Development Cookbook: 93 Recipes for Building Winning Apps 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.