Compare commits

..

246 Commits

Author SHA1 Message Date
Jimmy Shih 6102536136 Update codeversion for My Tracks 2.0.5 rc4 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
Jimmy Shih 45e5813f15 Set default units to imperial if in US 2013-07-08 13:15:46 -07:00
Jimmy Shih 876606df82 add ic_dialog_success.png 2013-07-08 12:32:46 -07:00
youtaol 97f6afae3b Merge heads 2013-07-04 10:08:14 +08:00
youtaol d106bc520e Fix some issues of e2e tests. 2013-07-04 09:58:08 +08:00
Jimmy Shih 4b4fd603f1 Set text color to white for api level < 13 2013-07-03 16:59:17 -07:00
Jimmy Shih 0f86dcbcb1 remove DialogWhenLarge theme 2013-07-03 16:10:13 -07:00
Jimmy Shih b850cb077f Update track_recording.png and track_paused.png 2013-07-03 15:45:45 -07:00
Jimmy Shih 56c7d1cc6b Add spacing betwen recording button and recording status in app widget.
center align text in warning message.
2013-07-03 15:42:53 -07:00
Jimmy Shih 1de84fa3da Update send to google result dialog. 2013-07-03 15:08:45 -07:00
Jimmy Shih a774693135 Fix updating list item background color 2013-07-03 13:24:05 -07:00
Jimmy Shih 189355a238 update icons 2013-07-03 10:52:38 -07:00
youtaol b4e94b9af1 Merge heads 2013-07-03 11:19:22 +08:00
youtaol 7bee6470bd Change code syle. 2013-07-03 11:13:10 +08:00
Jimmy Shih 449042b456 Fix wiget record button size.
Fix pause button.
2013-07-02 16:07:49 -07:00
Jimmy Shih 18b436195d show map layer menu if room 2013-07-02 11:19:35 -07:00
Jimmy Shih db8d767ca1 Update icons. 2013-07-02 11:11:39 -07:00
Jimmy Shih ad8349b2b4 Code cleanup: move analytics constants to AnalyticsUtils 2013-06-28 13:18:37 -07:00
Jimmy Shih a318b88ac8 Update manifest to 2.0.5 rc2 version 68 2013-06-25 17:11:21 -07:00
Jimmy Shih c8c00f8391 Use ApiAdapter.invalidateMenu to refresh the action bar menu. 2013-06-25 16:42:55 -07:00
Jimmy Shih f1b3a1495d Fix froyo but where Bitmap.getConfig can return null 2013-06-25 14:04:48 -07:00
Jimmy Shih 30c9941286 Remove ldpi icons 2013-06-25 13:54:23 -07:00
Jimmy Shih d343fd24ff Add orange style for EditText, ListSelector, PogressBar, and Checkbox. 2013-06-25 13:50:14 -07:00
Jimmy Shih bbce0b946e merge heads 2013-06-25 09:57:20 -07:00
Jimmy Shih 5efada2a6e Cleanup, rename string variables 2013-06-25 09:56:01 -07:00
youtaol 7dc86aaeb2 Fix e2e tests issues after code changes. 2013-06-25 19:04:38 +08:00
Jimmy Shih d7f7114328 fix typo in strings.xml 2013-06-24 18:39:22 -07:00
Jimmy Shih 1f41fefa09 Use a async task to delete tracks and show a progress dialog. 2013-06-24 18:15:26 -07:00
Jimmy Shih e7c1687565 Code cleanup: save a save_all option to SaveActivity. 2013-06-24 17:18:58 -07:00
Jimmy Shih 60ce1916f6 Code cleanup: move request code to AbstractSendToGoogleActivity 2013-06-24 16:46:42 -07:00
Jimmy Shih d8e0d4ab73 Code cleanup: Cleanup method order in AbstractSendToGoogleActivity. 2013-06-24 14:37:31 -07:00
Jimmy Shih 2d4cabf4ef Add menu option to Sync to Google Drive. 2013-06-24 14:09:25 -07:00
Jimmy Shih 176b2b05d3 Code cleanup. In SendRequest, rename to driveSync. 2013-06-24 11:03:12 -07:00
Jimmy Shih 27cea61edb Code cleanup: rename to ConfirmSyncDialogFragment 2013-06-24 10:57:29 -07:00
Jimmy Shih 636ffbf39a Update sync to Google Drive text 2013-06-21 18:22:18 -07:00
Jimmy Shih ced42e3d86 Update confirmation messages 2013-06-21 18:13:01 -07:00
Jimmy Shih 85eba36d4c Remove confirmation dialog when sharing via Google Drive. 2013-06-21 17:58:15 -07:00
Jimmy Shih abd8f59a07 Improve the wording where there is no backup. 2013-06-21 17:38:43 -07:00
Jimmy Shih 8bb55ad5db Support cases when there is no files to import or export. 2013-06-21 17:22:37 -07:00
Jimmy Shih 9609010906 Use external storage directory display name rather than the actual path. 2013-06-21 16:42:50 -07:00
Jimmy Shih db124f4ca6 Code cleanup: use trackFileFormat.getExtension 2013-06-21 15:57:27 -07:00
Jimmy Shih fcb2c9ea7f For import/export, include the external storage location. 2013-06-21 15:44:00 -07:00
Jimmy Shih 021fa9668f update menu_split_frequency icon 2013-06-21 13:54:29 -07:00
Jimmy Shih d2243ccabc merge heads 2013-06-21 13:32:32 -07:00
Jimmy Shih 429b13664d update action bar icons 2013-06-21 13:31:51 -07:00
Jimmy Shih 97c72dfafd Remove executable permission on png files. 2013-06-21 11:00:44 -07:00
Jimmy Shih 512167e536 Use a PrefereneList to select preferred units. 2013-06-20 17:53:08 -07:00
Jimmy Shih 2e8d9ea411 Adjust contextual menu based on the isRecording state. 2013-06-20 14:00:11 -07:00
Jimmy Shih 6e5365a8e8 Move select all in multiple select to an action bar item 2013-06-20 13:17:15 -07:00
Jimmy Shih c1b39b1472 Not show map layer in the action bar 2013-06-19 16:23:08 -07:00
Jimmy Shih ce756ec5eb Add DialogWhenLarge Theme. 2013-06-19 16:13:16 -07:00
Jimmy Shih bcf94161b6 For Holo theme, add a divider above borderless buttons. 2013-06-19 14:52:33 -07:00
Jimmy Shih 421dbe5632 In list view item, make the recording track the same height as recorded tracks. 2013-06-18 16:03:52 -07:00
Jimmy Shih f2125150d4 Fix list view item selection to make sure all text are white when selected. 2013-06-18 15:40:45 -07:00
Jimmy Shih 2e84468785 Rename sync now to refresh 2013-06-18 14:12:29 -07:00
Jimmy Shih 071bca5353 Update text for sync with google drive.
Update text for accounts and sync settings.
2013-06-18 12:52:51 -07:00
Jimmy Shih d00d6f0588 Set the terms of service text size to TextSmall 2013-06-18 11:31:42 -07:00
Jimmy Shih 8c421b2255 fix typo in track_detail_feedback menu id 2013-06-17 09:19:15 -07:00
Jimmy Shih 5262dd0bc2 Use ApiAdapter to disable Google Feedback for pre-ICS 2013-06-14 13:33:48 -07:00
Jimmy Shih 86a3f407ce In TrackRecordingService, use SystemUtils to aquire wake lock 2013-06-14 13:00:57 -07:00
Jimmy Shih d558e8f507 Code cleanup: use class name for timer name 2013-06-14 11:32:57 -07:00
Jimmy Shih 32f488be61 Use handler directly instead of using a timer in TrackRecordingService 2013-06-14 11:16:33 -07:00
Jimmy Shih 1d6710e30e Code cleanup, in MyTracksLocationManager, use the same handler for content observer 2013-06-14 10:14:24 -07:00
Jimmy Shih 33b4b62ad0 Code cleanup: improve readability in TrackController 2013-06-14 09:57:01 -07:00
youtaol 001537863a Add ShareTest test case. 2013-06-14 16:26:31 +08:00
youtaol 052d651ea0 Merge heads 2013-06-14 10:20:59 +08:00
Jimmy Shih b720cf26ee Code cleanup: add name to Timer thread HandlerThread 2013-06-13 15:22:11 -07:00
Jimmy Shih 501dbd1746 Use the handler to update SensorStateActivity 2013-06-13 14:43:25 -07:00
Jimmy Shih 0b75c95e93 Code cleanup: cleanup timer usage in TimerTaskExecutor 2013-06-13 12:39:40 -07:00
Jimmy Shih 9d6ff995f7 Fix spacing between x axis label and x axis marker. 2013-06-12 17:08:43 -07:00
Jimmy Shih 6cf06d9abe Update antlib.jar 2013-06-11 17:55:33 -07:00
Jimmy Shih 21be96887d Add links to the url in terms of service. 2013-06-11 14:48:36 -07:00
Jimmy Shih 434dd07cfa Bug fix. Make sure the start marker location is valid when sending to Google Maps and Google Fusion Tables. 2013-06-11 11:00:49 -07:00
Jimmy Shih 849d5bdf1c Display pace in mm:second format. 2013-06-10 15:59:47 -07:00
Jimmy Shih 053aae4d5a Use StringUtils.getSpeedParts to geneate all the pace values in DescriptionGeneratorImpl. 2013-06-10 15:24:41 -07:00
Jimmy Shih a6cae727bd In TrackList, handle the case SHAREWITHME can be null 2013-06-10 14:05:19 -07:00
Jimmy Shih f0a8dfc26e Fix pace label typo, should be minutes per mile/kilometer 2013-06-10 11:29:26 -07:00
youtaol e9bb0d84a6 Update Robotium to 4.1. 2013-06-09 20:06:16 +08:00
youtaol e1d2a09207 Change SendToGoogleTest to ExportSingleTrackTest. Fix strings change issues. 2013-06-08 18:03:01 +08:00
youtaol d1055ef5ee Merge heads 2013-06-08 13:12:39 +08:00
Jimmy Shih 0a0854a367 update android manifest for 2.0.5 versionCode 67 2013-06-07 15:04:38 -07:00
Jimmy Shih f7d2bbc34c Fix view pager view for froyo and gingerbread phones. 2013-06-07 14:55:24 -07:00
Jimmy Shih 0c7f61891e Place kml before gpx 2013-06-07 13:58:12 -07:00
Jimmy Shih 636f78f78a use system color for list view selected background color 2013-06-07 13:33:37 -07:00
Jimmy Shih 12e9559e96 Update export menu.
Improve export dialog layout.
Rearrange tralist list menu.
Remove unused method in MenuItemTest.
2013-06-07 13:13:59 -07:00
Jimmy Shih 9571afa286 Improve share track dialog 2013-06-07 10:10:55 -07:00
youtaol 7a09e89041 Add all "export all" tests into one new file. And remove two redundant tests. 2013-06-07 15:02:26 +08:00
Jimmy Shih 4efd2a3f5e Improve export all strings. 2013-06-06 17:33:48 -07:00
Jimmy Shih 3cc0e10031 Code cleanup. Remove track.getMapId and track.getTableId. 2013-06-06 15:45:54 -07:00
Jimmy Shih 738d73937b merge heads 2013-06-06 14:59:37 -07:00
Jimmy Shih efa6f53fdf Add make track public in sharing dialog. 2013-06-06 14:58:12 -07:00
youtaol 5ec245fcdd Change save one track to SD card to save all tracks to SD card. 2013-06-06 19:08:12 +08:00
Jimmy Shih c8736b7f72 Code cleanup, in SendRequest, remove support for sharing a map url. 2013-06-04 17:26:56 -07:00
Jimmy Shih fe3b063790 After exporting to external storage, add option to share the file. 2013-06-04 17:05:45 -07:00
Jimmy Shih 864129488f Remove share track setting. 2013-06-04 16:36:55 -07:00
Jimmy Shih 2e81f981ca Remove ChooseMapActivity. 2013-06-04 16:13:17 -07:00
Jimmy Shih f89c6696b3 Combine save and send to google into export. 2013-06-04 15:32:19 -07:00
Jimmy Shih 5a5b1431eb Rename save all to export all.
Rename save to export.
Remove send to google menu option.
2013-06-03 17:40:15 -07:00
Jimmy Shih 56e272c5d4 Remove Google Drive item from Send to Google dialog. 2013-06-03 15:54:12 -07:00
Jimmy Shih 8cda9df762 Set list view track name font size to medium.
Change list view activated background color.
Change contextual mode background color.
2013-06-03 13:58:45 -07:00
Jimmy Shih 44e994f420 Change tab background color for android v11 and higher 2013-06-03 13:06:30 -07:00
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
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
youtaol b9e944a9e5 Add test case to check the multi-select and then delete. And fix an e2e test error in EndToEndTestUtils. 2013-05-03 15:53:12 +08:00
youtaol 14b796b27a Add test case to check the position of track controller view. 2013-05-03 12:29:44 +08:00
youtaol 3f208a7b65 Move some e2e test cases to a new package, and make these test are easy to run. 2013-05-03 11:56:04 +08:00
youtaol 3303d70c1c Fix e2e test error after code changes. 2013-05-02 20:08:50 +08: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
Jimmy Shih 3a26501aec merge heads 2013-04-29 17:43:37 -07:00
Jimmy Shih e890f02d97 Create a DeleteTrackDialogFragment that can delete one, multiple, or all tacks 2013-04-29 17:42:47 -07:00
Jimmy Shih ce80f4e39a merge heads 2013-04-29 12:33:54 -07:00
Jimmy Shih 9a2b7f8987 Use dp for home screen widget textSize 2013-04-29 11:32:51 -07:00
Jimmy Shih cc27b4329d fix various styles errors 2013-04-29 11:25:16 -07:00
youtaol 97defda41c Merge heads 2013-04-28 21:01:47 +08:00
youtaol c514f55496 Fix test error. 2013-04-28 21:01:05 +08:00
Jimmy Shih e31c5e7a68 Add the menu_stop_gps icon 2013-04-26 11:50:07 -07:00
Jimmy Shih 9fd22081fa Invert icon image shown in Spinner for API level < 11 2013-04-26 11:10:55 -07:00
Jimmy Shih d9f897bc53 Use a spinner for the activity icon in TrackEditActivity 2013-04-25 17:32:04 -07:00
Jimmy Shih 826ff2f79f Fix spacing in activity icon dialog. 2013-04-25 13:41:29 -07:00
youtaol 1d4f96d5d9 Merge heads 2013-04-24 21:00:59 +08:00
youtaol e0ccac0289 Fix some e2e test errors. 2013-04-24 21:00:27 +08:00
youtaol 7cd9990cfb Add testSendLargeTrackToGoogle test case to test send a big track(which has more than 100 points) to Google. 2013-04-24 16:21:09 +08:00
Jimmy Shih c972917b3a Upgrade support library to version 12 2013-04-23 12:59:30 -07:00
Jimmy Shih 7d995f2fc9 Add swipet behavior (pager) to the TrackDetail tabs. 2013-04-23 10:35:20 -07:00
youtaol 2654a1484c Change test case of share as the share ui is changed. 2013-04-23 18:49:35 +08:00
Jimmy Shih 9bb05e6717 Fix sending a large track to Fusion Tables. 2013-04-22 17:55:12 -07:00
Jimmy Shih 6bd2dabd60 merge heads 2013-04-22 15:12:55 -07:00
Jimmy Shih 743e5a0755 Fix navigation up thus up has the zoom in effect. 2013-04-22 15:11:39 -07:00
youtaol f49d6f31a5 Change some generic_ok buttons to generic_yes. 2013-04-22 21:51:44 +08:00
youtaol b74df8186d Remove welcome dialog and change cancel button to no, ok button to yes. 2013-04-22 20:28:52 +08:00
Jimmy Shih 30d611e295 update google play services to version 6 2013-04-19 11:23:05 -07:00
Jimmy Shih c21bfd84c1 Add option to share as a file. 2013-04-18 15:50:51 -07:00
Jimmy Shih c38ee02d4b Combine share via drive and share via maps url into a share button.
Use settings to choose between drive and maps.
2013-04-18 13:34:30 -07:00
Jimmy Shih c4d7b544cb merge heads 2013-04-17 18:19:42 -07:00
Jimmy Shih c7db1cebec Add generic_yes and generic_no strings and use them in confirmation dialogs. 2013-04-17 18:18:11 -07:00
Jimmy Shih ff2a6fd241 Remove welcome screen 2013-04-17 17:17:00 -07:00
youtaol d66bf7b395 Merge heads 2013-04-17 19:51:58 +08:00
youtaol 3d6f9a1a2d Delete tracks on Google Maps 2013-04-17 13:32:46 +08:00
youtaol e80b8b19c4 Make test runs well on Android 2.3.3 2013-04-17 11:33:49 +08:00
Jimmy Shih 9410ed0acc Code cleanup. Remove PermissionCallback and remove checkPermission in GoogleSettingsActivity. 2013-04-15 15:59:53 -07:00
Jimmy Shih b5331c5f5a Use a non-UI fragment to check for credential when sending a track to google. 2013-04-15 14:53:04 -07:00
Jimmy Shih 179229821b When rotating screen, zoom to the last known location. 2013-04-11 18:35:33 -07:00
Jimmy Shih 5b28f4b1c9 If a trackId is not longer valid, use the last track.
Fix app widget launching My Tracks with an invalid track id.
2013-04-11 15:21:19 -07:00
Jimmy Shih 86410b1f80 Change getLastTrack to return the last track on the track list. 2013-04-11 14:28:38 -07:00
Jimmy Shih 5447b357d2 Update widget on software update. 2013-04-11 13:55:39 -07:00
Jimmy Shih 19020f686f In App Widget, only update the size if it has changed. 2013-04-11 13:27:52 -07:00
Jimmy Shih 1ebe7baf7c When SendRequest used in sending to Google when rotating screen 2013-04-11 10:28:24 -07:00
Jimmy Shih ed520de514 Added tag v2.0.4 for changeset b1661e784e79 2013-03-17 20:22:05 -07:00
819 changed files with 9569 additions and 9242 deletions
+1
View File
@@ -7,5 +7,6 @@
<classpathentry kind="src" path="gen"/>
<classpathentry kind="con" path="com.google.gdt.eclipse.managedapis.MANAGED_API_CONTAINER/fusiontables-v1r16lv1.12.0-beta"/>
<classpathentry kind="con" path="com.google.gdt.eclipse.managedapis.MANAGED_API_CONTAINER/gdata-spreadsheet-2.1"/>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
<classpathentry kind="output" path="bin/classes"/>
</classpath>
+17 -9
View File
@@ -16,8 +16,8 @@ limitations under the License.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
android:installLocation="auto"
android:versionCode="66"
android:versionName="2.0.4"
android:versionCode="70"
android:versionName="2.0.5"
package="com.google.android.maps.mytracks" >
<!-- Permission to initialize services -->
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
@@ -26,6 +26,8 @@ limitations under the License.
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<!-- Permission for activity recognition -->
<uses-permission android:name="com.google.android.gms.permission.ACTIVITY_RECOGNITION" />
<!-- Permissions to access sensors -->
<uses-permission android:name="com.dsi.ant.permission.ANT" />
<uses-permission android:name="com.dsi.ant.permission.ANT_ADMIN" />
@@ -136,9 +138,9 @@ limitations under the License.
android:allowBackup="true"
android:backupAgent="com.google.android.apps.mytracks.io.backup.MyTracksBackupAgent"
android:hardwareAccelerated="true"
android:icon="@drawable/my_tracks_icon"
android:icon="@drawable/ic_launcher_my_tracks"
android:label="@string/my_tracks_app_name"
android:theme="@style/ThemeSelector" >
android:theme="@style/MyTracks" >
<!-- For data backup -->
<meta-data
android:name="com.google.android.backup.api_key"
@@ -151,6 +153,7 @@ limitations under the License.
<activity
android:label="@string/menu_aggregated_statistics"
android:name="com.google.android.apps.mytracks.AggregatedStatsActivity" />
<activity android:name="com.google.android.apps.mytracks.DeleteActivity" />
<activity
android:label="@string/menu_help"
android:name="com.google.android.apps.mytracks.HelpActivity" />
@@ -187,7 +190,13 @@ limitations under the License.
<activity
android:label="@string/menu_sensor_state"
android:name="com.google.android.apps.mytracks.SensorStateActivity" />
<activity android:name="com.google.android.apps.mytracks.TrackDetailActivity" />
<activity
android:name="com.google.android.apps.mytracks.TrackDetailActivity"
android:parentActivityName="com.google.android.apps.mytracks.TrackListActivity" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.google.android.apps.mytracks.TrackListActivity" />
</activity>
<activity android:name="com.google.android.apps.mytracks.TrackEditActivity" />
<activity android:name="com.google.android.apps.mytracks.TrackListActivity" >
<intent-filter>
@@ -204,9 +213,6 @@ limitations under the License.
<activity android:name="com.google.android.apps.mytracks.io.drive.SendDriveActivity" />
<activity android:name="com.google.android.apps.mytracks.io.file.SaveActivity" />
<activity android:name="com.google.android.apps.mytracks.io.fusiontables.SendFusionTablesActivity" />
<activity
android:label="@string/maps_list_title"
android:name="com.google.android.apps.mytracks.io.maps.ChooseMapActivity" />
<activity android:name="com.google.android.apps.mytracks.io.maps.SendMapsActivity" />
<activity android:name="com.google.android.apps.mytracks.io.sendtogoogle.UploadResultActivity" />
<activity android:name="com.google.android.apps.mytracks.io.spreadsheets.SendSpreadsheetsActivity" />
@@ -237,6 +243,8 @@ limitations under the License.
android:name="android.content.SyncAdapter"
android:resource="@xml/sync_adapter" />
</service>
<service
android:name="com.google.android.apps.mytracks.services.ActivityRecognitionIntentService" />
<service
android:exported="false"
android:name="com.google.android.apps.mytracks.services.ControlRecordingService" />
@@ -244,7 +252,7 @@ limitations under the License.
<service
android:enabled="true"
android:exported="true"
android:icon="@drawable/arrow_320"
android:icon="@drawable/ic_arrow_320"
android:label="@string/my_tracks_recording_service"
android:name="com.google.android.apps.mytracks.services.TrackRecordingService"
android:permission="com.google.android.apps.mytracks.WRITE_TRACK_DATA" />
+2 -2
View File
@@ -4,10 +4,10 @@ applications that wish to use these files should consult the appropriate
licenses or the JAR's authors.
Android Support Package:
android-support-v4.jar (version 11)
android-support-v4.jar (version 13)
Ant+:
antlib.jar - see http://www.thisisant.com/pages/developer-zone/android-api
antlib.jar - from Android_ANT_SDK_20120625.zip
Google APIs Client Library for Java:
google-api-client-1.12.0-beta.jar
Binary file not shown.
Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 199 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 383 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 354 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 404 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 240 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 727 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 585 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 892 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Before

Width:  |  Height:  |  Size: 61 KiB

After

Width:  |  Height:  |  Size: 61 KiB

Before

Width:  |  Height:  |  Size: 55 KiB

After

Width:  |  Height:  |  Size: 55 KiB

Before

Width:  |  Height:  |  Size: 56 KiB

After

Width:  |  Height:  |  Size: 56 KiB

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

Before

Width:  |  Height:  |  Size: 741 B

After

Width:  |  Height:  |  Size: 741 B

Before

Width:  |  Height:  |  Size: 52 KiB

After

Width:  |  Height:  |  Size: 52 KiB

Before

Width:  |  Height:  |  Size: 69 KiB

After

Width:  |  Height:  |  Size: 69 KiB

Before

Width:  |  Height:  |  Size: 41 KiB

After

Width:  |  Height:  |  Size: 41 KiB

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 115 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 139 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 115 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 115 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 189 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 178 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 363 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 143 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 723 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 806 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 908 B

Some files were not shown because too many files have changed in this diff Show More