
API Demos Sensors contains the sample applications from the Android SDK API Demos that use sensors. The applications are modified slightly to be used with the OpenIntents sensor simulator.

The applications from API demos are:
- API Demos / Graphics / Compass: This application shows an arrow that always points north.
- API Demos / Graphics / SensorTest: This application looks similar to compass, and does not seem to do anything in the default configuration. One needs to carefully look at the source code and study the logcat output.
- API Demos / OS / Sensors: This application displays the orientation sensor values graphically, and plots the various sensor values over time.
- API Demos / Views / MapView and Compass: This application shows a rotating map that is oriented according to the orientation sensor.

Try it out
- All sensor demos have 2 additional menu items included: "Settings" and "Connect".
- Use Menu / Settings to enter the IP number of the sensor simulator (this is displayed in the sensor simulator).
- Use Menu / Connect to connect to the sensor simulator.
- If the application is not connected to the sensor simulator, Android's sensor data are used. That means, on a real device, real sensor data get passed to the application.
- The modified API samples appear in the API demos listing with the additional hint "(OI)" for OpenIntents.