Jimmy Shih
aafe93b723
Code refactor. Remove DynamicSpeedTrackPathDescriptor's dependency on selected_track_id_key.
2013-05-29 11:06:23 -07:00
Jimmy Shih
55861ecf0e
Fix Map View to improve the initial camera position after screen rotation.
...
If showing a marker, after rotation, will zoom to the marker.
If showing a track, after rotation, will zoom to the current location
if is recording and is in tracking mode, else will zoom to the track.
2013-05-29 10:34:15 -07:00
Jimmy Shih
9dbf0b0c4b
Fix displaying a marker on the map view.
2013-05-28 14:16:40 -07:00
Jimmy Shih
468ed40a5d
Code cleanup, refactor onResume logic in MyTracksMapFragment.
2013-05-24 12:38:57 -07:00
Jimmy Shih
d6cfdd007a
In StatsFragment, remove dependency on onSelectedTrackChanged.
2013-05-24 10:58:45 -07:00
Jimmy Shih
0d38d1b38d
Make sure the start marker is always shown during a recording.
2013-05-23 12:53:09 -07:00
Jimmy Shih
640f960bd0
In MyTracksMapFragment, initialize googleMap in onActivityCreated instead of onCreateView.
2013-05-23 11:02:55 -07:00
Jimmy Shih
ef4063fcd8
During a recording, keep the current location visible by default.
2013-05-23 10:49:50 -07:00
Jimmy Shih
8b19bd8917
Code cleanup, do not backup some shared preference keys.
2013-05-23 10:32:10 -07:00
Jimmy Shih
cad06c712a
Improve MyTracksLocationManager thus LocationClient is only started when necessary.
2013-05-22 17:58:33 -07:00
Jimmy Shih
aa3d170e1f
Add activity recognition.
2013-05-22 17:42:51 -07:00
Jimmy Shih
4eb8f4fff3
Remove location listener from TrackDataHub.
2013-05-22 15:00:35 -07:00
Jimmy Shih
4a9f7778bd
Change MyTracksMapFragment to not listen to location changes.
2013-05-22 14:36:58 -07:00
Jimmy Shih
0369b5b79f
merge heads
2013-05-22 14:29:45 -07:00
Jimmy Shih
433687930f
Code cleanup SearchListActivity, remove one instance variable.
2013-05-22 14:05:15 -07:00
Jimmy Shih
2e199d633c
Code cleanup for MyTracksLocationManager
2013-05-22 11:09:07 -07:00
Jimmy Shih
cffd72fa07
In MapFragment, use MyTracksLocationManager directly to obtain the current location.
2013-05-21 14:03:48 -07:00
Jimmy Shih
b37fe0ff35
To save power, modify StatsFragment to not listen to location changes.
2013-05-21 10:54:26 -07:00
Jimmy Shih
f8116ab6e0
Use TrackRecordingService to start/stop gps.
2013-05-20 15:16:01 -07:00
Jimmy Shih
1a68435eb4
Add methods to TrackRecordingService to start and stop GPS.
...
No longer unregister location listener before registering it.
2013-05-20 14:04:10 -07:00
Jimmy Shih
5329ccd37f
In TrackListActivity, use MyTracksLocationManager to check if gps is enabled.
2013-05-20 12:39:22 -07:00
Jimmy Shih
82b6b63fc5
In SearchListActivity, only start MyTracksLocationManager when needed.
2013-05-16 18:22:39 -07:00
Jimmy Shih
68180b2436
When starting a track, set the track icon based on track category.
2013-05-16 18:07:47 -07:00
Jimmy Shih
65f8762b4e
Update to Android ADT v17
2013-05-15 17:16:59 -07:00
Jimmy Shih
18eff91510
Clean up Constants.java
2013-05-15 16:26:44 -07:00
Jimmy Shih
5ace0242b4
Use LocationClient to request for location updates.
2013-05-15 15:39:48 -07:00
Jimmy Shih
81ed568ed7
Use LocationClient to obtain last known location.
2013-05-15 14:30:44 -07:00
Jimmy Shih
3291eef752
Change logic for updating gps provider state.
2013-05-15 13:17:45 -07:00
Jimmy Shih
bd6f30f320
merge heads
2013-05-13 10:49:08 -07:00
Jimmy Shih
129149fb23
Remove unused code for obtaining heading from sensor
2013-05-13 10:48:16 -07:00
Jimmy Shih
5d93747b13
clear google_account_key before enabling drive sync in startup sequence
2013-05-08 16:37:40 -07:00
Jimmy Shih
da00033e6f
Add playing multiple tracks in Google Earth
2013-05-08 13:58:57 -07:00
Jimmy Shih
c0900491d6
Modify ConfirmDialogFragment to pass in an array of track ids
2013-05-08 13:09:00 -07:00
Jimmy Shih
9ccae3e3a9
Add private constructor to utility classes
2013-05-08 12:56:52 -07:00
Jimmy Shih
52f8bd8565
Move Google Earth helper methods in GoogleEarthUtils.java
2013-05-08 12:44:19 -07:00
Jimmy Shih
feb479d9b9
Change TrackFormatWriter to be able to write multiple tracks to a file
2013-05-07 15:58:37 -07:00
Jimmy Shih
dfa60a44f6
Update stats view layout
2013-05-07 09:51:00 -07:00
Jimmy Shih
afa47ba26e
rename stats_large_label and stats_separator color
2013-05-06 14:25:14 -07:00
Jimmy Shih
f7c5b7f1cc
Modify StringUtils.java to return null if a value is invalid
2013-05-03 11:34:24 -07:00
Jimmy Shih
b0215058d2
show/hid track controller when search is shown/dismissed
2013-05-01 15:30:01 -07:00
Jimmy Shih
244219bdde
Add landscape mode for track controller
2013-05-01 14:29:06 -07:00
Jimmy Shih
8c26cb2aa3
Use FileTypeDialogFragment to select a file type for import all, save all, and save
2013-04-30 16:14:24 -07:00
Jimmy Shih
b880b731b4
Use a dialog fragment to select the import all type
2013-04-30 15:01:13 -07:00
Jimmy Shih
b593fa3550
fix various lint warnings
2013-04-30 14:09:38 -07:00
Jimmy Shih
027ae7b2dd
display '-' if elapse time is negative
2013-04-30 13:35:56 -07:00
Jimmy Shih
67fbb47639
clean up colors.xml
2013-04-30 13:27:47 -07:00
Jimmy Shih
9e194021c5
Change track controller background color, remove line at the bottom of track controller, use bracket for distance
2013-04-30 11:45:45 -07:00
Jimmy Shih
520ae87f14
Add support for multiselect
2013-04-30 11:11:58 -07:00
Jimmy Shih
6a74a18e99
Modify DeleteMarkerDialogFragment to delete one or multiple markers
2013-04-29 18:04:27 -07:00
Jimmy Shih
ccfe7dc335
Fix style to reference theme attribute textAppearanceListItemSmall
2013-04-29 17:48:13 -07:00