Slippery Rock University Dr. Deborah Whitfield Go Browns!

Phone Gap Chapter 7:Accessing the Device Sensors and Locations API
Cross-Platform Mobile App Development
CpSc 215

In this chapter, the author begins to assume a full walkthrough is not necessary and things start to vary more for individual devices. (That means finding the API for the device of interest, when necesssary.)

We can safely (cross-platform) use:

To see what else is available on Android, download the (non-PhoneGap) app "Android Sensor Box".

Examples for this chapter: