teaching machines

CS 491 Lecture 22 – Using GPS

December 6, 2012 by . Filed under cs491 mobile, fall 2012, lectures.

Before class

A

Before we meet:

B

Before we meet:

In class

Write an Are We There Yet? app. Keep these in mind:

  1. Create a Google APIs AVD.
  2. Register a location as a destination. You choose the mechanism for performing this registration. Geocoding would be awesome.
  3. Listen for location updates. Use Location.distanceTo to compare the current location with the target.
  4. Issue an update notification reporting how close we are to the destination.

Debugging with a KML file may be helpful.