Informatics 132: Materials
Spring 2007
Department of Informatics
Donald Bren School of Information and Computer Sciences
University of California, Irvine
Books are optional, but recommended:
- Phone Code
- helloworld example from class
- lots more examples
- in particular check out
- BlueDumpGPSTest
- NetDumpGPSTest
- They give examples of how to use the GPS code. The key difference is that the first one initializes the GPS component from a Bluetooth source:
- setGPS(new GPSComponent(GPSComponent.CONFIG_USE_BLUETOOTH_GPS));
- And the second one gets fake GPS data (for testing and debugging) from a file on the Internet:
- setGPS(new GPSComponent(GPSComponent.CONFIG_USE_NETWORK_GPS_PROXY, "http://www.ics.uci.edu/~djp3/classes/2006_03_30_ICS105/Resources/phone/GPSDATA01.txt"));
- Try running NetDumpGPSTest to see how to get the GPS data.
- Then the "tick()" function in NetFormatGPSTest.java shows you how to format the data for your own use.
- Background and theory:

- AJAX

- Google Maps