Craig-Macomber/WeatherOracle — pull request #239 by Tim727 (2012-05-28 04:57:02+00:00)
Title: added a whole bunch of location functionality ... see comment

appearance of filter name/location screen (margins of edit texts). (2)
added static fields for latitude and longitude to filtermenuactivity and
set them appropriately in onCreate. (3) adjusted the save button listeners
in all three tabs aof filter menu activity so that they take into account
the fact that the location must be valid as well. Most of the changes were
obvious ... but i also found a bug that was allowing for duplicate names.
I added a boolean "editingCurrentFilter" which solved this issue. (4) also
adjusted the don's dialogues to reflect the new location feature. (5) made
it so that by default UW coordinates are loaded into the location edit
texts ... but that they can be changed if so desired. (6) when the user
hits the current location button ... it fills the edit texts with the the
lat and long for their current location (uses GPS/network to get this
info). (7) adjusted filter deletion in filters activity to make sure that
it deleted a filter if both the name AND location match. (8) added
listeners to the lat and long edit texts that update the static fields in
filter menu activity any time they are changed. **Only thing missing is
verification that the location entered is valid at the time that the user
hits save**