O'Reilly logo

Windows® Phone 7 Programming for Android™ and iOS Developers by Robert Zhu, Pei Zheng, Zhinan Zhou, Baijian Yang

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 10

Utilizing System Hardware

WHAT’S IN THIS CHAPTER?

  • An overview of smartphone hardware
  • Accessing the microphone
  • Accessing the camera
  • Using sensors
  • Utilizing FM radio and Bluetooth

This chapter discusses a few system hardware components that are frequently used by popular mobile applications. These peripherals include microphone, camera, resistive and capacitive touch controller, and various sensors such as accelerometer, light sensor, magnetic sensor, and so on.

Before you delve into the details, it’s important to obtain an architectural overview of the common hardware architecture across the three software systems: iOS, Android, and WP7. Then the chapter will discuss general methods and required APIs surrounding the following four topics on the three platforms: accessing microphone, accessing camera, accessing sensors, and utilizing FM radio and Bluetooth.

AN OVERVIEW OF SMARTPHONE HARDWARE

Mobile devices have revolutionized the way the world communicates. More and more people use mobile devices for their communication and entertainment needs on a daily basis — needs which are primarily fulfilled by a variety of mobile applications.

One of the main driving forces behind this revolution is the mass of new sensors and peripherals. People can use mobile devices to take pictures, record videos, and play games that leverage an accelerometer, a digital compass (magnetic sensor), and a Global Positioning System (GPS) module. Some devices have a frequency modulation (FM) radio ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required