16. Using Android’s Optional Hardware APIs
The Android SDK provides a variety of APIs for accessing low-level hardware features on the device. In addition to the camera, Android devices have other hardware resources that developers can take advantage of in their applications, such as Wi-Fi, Near Field Communication (NFC), Bluetooth radios, and a variety of USB connectivity options. In this chapter, you will explore the optional hardware APIs provided as part of the Android SDK.
Working with Bluetooth
Bluetooth APIs have been available since API Level 5, though not all Android devices have Bluetooth hardware. However, this is a popular consumer feature that Android developers can use to their advantage. Android 4.3 (API Level 18) introduced support ...