Commit Graph

5895 Commits

Author SHA1 Message Date
youtaol 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. 2013-08-15 20:19:36 +08:00
youtaol 75ac35bf53 Add unit test about CalorieUtils.java. And change the visiability of some methods to make them testable. 2013-08-15 10:16:27 +08:00
youtaol d64b6a4d93 Merge heads 2013-08-15 09:46:14 +08:00
youtaol 4d8c44782e Change code style. 2013-08-15 09:45:26 +08:00
Jimmy Shih 24a343661d Add page viewer for marker detail page 2013-08-14 13:06:39 -07:00
youtaol 863f1373e4 Rename CaloricExpenditureComputation.java to CalorieUtils.java. Change code style. 2013-08-13 15:38:03 +08:00
Jimmy Shih aed601fcda merge heads 2013-08-12 14:45:00 -07:00
Jimmy Shih 79a38b2763 Added tag v2.0.5 for changeset 2a2a4e2c216a 2013-08-09 10:07:15 -07:00
Jimmy Shih 8f35da9576 display photos in marker list 2013-08-07 18:38:00 -07:00
youtaol 1d5d91c2bf Add utils to calculate caloric expenditure. 2013-08-07 16:09:30 +08:00
Jimmy Shih ba859b64e3 Fix two bugs.
- reload waypoint in MarkerDetailActivity onResume
- In list item, if time/distance field is not available, use INVISIBLE rather than GONE.
2013-08-06 13:55:16 -07:00
Jimmy Shih 517b792e43 Add feature to insert a photo marker 2013-08-06 12:55:02 -07:00
Jimmy Shih 6102536136 Update codeversion for My Tracks 2.0.5 rc4 v2.0.5 2013-07-31 17:10:09 -07:00
youtaol fe3fcdddaa Make e2e test cases of Sync feature runs well. 2013-07-25 20:24:11 +08:00
youtaol 0744770a50 Merge heads 2013-07-25 20:16:22 +08:00
youtaol 3b8509ac39 Change code style. 2013-07-24 17:14:51 +08:00
Jimmy Shih c555c201d6 Revert to original algorithm to calculate grade
Always use smoothed speed.
2013-07-23 12:31:30 -07:00
Jimmy Shih 928c62a237 Update elevation min,max and speed min,max after buffer is full 2013-07-23 10:21:39 -07:00
youtaol 0b7495a462 Merge heads 2013-07-17 15:41:41 +08:00
youtaol 604c5069ac Change the check logic of testGPSMenu. 2013-07-17 15:41:27 +08:00
Jimmy Shih 720f747460 merge heads 2013-07-16 10:47:40 -07:00
Jimmy Shih ab4ed7ed9f Bug fixes: update menu after starting/stopping gps - to handle ICS phones of updating menu immediately after invalidating it 2013-07-16 10:45:52 -07:00
Jimmy Shih d701ee81ba Bug fix: use a different request code for google play services 2013-07-15 15:23:48 -07:00
youtaol bc334d9ec1 Merge heads 2013-07-15 09:47:40 +08:00
youtaol 58ebedb7c3 Add distance and average speed checks in export/import test. 2013-07-15 09:47:29 +08:00
Jimmy Shih 64018fb02c Handle the case that sync is active while deleting all tracks 2013-07-12 14:26:09 -07:00
Jimmy Shih a6e9412a69 Record idle location to support zero speed when idle 2013-07-12 13:21:19 -07:00
youtaol f4ccb8dbd4 Merge heads 2013-07-12 10:43:51 +08:00
Jimmy Shih 3f99263b5a Make sure max speed is as large as avg moving speed 2013-07-11 17:22:52 -07:00
Jimmy Shih 8ba5980009 Code cleanup: reorg methods in TripStatistics 2013-07-11 17:06:14 -07:00
Jimmy Shih deadd17c28 update version code to 60 for v2.0.5 rc3 2013-07-11 15:52:53 -07:00
Jimmy Shih b94d6ab240 Code cleanup: fix lint warning 2013-07-11 15:44:43 -07:00
Jimmy Shih 203c56a7fe Update translations for v2.0.5 2013-07-11 15:37:16 -07:00
Jimmy Shih e7e671c1ff Check if location speed and accuracy are available. 2013-07-11 14:38:09 -07:00
Jimmy Shih 4b6c9a875b Improve elevation and grade calculation to take into account locations without altitude. 2013-07-11 13:53:34 -07:00
Jimmy Shih 9b0c14c9c7 In Stats view, only show speed and elevation when they are available. 2013-07-11 09:51:54 -07:00
youtaol a484963572 Add test case to check the track details during export and import(Only check the altitude in this case). 2013-07-11 17:13:40 +08:00
youtaol dad09f4a87 Merge heads 2013-07-11 10:36:14 +08:00
Jimmy Shih e30d816765 Export altitude only when it is defined 2013-07-10 12:37:14 -07:00
Jimmy Shih 7deb589a75 Bug fix, reload cursor loader after deleting a track 2013-07-10 12:24:40 -07:00
Jimmy Shih 8bd5818a81 Support importing gpx and kml without altitude value. 2013-07-10 11:16:56 -07:00
youtaol 4debca0054 Merge heads 2013-07-10 14:19:41 +08:00
youtaol fd3940fcd0 Fix an issue of share test. 2013-07-10 14:18:05 +08:00
Jimmy Shih 5a4860a45a Add onPrepareOptionMenu to update menu state. 2013-07-09 15:54:32 -07:00
Jimmy Shih e67bb581e6 Change defaut recording distance interval to 10m 2013-07-09 14:43:49 -07:00
Jimmy Shih 89b1c6debe Chagne gps accuracy default tp 50m 2013-07-09 14:12:52 -07:00
Jimmy Shih 1ddb53ad47 Code cleanup: add ic_ prefix to icons 2013-07-09 11:53:25 -07:00
Jimmy Shih ae456a498e Code cleanup: add ic_ prefix to track icons 2013-07-09 11:12:13 -07:00
Jimmy Shih 834b0465fe Code cleanup: add ic_launcher, ic_tab, ic_stat_notify prefix 2013-07-08 18:37:37 -07:00
Jimmy Shih d50d9b6ef2 code cleanup: prefix menu icon with ic_menu 2013-07-08 18:14:39 -07:00