ABSTRACT

In this chapter, we cover:

Using Accelerometer API

Using Camera API

Using Capture API—Capturing audio and video

Using Geolocation API—Getting a device’s current location and watching a device’s location

Using Google Maps API—Displaying Google Maps

Combining the Geolocation and Google Maps APIs—Displaying Google Maps centered at the device location, displaying markers on the map, drawing lines on the map, finding the distance between two positions, dragging markers, and computing distances

Using the Geocoder class

Using Compass API