legendaryfox/bamft — comment on commit 331b506b0ac1d640431c3fb3e02e6a733dacce48
File:  line 0
By susanafong:

Some notes:

1. I forgot to uncomment now.setToNow() in BamftActivity.menuClickFunction() -- please uncomment if you want real-time data.

2. I created a Location class that simply holds two doubles (lat, lon). I don't know why we didn't do this from the beginning, honestly. So in future code, please try to use a Location object instead of throwing two doubles around, it makes things neater :)

3. See MapHelpers.getDirections() -- I tried to build an all-purpose method for getting directions in google maps. It takes a source Location, a List of destination Locations, and a route type (see GoogleMapsConstants.java for the list). A lot more params can be added to the query, but I've only created the most basic one, as I've only used it for walking directions so far.