Commit Graph

  • dcd4b8026f Cleanup eclipse warning Jimmy Shih 2013-10-21 12:41:39 -07:00
  • b7604a11e4 Fix eclipse warnings Jimmy Shih 2013-10-21 12:32:04 -07:00
  • 2e4f4cc4c2 Improve marker list layout with photo markers Jimmy Shih 2013-10-21 11:28:16 -07:00
  • d64b1c74f4 Update the calorie of both entire track and current segment. Change some code style. youtaol 2013-10-21 17:41:16 +08:00
  • 0e8de4c91a Bug fix: delete a partially inserted track if unable to import Jimmy Shih 2013-10-18 10:59:41 -07:00
  • b0dcd7be85 merge heads Jimmy Shih 2013-10-18 10:43:25 -07:00
  • cff11657f0 Bug fix: Only update drive file if it is in the MyTracks directory Jimmy Shih 2013-10-18 10:42:20 -07:00
  • 7edf71c95f Merge heads youtaol 2013-10-18 15:59:15 +08:00
  • ed4ec20ad7 Fix test case issue of ExportAndImport test case. youtaol 2013-10-18 15:58:52 +08:00
  • 32834f08c5 Delete photo when marker or track is deleted Jimmy Shih 2013-10-17 16:32:06 -07:00
  • a189f31f38 Merge heads youtaol 2013-10-17 10:10:35 +08:00
  • 18d98d5432 Fix an nullpointexception issue when run ChartFragmentTest. youtaol 2013-10-16 17:41:31 +08:00
  • 0b3f5ddca7 Fix an issue of test case testCalculateCalorieCycling. youtaol 2013-10-16 17:18:20 +08:00
  • 6231cf8663 Fix unit test issue of GpxFileTrackImporterTest and KMLFileTrackImporterTest after adding calorie code. youtaol 2013-10-16 16:53:35 +08:00
  • 24113a4d7f Code refactor: move managing list of deleted tracks to DeleteAsyncTask Jimmy Shih 2013-10-15 11:08:06 -07:00
  • cb3785de5c Performance optimization, during sync, getFolderId only when needed Jimmy Shih 2013-10-14 16:53:37 -07:00
  • 75c58c556a Reduce number of Google Drive api calls by using a list to keep track of the edits Jimmy Shih 2013-10-14 14:51:26 -07:00
  • b7f8da5ec2 Compute the grade while recalculate the calorie. youtaol 2013-10-12 15:04:14 +08:00
  • 6676f6b760 Optimization, reduce drive api calls when files are moved to a new directory in Google Drive Jimmy Shih 2013-10-11 10:21:15 -07:00
  • 6549ebb361 Use modified time to detect sync changes. Can not use md5 checksum to detect changes in zip file. Jimmy Shih 2013-10-10 13:48:06 -07:00
  • f893d4601b merge heads Jimmy Shih 2013-10-10 11:08:42 -07:00
  • 134c54ca03 Handles when a merge fails and the track is deleted Jimmy Shih 2013-10-10 11:07:09 -07:00
  • 651034e2a8 Update the TripStatisticsUpdater after change the activity type of current recording calorie. Using the activity type but calorie value to determine whether show activity set button or not. youtaol 2013-10-10 19:19:02 +08:00
  • e228918cca Fix an issue after merge head. youtaol 2013-10-10 14:01:37 +08:00
  • ddecd50ef6 Merge heads youtaol 2013-10-10 13:50:09 +08:00
  • 8e9be4fcf0 Change code style about calorie. youtaol 2013-10-10 11:16:58 +08:00
  • 800fabd5a0 Add test case about calculating cycling calorie. youtaol 2013-10-10 11:16:43 +08:00
  • e94b7768dc When inserting a new kml/kmz file in Google Drive, make the the file title and the track name are the same Jimmy Shih 2013-10-09 15:21:28 -07:00
  • 2b633c091c Code cleanup: add getExtension and getName in FileUtils.java Jimmy Shih 2013-10-09 14:07:38 -07:00
  • 120c965e32 Code cleanup: specify directories inside the cache directory at FileUtils.java Jimmy Shih 2013-10-09 13:41:39 -07:00
  • 5ee710b7c5 Support renaming files on Google Drive when sync is enabled Jimmy Shih 2013-10-09 12:53:35 -07:00
  • 721bc83b9f Fix an issue that the weight value unit is wrong when show the weight edit dialog after changing unit. youtaol 2013-10-08 16:35:12 +08:00
  • 8e907d9144 Add Google Drive sync for kmz files Jimmy Shih 2013-10-07 18:19:08 -07:00
  • 3827faa0e5 Code cleanup: FileUtils.java Jimmy Shih 2013-10-04 15:37:10 -07:00
  • 4161f8ff56 Codename: rename methods to FileUtils.getPath and FileUtils.getPathDisplayName Jimmy Shih 2013-10-04 15:30:53 -07:00
  • 5f00430795 Code cleanup: cleanup callers of FileUtils.buildUniqueFileName Jimmy Shih 2013-10-04 15:22:21 -07:00
  • 832397595d Code cleanup: add try finally block for callers of SyncUtils.getFile Jimmy Shih 2013-10-04 15:04:23 -07:00
  • 6df5e2916f Codecleanup: move TrackDataHub constants to its file Jimmy Shih 2013-10-04 11:12:40 -07:00
  • 39d26febc1 Code cleanup: remove TAG in Constants.java Jimmy Shih 2013-10-04 11:01:23 -07:00
  • 9c938b1260 Store photos in /MyTracks/pictures directory Jimmy Shih 2013-10-03 18:04:17 -07:00
  • b182c1cb80 When play track, add a containing folder to contain all the merged tracks Jimmy Shih 2013-10-02 15:22:00 -07:00
  • 7594f6b516 Delete RemoveTempFileService Jimmy Shih 2013-10-01 14:05:01 -07:00
  • c9f1422c42 Remove confirm play in earth dialog Jimmy Shih 2013-10-01 13:54:04 -07:00
  • ea943548ec Use a content provider url to play track in earth Jimmy Shih 2013-10-01 13:24:57 -07:00
  • 7078bad2ed merge heads Jimmy Shih 2013-10-01 11:29:34 -07:00
  • f61e65336d update eclipse configuration Jimmy Shih 2013-10-01 11:28:29 -07:00
  • 1107543463 Make the default calorie to invalid. Fix an error while calculating the cycling calorie. youtaol 2013-09-10 16:16:25 +08:00
  • 02587dc27e Add an activity setup button in stat page when the activity type is not support to calculate calorie. youtaol 2013-09-10 11:01:18 +08:00
  • 282c48f530 Re-calculate the calorie while user change the activity type of track. Show standard "value_unknown" (-) when the activity type is not supported. youtaol 2013-09-06 14:54:02 +08:00
  • 0e687d9e1b Increase thread priority when import and export Jimmy Shih 2013-09-05 14:19:27 -07:00
  • fefbc3c4ab Codecleanup, rename package from export to exporter Jimmy Shih 2013-09-05 14:09:28 -07:00
  • d9bb4fa024 Codecleanup: move importers to its own package Jimmy Shih 2013-09-05 13:55:30 -07:00
  • 9ced32f2df Use same thread to export track Jimmy Shih 2013-09-05 13:34:11 -07:00
  • 429ebdbf3a Handles interrupt and error cleanup during import Jimmy Shih 2013-09-05 13:02:03 -07:00
  • 7233137e93 Use the activity type of current track to calculate calorie. youtaol 2013-09-05 14:33:37 +08:00
  • e0375050d2 Codecleanup: for importer, make sure inputstreams are closed properly Jimmy Shih 2013-09-04 16:26:27 -07:00
  • 396845a694 merge heads Jimmy Shih 2013-09-04 13:45:40 -07:00
  • e4f6be4938 Import kmz or kml tracks Jimmy Shih 2013-09-04 13:44:39 -07:00
  • 88ce01dc46 Merge heads youtaol 2013-09-04 10:11:32 +08:00
  • d11561f797 Code cleanup: move export classes to its own package Jimmy Shih 2013-09-03 15:40:03 -07:00
  • 298d0ae75b Code cleanup: move closing a file output stream at the same level as opening it Jimmy Shih 2013-09-03 15:24:03 -07:00
  • 791e3a3492 Improve cancelling async task when exporting tracks Jimmy Shih 2013-09-03 14:43:33 -07:00
  • aff5654bde Code cleanup: remove unused interface Jimmy Shih 2013-09-03 13:39:41 -07:00
  • 71f03996f5 Export track in kmz or kml Jimmy Shih 2013-09-03 12:56:44 -07:00
  • ad03336916 Add weoght parameter in TripStatisticsUpdater.addLocation() method. youtaol 2013-09-02 19:31:53 +08:00
  • b8bd8d62ce Code cleanup: Add TrackExporter interface Jimmy Shih 2013-08-28 15:25:55 -07:00
  • ee7376919e code cleanup: rename Importer classes Jimmy Shih 2013-08-28 12:17:17 -07:00
  • c42abaac6b Use dependency property to enable/disable weight preference. Change code style. youtaol 2013-08-28 10:43:46 +08:00
  • 0955e9f089 Rename TrackFormatWriter to TrackWriter Jimmy Shih 2013-08-27 18:09:34 -07:00
  • efddcc1dcf Rename TrackWriter to TrackExporter Jimmy Shih 2013-08-27 17:41:45 -07:00
  • 10a3e18e7a Make the weight dialog always display after enable calorie display. Change code style. youtaol 2013-08-27 17:06:28 +08:00
  • 415b0afe38 Add a fix when UserRecoverableAuthException.getIntent throws a null pointer exception Jimmy Shih 2013-08-26 11:20:40 -07:00
  • 57ca65e3b6 Change code style about calorie. youtaol 2013-08-26 19:23:57 +08:00
  • 6ce0db575f Fix null pointer exception with dataSourceManager in TrackDataHub Jimmy Shih 2013-08-23 12:51:53 -07:00
  • 635006efae In KmlImporter, check that gx:multitrack is available before gx:track Jimmy Shih 2013-08-23 11:36:43 -07:00
  • a2032af55a check if getActivity is null in ChartFragment Jimmy Shih 2013-08-23 10:25:42 -07:00
  • 16ff92230a Give an weight input dialog when the weight value is not set yet. Make the weight value/display can be changed by unit setting. youtaol 2013-08-23 12:30:24 +08:00
  • 511dca70da merge heads Jimmy Shih 2013-08-22 15:29:53 -07:00
  • c9a7a167ea Use an async task to load bitmap Jimmy Shih 2013-08-22 15:28:16 -07:00
  • 2468062eff Add show calorie and user weight preference in Stats settings page. youtaol 2013-08-22 17:05:10 +08:00
  • b6b54923b2 Merge heads youtaol 2013-08-22 10:14:45 +08:00
  • 83b1fb67bf Make constant to calculate calorie of cycling to fields. Change coe style. youtaol 2013-08-22 10:03:33 +08:00
  • 8f7bc30b10 Update Back and reset settings, remove are you sure on the dialog title Jimmy Shih 2013-08-21 11:32:12 -07:00
  • b9fd09d043 Change code style about calorie calculation. youtaol 2013-08-21 10:23:36 +08:00
  • b76d7fbb9c Remove footer in share track dialog Jimmy Shih 2013-08-20 15:25:30 -07:00
  • c7ba2bc5a1 Use list preference for chart x axis settings Jimmy Shih 2013-08-20 15:19:33 -07:00
  • 594f156a1f Use a list preference for the preferred rate setting Jimmy Shih 2013-08-20 14:43:25 -07:00
  • 7a8a95853e Use fitcenter to scale images Jimmy Shih 2013-08-20 11:32:15 -07:00
  • d16949c139 Change code style about code of calorie calculation. youtaol 2013-08-20 11:06:37 +08:00
  • f29cf16e13 Adjust UI layout for photos Jimmy Shih 2013-08-19 17:48:00 -07:00
  • 5f16df912a merge heads Jimmy Shih 2013-08-19 15:55:45 -07:00
  • ec3f0ddab3 Add play in earth with photo overlays Jimmy Shih 2013-08-19 15:54:32 -07:00
  • cbd6d8158a Change code style. youtaol 2013-08-19 11:30:56 +08:00
  • 4cf647b02c Add raw calories feature. Add calories column in Track table. Add calories field and raw logic to calculate calories in TripStatistics. Display a raw calories text in Stats Fragment. youtaol 2013-08-15 20:19:36 +08:00
  • 75ac35bf53 Add unit test about CalorieUtils.java. And change the visiability of some methods to make them testable. youtaol 2013-08-15 10:16:27 +08:00
  • d64b6a4d93 Merge heads youtaol 2013-08-15 09:46:14 +08:00
  • 4d8c44782e Change code style. youtaol 2013-08-15 09:45:26 +08:00
  • 24a343661d Add page viewer for marker detail page Jimmy Shih 2013-08-14 13:06:39 -07:00
  • 863f1373e4 Rename CaloricExpenditureComputation.java to CalorieUtils.java. Change code style. youtaol 2013-08-13 15:38:03 +08:00
  • aed601fcda merge heads Jimmy Shih 2013-08-12 14:45:00 -07:00