Professional Android Sensor Programming

  • ID: 2246415
  • Book
  • 552 Pages
  • John Wiley and Sons Ltd
1 of 4

Exploit the rich set of Android sensors to build fully aware apps

If you want to create truly amazing apps for Android, you must know how to take advantage of all of its capabilities. This book helps you achieve this by arming you with the knowledge and code you need to put Android′s sensors to good use. From determining the smartphone′s location and interpreting physical sensors to handling images, audio, and recognizing speech, you′ll learn how to effectively apply the sensor– related APIs. With this information, you′ll not only save time during the development process but you′ll also be able to build fully featured apps that integrate new levels of interaction and automation.

Professional Android Sensor Programming:

  • Shows various ways to implement location tracking and proximity alerts

  • Uncovers the physics behind the physical sensors available in the SensorManager API so you can know how to apply them appropriately

  • Shows algorithm code to interpret noisy sensor data and detect changes

  • Demonstrates how to measure device properties like orientation and movement, as well as environmental properties like relative altitude

  • Explores using Android Open Accessory (AOA) to access external sensors

  • Describes Near Field Communication (NFC) technology and its APIs

  • Provides image and signal processing code to detect patterns captured by the camera and microphone

  • Exposes all components required to create reliable, user–friendly, speech–enabled apps using Android Speech Recognition and Text–to–Speech APIs

Wrox Professional guides are written by working developers to address everyday needs. They provide examples, practical solutions, and expert education in new technologies, all designed to help programmers do a better job.

wrox.com

Programmer Forums

Join our Programmer to Programmer forums to ask and answer programming questions about this book, join discussions on the hottest topics in the industry, and connect with fellow programmers from around the world.

Code Downloads

Take advantage of free code samples from this book, as well as code samples from hundreds of other books, all ready to use.

Read More

Find articles, ebooks, sample chapters, and tables of contents for hundreds of books, and more reference resources on programming topics that matter to you.

READ MORE
Note: Product cover images may vary from those shown
2 of 4

INTRODUCTION xxvii

PART I: LOCATION SERVICES

CHAPTER 1: INTRODUCING THE ANDROID LOCATION SERVICE 3

CHAPTER 2: DETERMINING A DEVICE′S CURRENT LOCATION 11

CHAPTER 3: TRACKING DEVICE MOVEMENT 27

CHAPTER 4: PROXIMITY ALERTS 45

PART II: INFERRING INFORMATION FROM PHYSICAL SENSORS

CHAPTER 5: OVERVIEW OF PHYSICAL SENSORS 65

CHAPTER 6: ERRORS AND SENSOR SIGNAL PROCESSING 103

CHAPTER 7: DETERMINING DEVICE ORIENTATION 121

CHAPTER 8: DETECTING MOVEMENT 147

CHAPTER 10: ANDROID OPEN ACCESSORY 189

PART III: SENSING THE AUGMENTED, PATTERN–RICH EXTERNAL WORLD

CHAPTER 11: NEAR FIELD COMMUNICATION (NFC) 219

CHAPTER 12: USING THE CAMERA 255

CHAPTER 13: IMAGE–PROCESSING TECHNIQUES 281

CHAPTER 14: USING THE MICROPHONE 303

PART IV: SPEAKING TO ANDROID

CHAPTER 15: DESIGNING A SPEECH–ENABLED APP 333

CHAPTER 16: USING SPEECH RECOGNITION AND TEXT–TO–SPEECH APIS 349

CHAPTER 17: MATCHING WHAT WAS SAID 407

CHAPTER 18: EXECUTING VOICE ACTIONS 441

CHAPTER 19: IMPLEMENTING SPEECH ACTIVATION 471

INDEX 495

Note: Product cover images may vary from those shown
3 of 4

Loading
LOADING...

4 of 4

Greg Milette is a professional Android developer and founder of Gradison Technologies, an app development company. He enjoys building practical apps like Digital Recipe Sidekick and contributing to StackOverflow.

Adam Stroud is the lead developer for the Android version of RunKeeper. He is a self–proclaimed "phandroid" and is an active participant in the Android virtual community on StackOverflow and Android Google groups.

Note: Product cover images may vary from those shown
5 of 4
Note: Product cover images may vary from those shown
Adroll
adroll