14. Keyboards and Sensors

For entering data of different types and languages, you are compelled to select and configure your keyboard to suit the kind of input you want. Also, to observe the changes that might occur in your environmental surroundings and take the necessary actions, you need to understand the different sensors that your Android device supports.

In this chapter, you will learn to configure your keyboard to support your input requirement. You will come to understand sensors, their event listeners, and the method required to access data produced by the device sensors. You will display the list of sensors that a physical device supports, and you will learn the procedure for the current acceleration of the device along the three axes ...

Get The Android™ Tablet Developer’s Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.