O'Reilly logo

Android™ Development Patterns: Best Practices for Professional Developers by Phil Dutson

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

13. Optional Hardware APIs

Android devices come in many different shapes and sizes. Some also come with extra features or hardware. Not every device comes with every supported feature, but as a developer, you should be looking to provide experiences that will work with the myriad of available devices. Working with Bluetooth, NFC, USB, and other device sensors gives your application greater functionality and usefulness. In this chapter, you learn about how this hardware is implemented into Android and some of the ways that you can leverage device features.

Bluetooth

Bluetooth support in Android has come a considerable way since it was first introduced in API level 5. This form of Bluetooth is known as Bluetooth Classic. Starting with API 18, ...

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