Commit Graph

2345 Commits

Author SHA1 Message Date
Jimmy Shih d5aaebc44d update the android support library to version 13 2013-05-31 15:30:07 -07:00
Jimmy Shih 063083f1a4 On contextual menu, only delete all if the number of tracks is greater than 1. 2013-05-31 11:06:38 -07:00
Jimmy Shih 125b21ef30 In TrackDataHub, do not automatically register for preferences change. 2013-05-29 14:16:54 -07:00
Jimmy Shih 5a14ef080c Remove SELECTED_TRACK type from TrackDataHub. 2013-05-29 14:08:14 -07:00
Jimmy Shih 53bde78293 In MyTracksMapFragment, remove dependency on onSelectedTrackChanged. 2013-05-29 14:01:13 -07:00
Jimmy Shih 0a0753c4c5 Remove selected_track_id_key. 2013-05-29 11:23:08 -07:00
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 4f13b62a81 merge heads 2013-05-28 14:18:09 -07:00
Jimmy Shih 9dbf0b0c4b Fix displaying a marker on the map view. 2013-05-28 14:16:40 -07:00
youtaol ecbd7ea769 Add checks in testShareActivity_withDrive about the share result in the destination account. 2013-05-27 11:02:02 +08:00
youtaol bc36ac5afe Change testTrackControllerPostion to make it can run when API level less than 13. 2013-05-27 10:58:28 +08: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 6b7ddc8522 Update to google play services v7 2013-05-15 13:28:27 -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
youtaol 232e314ca3 Change stat settings e2e test case as source code changes. 2013-05-13 20:31:22 +08:00
youtaol 61bcf078a9 Fix an error of TripStatisticsUpdaterTest. 2013-05-13 18:05:38 +08:00
youtaol d911419cf2 Add checks about the display and hide of record controller. 2013-05-09 16:31:52 +08:00
youtaol e8a832fb2c Merge heads 2013-05-09 11:27:28 +08: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