This book shows Android developers how to exploit the rich set of device sensors-locational, physical (temperature, pressure, light, acceleration, etc.), cameras, microphones, and speech recognition-in order to build fully human-interactive Android applications. Whether providing hands-free directions or checking your blood pressure, Professional Android Sensor Programming shows how to turn possibility into reality.
The authors provide techniques that bridge the gap between accessing sensors and putting them to meaningful use in real-world situations. They not only show you how to use the sensor related APIs effectively, they also describe how to use supporting Android OS components to build complete systems. Along the way, they provide solutions to problems that commonly occur when using Android's sensors, with tested, real-world examples. Ultimately, this invaluable resource provides in-depth, runnable code examples that you can then adapt for your own applications.
About the Author
Greg Milette is a professional Android developer and Software Engineer. He founded Gradison Technologies, an app development company, to develop amazingly practical apps---most recently, a speech-enabled recipe app called Digital Recipe Sidekick. Greg is a regular speaker at local user groups on Android development and speech recognition. You can find him answering your questions on StackOverflow and in the android-developers google group as "gregM." He also posts occasionally on his blog speakingtoandroid.com.
Adam Stroud is the lead developer for the Android version of RunKeeper which uses location-based services to track the user's physical activity. Adam is an active participant in the Android virtual community on StackOverflow and Android google groups.
Table of Contents: INTRODUCTION
PART I: LOCATION SERVICES
CHAPTER 1: INTRODUCING THE ANDROID LOCATION SERVICE
CHAPTER 2: DETERMINING A DEVICE'S CURRENT LOCATION
CHAPTER 3: TRACKING DEVICE MOVEMENT
CHAPTER 4: PROXIMITY ALERTS
PART II: INFERRING INFORMATION FROM PHYSICAL SENSORS
CHAPTER 5: OVERVIEW OF PHYSICAL SENSORS
CHAPTER 6: ERRORS AND SENSOR SIGNAL PROCESSING
CHAPTER 7: DETERMINING DEVICE ORIENTATION
CHAPTER 8: DETECTING MOVEMENT
CHAPTER 10: ANDROID OPEN ACCESSORY
PART III: SENSING THE AUGMENTED, PATTERN-RICH EXTERNAL WORLD
CHAPTER 11: NEAR FIELD COMMUNICATION (NFC)
CHAPTER 12: USING THE CAMERA
CHAPTER 13: IMAGE-PROCESSING TECHNIQUES
CHAPTER 14: USING THE MICROPHONE
PART IV: SPEAKING TO ANDROID
CHAPTER 15: DESIGNING A SPEECH-ENABLED APP
CHAPTER 16: USING SPEECH RECOGNITION AND TEXT-TO-SPEECH APIS
CHAPTER 17: MATCHING WHAT WAS SAID
CHAPTER 18: EXECUTING VOICE ACTIONS
CHAPTER 19: IMPLEMENTING SPEECH ACTIVATION
INDEX