The following is the first few sections of a chapter from The Busy Coder's Guide to Android Development, plus headings for the remaining major sections, to give you an idea about the content of the chapter.
“Sensors” is Android’s overall term for ways that Android can detect elements of the physical world around it, from magnetic flux to the movement of the device. Not all devices will have all possible sensors, and other sensors are likely to be added over time. In this chapter, we will explore the general concept of Android sensors and how to receive data from them.
Note, however, that this chapter will not get into details of detecting movement via the accelerometer, etc.
Understanding this chapter requires that you have read the core chapters,
particularly the chapter on threads. Having experience
with other system-service-and-listener patterns, such as
fetching locations with
LocationManager, is helpful
but not strictly required.
The preview of this section is off trying to sweet-talk the Khaleesi into providing us with a dragon.
The preview of this section was accidentally identified as an Android 'tasty treat' by the Cookie Monster.
The preview of this section is presently indisposed.
The preview of this section was lost in the sofa cushions.