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
Jimmy Shih
b888a9a3b8
My Tracks 2.0.3 rc3
2013-03-10 20:54:49 -07:00
youtaol
d2708ca2a5
Add some code to change the activity type during exit a track.
2013-03-08 16:15:26 +08:00
Jimmy Shih
f93149191e
Remove unused permissions.
2013-03-07 16:48:07 -08:00
Jimmy Shih
664f18c1ea
Pass in hl to the help center url
2013-03-07 14:16:03 -08:00
Jimmy Shih
e44d2875cc
Fix gpx lock in the start of a recording. Use a handler thread
...
to obtain locationListener callbacks.
2013-03-07 11:40:14 -08:00
Jimmy Shih
89e01a706e
Add a dialog for user to choose the activty type.
...
By apoorvn.
2013-03-06 13:46:44 -08:00
Jimmy Shih
e561a25542
check if searchmneu is null before using it
2013-03-05 16:50:31 -08:00
Jimmy Shih
5107dbcb5e
Update strings
2013-03-05 10:23:47 -08:00
Jimmy Shih
4cd114b0b3
Prevent dedicated search key from dismissing eula
2013-03-04 18:29:38 -08:00
Jimmy Shih
88cb5dd4ca
Fix phones that do not always set the location time correctly.
2013-03-04 15:07:06 -08:00
youtaol
c3c773eac6
Merge heads
2013-03-04 19:10:16 +08:00
youtaol
89bf4713ce
Change the method to query and delete fusion table.
2013-03-04 19:09:23 +08:00
youtaol
9d2b2db01f
Change code to make e2e test run more stable.
2013-03-04 19:08:06 +08:00
Jimmy Shih
8a1b4274a0
When restore from backup, disable sync to Google Drive.
2013-03-01 11:14:46 -08:00
Jimmy Shih
d94673279a
In TrackDetailActivity, check if the track id is valid or not
2013-03-01 10:19:29 -08:00
youtaol
e1e1932071
Merge heads
2013-03-01 10:24:11 +08:00
youtaol
4422dd8066
Change code style.
2013-03-01 10:22:15 +08:00
Jimmy Shih
4f7dff1884
update translation
2013-02-28 14:50:32 -08:00
youtaol
0fb8c6902f
Merge heads
2013-02-28 13:32:17 +08:00
Jimmy Shih
363f555f9c
add onEnabled to reinitialize the widget after reboot
2013-02-27 17:19:17 -08:00
Jimmy Shih
f20fa758e7
fix typo in ChartFragment
2013-02-27 14:35:01 -08:00
Jimmy Shih
7bd5a9b0c0
merge branches
2013-02-27 12:21:14 -08:00
Jimmy Shih
6bf211a5c6
persist map type from apoorvnaik
2013-02-27 12:20:03 -08:00
youtaol
dbfbfb1b1f
Add test cases about TripStatisticsUpdater.addLocation().
2013-02-27 18:29:30 +08:00
Jimmy Shih
e8e99dc3d0
Notify db changes after transaction is completed.
2013-02-26 14:17:50 -08:00
youtaol
6994b0b5df
Fix errors of SettingTest.
2013-02-26 18:07:24 +08:00
youtaol
da04450a2b
Merge heads
2013-02-26 10:51:24 +08:00
youtaol
d740f5a09d
Add a short wait to make an sync test runs more stable.
2013-02-26 10:50:32 +08:00
Jimmy Shih
9b57749c18
When export, use the last valid track point as the end point.
2013-02-25 17:00:27 -08:00
Jimmy Shih
8929f0c211
Update the title for entering email addresses
2013-02-25 16:19:25 -08:00
Jimmy Shih
036fe3ab71
remove MyTracksApplication.java
2013-02-25 14:48:56 -08:00
Jimmy Shih
10b327f533
Clear sync state when reset settings.
2013-02-25 11:03:43 -08:00
Jimmy Shih
6810a0d048
Rename to share_maps to be consistent with send_maps.
2013-02-25 10:04:55 -08:00
Jimmy Shih
f47ac17499
update android support library to version 11
2013-02-22 16:49:43 -08:00
Jimmy Shih
06718466ea
Add lock screen widget.
...
Fix issue with 4x1 widget not displaying properly.
2013-02-22 14:58:57 -08:00
Jimmy Shih
266b2f44d1
fix eclipse warnings
2013-02-22 13:34:52 -08:00
Jimmy Shih
c564c55f75
Add Google Feedback for ICS+ devices.
2013-02-22 13:09:52 -08:00
Jimmy Shih
82f68db819
merge heads
2013-02-22 11:24:20 -08:00
Jimmy Shih
925dc14b84
merge branches
2013-02-22 11:23:51 -08:00
Jimmy Shih
148f0da718
fix a typo in tos body
2013-02-22 11:18:48 -08:00
Jimmy Shih
38c9b2d0d7
Remove unused jars
2013-02-22 11:16:29 -08:00
Jimmy Shih
2c96afd9e1
merge branches
2013-02-22 11:07:53 -08:00
Jimmy Shih
e44e68e226
Update AndroidManifest to version code 64 for 2.0.4 rc1
2013-02-22 11:07:14 -08:00
youtaol
a3e9fbbc16
Change the method EndToEndTestUtils.verifyFirstLaunch() as new changes of first launch.
2013-02-22 11:19:56 +08:00
youtaol
dfa81656d3
Make some change to make sync test run more stable.
2013-02-22 10:52:18 +08:00
youtaol
e0084f6652
Merge heads
2013-02-21 14:32:04 +08:00
youtaol
c88e67abe1
Change testTrackStartTime to testTrackRelativeTime.
2013-02-21 14:31:49 +08:00
Jimmy Shih
f5f6cb59f5
Fix typos in strings.xml.
2013-02-20 14:58:17 -08:00
Jimmy Shih
16d3a35274
Remove in-app help content. Use a webview to access online help content.
2013-02-20 14:22:46 -08:00
Jimmy Shih
d2f7279791
Update track icons.
2013-02-20 13:28:59 -08:00
Jimmy Shih
d4fb45748f
merge branches
2013-02-20 13:05:48 -08:00
Jimmy Shih
37dbff6025
Handle the case that some tracks can be uploaded to Google Drive before sync is enabled.
2013-02-20 13:03:58 -08:00
Jimmy Shih
b064bccc52
Improve list view layout.
2013-02-20 11:13:39 -08:00
Jimmy Shih
9394031177
Do not show the EnableSyncDialogFragment if sync is already enabled.
2013-02-20 09:09:59 -08:00
youtaol
439b508619
Merge heads
2013-02-20 17:35:00 +08:00
youtaol
95cb4db92c
Change code style.
2013-02-20 17:08:08 +08:00
youtaol
6ff0509124
Change to using OAuth2 and the new spreadsheet gdata library. Update the SendToGoogleTest as the new code changes.
2013-02-20 17:01:17 +08:00
Jimmy Shih
883596b388
In the start up flow, ask the user if he wants to enable Google Drive sync.
2013-02-19 18:41:26 -08:00
Jimmy Shih
ae1740cacd
Use the caller pattern for all DialogFragment.
2013-02-19 17:09:35 -08:00
Jimmy Shih
63319b78f9
Remove a testing constructor in ChooseMapsAsyncTask that is no longer used.
2013-02-19 16:25:28 -08:00
Jimmy Shih
e31bfa5e63
Rename to Share via Google Drive and Share via Google Maps.
2013-02-19 16:04:30 -08:00
Jimmy Shih
583de3606d
Move ChooseAccountActivity as an AbstractSendToGoogleActivity.
2013-02-19 15:32:24 -08:00
Jimmy Shih
100b7b28ed
Have TrackListActivity extends AbstractMyTracksActivity.
2013-02-19 14:08:21 -08:00
Jimmy Shih
bf46ca115b
Fix the flow for sharing via maps url to first choose an account, then
...
choose an activity.
2013-02-19 13:49:37 -08:00
Jimmy Shih
c4fd180f40
merge branches
2013-02-19 13:31:15 -08:00
youtaol
1e1d93f779
Move all configuration variables to a new class RunConfiguration.
2013-02-18 20:06:16 +08:00
youtaol
9d6ba74a6d
Change the the return value of SyncUtils.getMyTracksFolder(context, drive) from string to File object.
2013-02-18 19:50:21 +08:00
Jimmy Shih
13ed536065
Add a ChooseAccountDialogFragment.
2013-02-15 14:42:59 -08:00
Jimmy Shih
2b9846cc61
Fix space after hypen dot in the list view layout.
2013-02-15 13:20:47 -08:00
Jimmy Shih
15a2024614
Add AddEmail after choosing an account.
2013-02-15 13:05:54 -08:00
Jimmy Shih
d1db798f16
Minor improvements to dialog fragment.
2013-02-14 17:10:52 -08:00
Jimmy Shih
3bf9e9343d
Update menu_share_drive icons.
2013-02-14 15:36:29 -08:00
Jimmy Shih
3dd578064e
Fix bug in generating the time string.
2013-02-14 14:37:51 -08:00
Jimmy Shih
c9fa895ba4
Add the owner of the shared with me tracks.
2013-02-14 14:16:39 -08:00
Jimmy Shih
10b714210b
Improve start time layout in list view.
...
Display share via drive before share via map url.
2013-02-14 12:56:52 -08:00
Jimmy Shih
66fd25365b
Add share via drive in the contextual menu.
2013-02-14 10:46:24 -08:00
Jimmy Shih
0b5af64ca1
Improve the list view layout.
2013-02-13 15:28:53 -08:00
Jimmy Shih
4f8e8adc23
Rename to Google Spreadsheets.
2013-02-12 17:38:26 -08:00
Jimmy Shih
c93b487483
Update gdata api for Google spreadsheet.
2013-02-12 16:16:38 -08:00
Jimmy Shih
bc0a2e3404
When sending to Google Fusion Table, allow either new public tables
...
or new private tables.
2013-02-08 16:40:44 -08:00
Jimmy Shih
ab61869956
Upgrade send to fusion table to Fusion Table api v1.
2013-02-08 15:55:14 -08:00
Jimmy Shih
111cebf0ec
Add Google Fusion API v1.
2013-02-07 15:29:02 -08:00
Jimmy Shih
26f1261ac2
Fix memory leak in SectionResourceCursorAdapter.
2013-02-06 17:56:33 -08:00
Jimmy Shih
891005a65e
Fix memory leak in TrackDetailActivity due to TrackController.
2013-02-06 16:53:25 -08:00
Jimmy Shih
f8ecf409ca
Fix TrackDetailActivity to just finish instead of launching
...
the TrackListActivity during a error.
2013-02-06 16:06:23 -08:00
Jimmy Shih
760223029a
Improve transition after deleting a track or a marker.
2013-02-06 15:21:05 -08:00
Jimmy Shih
cbfe96cdc5
When updating files, check the md5 checksum.
2013-02-06 13:31:54 -08:00
Jimmy Shih
14f776721c
When deleting all tracks, also disable sync to Google Drive.
2013-02-06 11:01:12 -08:00
Jimmy Shih
fdf37bc19d
Fix eclipse warnings.
2013-02-06 10:33:14 -08:00
Jimmy Shih
04f83e77d2
Handle the case a Shared with me track can be trashed.
2013-02-06 10:16:49 -08:00
Jimmy Shih
08bcfde5c7
Add retry for SyncAdapter.
2013-02-05 17:50:35 -08:00
Jimmy Shih
49d055ce36
Add retry when sending a track to Google Drive.
2013-02-05 14:37:47 -08:00
Jimmy Shih
c0ec72f66a
For "Shared with me" tracks, do not allow sending to Google Drive,
...
do not allow sharing with Google Drive.
For Drive tracks, exclude shared tracks.
2013-02-05 13:06:10 -08:00
Jimmy Shih
69f2b18f10
Add a "Shared with me" section.
2013-02-05 10:58:49 -08:00
Jimmy Shih
b5fa77a98d
Do not allow editing "Shared with me" tracks.
...
Do not allow editing/deleting "Shared with me" markers.
2013-02-04 09:45:24 -08:00
Jimmy Shih
6559bfa8e0
Handle context menu for Shared with me tracks in
...
track list, search list, and marker list.
2013-02-02 14:11:08 -08:00
Jimmy Shih
e53df3cff1
Update the contextual action menu to not show edit option
...
for "Shared with me" tracks and markers.
Also not show the delete option for markers from
"Shared with me" tracks.
2013-02-02 13:54:24 -08:00
Jimmy Shih
f26a8799fa
Also sync "Shared with me" KML files.
2013-02-02 13:16:04 -08:00
youtaol
0fac9767fe
Merge heads
2013-02-01 13:05:31 +08:00
youtaol
a1a86432d3
Change some code style.
2013-02-01 11:08:05 +08:00
Jimmy Shih
ccd4398e4b
Add Locale.US for all SimpleDateFormat constructor.
2013-01-31 11:22:20 -08:00
Jimmy Shih
71900213c0
Fix warnings of not closing cursors.
2013-01-31 11:02:27 -08:00
youtaol
4137b9aae9
Change SendRequestTest as the structure of SendRequest is changed.
2013-01-31 17:59:07 +08:00
youtaol
4f1026c046
Fix a few errors when run on Android API level 10 emulator.
2013-01-31 17:31:53 +08:00
youtaol
7aef17625c
Make sync tests can only be run on device bound with two test accounts for sync tests can not be run in parallel.
2013-01-31 14:45:47 +08:00
youtaol
880f153ed2
Add some test cases about sync feature.
2013-01-30 21:39:15 +08:00
youtaol
bfe2e21db4
Fix an error of backup and restore e2e test.
2013-01-30 18:13:20 +08:00
youtaol
bc3eeb6a5c
Fix an error of e2e setting test case.
2013-01-30 16:30:19 +08:00
youtaol
1d81bb526f
Merge heads
2013-01-30 13:56:51 +08:00
youtaol
6afac7a4ee
Change code style of sync test cases.
2013-01-30 13:54:29 +08:00
Jimmy Shih
327336ee10
When selecting a google account the first time, don't show the
...
confirm message.
2013-01-29 16:48:52 -08:00
Jimmy Shih
3f173d4434
Add option to share a track via Google Drive.
2013-01-29 16:40:01 -08:00
Jimmy Shih
f9bd84dba0
Same the same confirmation dialog fragment for all action confirmation.
2013-01-29 15:59:31 -08:00
Jimmy Shih
707985a081
merge heads
2013-01-29 14:51:47 -08:00
Jimmy Shih
51c24d5712
revert
2013-01-29 14:49:11 -08:00
youtaol
6e0cdc7434
Merge heads
2013-01-29 21:23:35 +08:00
youtaol
4dd2bbe6af
Add test cases about sync feature.
2013-01-29 21:23:13 +08:00
Jimmy Shih
f009e1aa39
Update proguard for google drive api
2013-01-28 18:36:53 -08:00
Jimmy Shih
642a843397
When updating a track based on google drive changes, revert
...
if the google drive file is invalid.
2013-01-25 15:50:08 -08:00
Jimmy Shih
19131fe4a0
Cancel any request permissions after the user has granted permission.
2013-01-25 15:19:41 -08:00
Jimmy Shih
19675f74ab
Add Sending a track to Google Drive.
2013-01-25 15:00:31 -08:00
Jimmy Shih
bf6369e1b7
Add Send to Drive in ChooseUploadServiceDialogFragment
2013-01-25 13:06:25 -08:00
Jimmy Shih
97cad0b36c
Fix style in SendFusionTablesActivity.java
2013-01-25 12:47:56 -08:00
youtaol
c817a0b1c0
Add a case to test the setting and menu item of sync.
2013-01-24 18:48:04 +08:00
youtaol
517d5bdfb7
Fix an e2e test error after reset and backup menu are merged to one top menu item.
2013-01-24 18:44:31 +08:00
Jimmy Shih
ff375c1eb5
Add two-ways sync to Google Drive.
2013-01-23 17:00:33 -08:00
Jimmy Shih
77e6dc1b73
Add columns driveid, modifiedtime, and sharedwithme
...
Add tombstone when a track is deleted
2013-01-23 13:06:28 -08:00
Jimmy Shih
07cd1dcdbb
Allow importer to update an existing track. Add clearTrack in MyTracksProviderUtils
2013-01-23 11:04:15 -08:00
Jimmy Shih
6b5f9c976b
Add drive_deleted_list and drive_largest_change_id
2013-01-23 09:59:31 -08:00
youtaol
e7739d1034
Merge heads
2013-01-21 16:21:11 +08:00
youtaol
d56cb50057
Fix an error of e2e setting test code for the setting page is changed.
2013-01-21 13:37:38 +08:00
Jimmy Shih
3100328014
Update backup and reset settings
2013-01-18 10:01:12 -08:00
Jimmy Shih
ab1d6d8582
Update sensor settings
2013-01-17 17:41:50 -08:00
Jimmy Shih
7ad1c4fdf2
merge heads
2013-01-17 15:33:46 -08:00
Jimmy Shih
3f667948f1
Update the recording settings
2013-01-17 15:32:09 -08:00
youtaol
86054be1bd
Fix an error when run testExportAndImportTrack_properties without Gps signal.
2013-01-17 14:27:26 +08:00
Jimmy Shih
bb37e08235
merge heads
2013-01-16 15:17:27 -08:00
Jimmy Shih
e1e11586b0
Update MapSettings according to settings style guide
2013-01-16 15:15:59 -08:00
Jimmy Shih
f15964e1b9
fix one minor eclipse warning
2013-01-15 14:39:23 -08:00
Jimmy Shih
8b92bd7367
Add
...
- Switch Account
- Sync Google Drive
- New maps public
under the Google settings.
2013-01-15 14:33:22 -08:00
youtaol
ae5bedc3bd
Remove a useless file.
2013-01-11 15:38:24 +08:00
youtaol
54641cbcd8
Change ExportAndImportTest to make e2e test cases can run well with new code change(More import options).
2013-01-11 14:54:17 +08:00
youtaol
85e700fddc
Fix an error of StringUtils.
2013-01-11 11:35:47 +08:00
youtaol
112b32deb1
Fix an error to make sure the time element string does not contains non-English character.
2013-01-10 17:20:08 +08:00
youtaol
f1b448db9c
Change code style.
2013-01-09 15:58:22 +08:00
youtaol
d7d4e2c3b9
Change code style.
2013-01-09 15:55:21 +08:00
Jimmy Shih
67819ef7f5
Refactor code.
...
TrackWriter = handle writing a track to an outputstream
SaveAsyncTask = handle saving to external storage
SaveActivity = handle all UI messages when saving to external storage
2013-01-08 15:27:46 -08:00
Jimmy Shih
986295c343
merge heads
2013-01-07 15:58:05 -08:00
Jimmy Shih
2e69c47e2a
Add KmlImporter.
2013-01-07 15:54:04 -08:00
youtaol
3eb2d1afc9
Add test case to check whether track/marker properties can be exported and imported.
2013-01-05 15:07:14 +08:00
youtaol
e6b67d941e
Fix an error of endtoend test.
2013-01-05 10:40:53 +08:00
youtaol
d7b4eeb05b
Merge heads
2013-01-04 15:06:31 +08:00
youtaol
f371e9e0e2
Fix an error of endtoend test.
2013-01-04 15:06:09 +08:00
Jimmy Shih
c14f2af060
Move ImportActivity and ImportAsyncTask to
...
io/file package.
Move TrackFileFormat to its own class.
2013-01-02 12:31:01 -08:00
youtaol
09ff246ef7
Run unlockAndWakeupDevice() on Ui thread.
2012-12-26 10:18:09 +08:00
youtaol
2cae2557de
Change code style.
2012-12-24 19:19:18 +08:00
Jimmy Shih
b091d3b5c5
merge heads
2012-12-21 13:36:00 -08:00
Jimmy Shih
068dadf10f
Add track category and marker category in KmlTrackWriter.
2012-12-21 13:34:48 -08:00
youtaol
9176879ebe
Update robotium solo to latest version.
2012-12-21 11:21:58 +08:00
Jimmy Shih
1b9bd39f17
Remove SignalStrength, the sample app that
...
periodically creates a waypoint containing
the phone signal stregth.
2012-12-20 16:19:41 -08:00
Jimmy Shih
283291b51b
Add track category, waypoint type, waypoint category to gpx importer/exporter.
2012-12-20 15:55:06 -08:00
Jimmy Shih
efaa7df201
Declare WaypointType as an enum.
2012-12-20 13:55:01 -08:00
Jimmy Shih
a320f52746
merge heads
2012-12-20 10:05:56 -08:00
Jimmy Shih
0b4a4dda78
Import waypoints in GpxImporter
2012-12-20 10:01:32 -08:00
youtaol
b464d78ae2
Fix an error of test.
2012-12-20 19:10:28 +08:00
youtaol
1580389f8c
Change the package name of MytracksTest_E2E project.
2012-12-20 16:20:59 +08:00
youtaol
d8f92f2c00
Change the application label of MyTracks_E2E project.
2012-12-20 16:06:08 +08:00
youtaol
fb54ac1752
Separate MyTracksTest project into two projects, MyTracksTest and MyTracksTest_E2E
2012-12-20 14:09:12 +08:00
youtaol
124f4c9d2e
Fix an error of setting test.
2012-12-19 15:04:22 +08:00
youtaol
3c3abea865
Fix an error of test.
2012-12-19 13:49:22 +08:00
youtaol
27ab203f7d
Merge heads
2012-12-19 10:07:51 +08:00
youtaol
31b5dc9ad0
Fix an error of ResourceUsageTest.
2012-12-19 09:51:05 +08:00
youtaol
19281e2919
Move method findAndClickMyLocation from GoToMyLocationTest to EndToEndTestUtils.
2012-12-19 09:47:21 +08:00
Jimmy Shih
11ca9cc450
Update MyTracksProviderUtils api to make it clear
...
the valid values that can be used.
2012-12-18 15:02:50 -08:00
youtaol
b7c1b61404
Fix an error of test.
2012-12-18 16:17:45 +08:00
youtaol
d88995e8b9
Add a long track test case to stress test.
2012-12-14 15:58:20 +08:00
youtaol
a90a2ec692
Add unlock method to make it can be run after the device is locked. And change some code style.
2012-12-13 18:18:45 +08:00
youtaol
612dac55d8
Merge heads
2012-12-13 17:05:41 +08:00
youtaol
483faa9574
Revert a change to merge with main.
2012-12-13 17:05:10 +08:00
youtaol
25b34cfb37
Add test case to collect the memory/battery usage of MyTracks.
2012-12-13 17:02:18 +08:00
youtaol
f94d27acca
Change some code style.
2012-12-12 10:43:24 +08:00
youtaol
3563fac1e8
Change code style of MapOverlay.
2012-12-12 10:01:03 +08:00
youtaol
28eb0cd677
Fix the issue http://code.google.com/p/mytracks/issues/detail?id=1198
2012-12-11 16:59:49 +08:00
youtaol
3c9224ab09
Merge heads
2012-12-11 10:57:14 +08:00
Jimmy Shih
dffae9e782
Update Google Java Client API to version 1.12.0-beta.
2012-12-10 18:38:05 -08:00
Jimmy Shih
c840027ab9
remove google java client library 1.5.0
2012-12-10 17:06:00 -08:00
Jimmy Shih
67da38bf35
update eclipse project for google play services v3
2012-12-10 15:38:36 -08:00
Jimmy Shih
794434078d
add google play services v3
2012-12-10 15:34:08 -08:00
Jimmy Shih
6960bd0d63
remove google play services v2
2012-12-10 15:33:20 -08:00
Jimmy Shih
1c18f0e5f0
remove unused i18n scripts
2012-12-10 15:20:18 -08:00
Jimmy Shih
9216e8b97c
merge heads
2012-12-10 15:00:48 -08:00
Jimmy Shih
87f60daa3a
Update MyTracksTest factory patht to api level 17.
2012-12-10 13:39:18 -08:00
Jimmy Shih
dc444ab04d
Add a res directory for the MyTracksTest eclipse project.
2012-12-10 13:22:02 -08:00
youtaol
89b0402a92
Add testTrackColorSettings test case and make some code style change.
2012-12-10 18:35:17 +08:00
youtaol
be0a067cf0
Add test case of the getColor method of MultiColorTrackPath when use dynamic speed track path descriptor.
2012-12-10 18:34:32 +08:00
youtaol
1a73df6edc
Add test cases about getSlowSpeed and getNormalSpeed methods in DynamicSpeedTrackPathDescriptor.
2012-12-10 18:32:10 +08:00
youtaol
2fb1280b12
Merge heads
2012-12-07 15:24:48 +08:00
youtaol
8095698217
Fix an error of testSwitchTabs_wayPoints in stress test. And change some code style.
2012-12-07 14:40:18 +08:00
Jimmy Shih
05d12972e4
merge heads
2012-12-06 14:03:20 -08:00
Jimmy Shih
8a91036b1f
Added tag 2.0.3 for changeset 56a5aae31c59
2012-12-06 14:01:52 -08:00
Jimmy Shih
42766e320f
improve map view v2 comments
2012-12-06 14:01:09 -08:00
youtaol
87fa74bb58
Fix an error about testGPSMenu. Add a method waitTextToDisappear in EndToEndTestUtils.
2012-12-05 17:15:20 +08:00
youtaol
41051e1ecd
Change code style.
2012-12-04 13:04:03 +08:00
youtaol
6ded502e89
Merge heads
2012-12-04 11:06:11 +08:00
youtaol
1c36a82fe2
Add two parameters to EndToEndTestRunner to control the sensor test and stress test for these two test need long time to run.
2012-12-04 11:05:18 +08:00
Jimmy Shih
8a9fd12c74
target api level 17
2012-12-03 17:51:32 -08:00
Jimmy Shih
a06cf731d6
update manifest to version 63
2012-12-03 17:41:24 -08:00
Jimmy Shih
5a9c8255bd
update to google-play-services-lib version 2
2012-12-03 13:52:43 -08:00
Jimmy Shih
b0713cc0e7
Add synchronization when accessing waypoints in ChartView
2012-12-03 10:17:33 -08:00
Jimmy Shih
76c7fcd89a
add extra permission for map view v2
2012-12-03 10:04:13 -08:00
youtaol
db3194224b
Add a stress test case. Switch views when track has mwrkers.
2012-12-03 22:06:47 +08:00
youtaol
3711a97fc3
Add sensor test cases during recording.
2012-11-30 17:01:43 +08:00
youtaol
087cfa8fc0
Merge heads
2012-11-30 09:47:38 +08:00
youtaol
b857d25576
Change code style. Add a class SecondaryTestUtils to manage general variables and methods of other tests.
2012-11-30 09:44:03 +08:00
Jimmy Shih
9627233a54
Update strings for My Tracks 2.0.3
2012-11-29 14:36:10 -08:00
youtaol
c989e22d63
Change the sensor test which guide user to paring Bluetooth sensors if doesn't find the specified type of sensor.
2012-11-29 18:57:10 +08:00
youtaol
a4bf50f3e8
Change code style. Add test case about ANT+ sensors.
2012-11-29 18:55:55 +08:00
youtaol
624871b5e3
Change the way to find "More" menu item on Android OS without action bar.
2012-11-29 18:51:12 +08:00
youtaol
cf27dfad97
Fix an error of SettingTest.
2012-11-21 19:50:45 +08:00
youtaol
639263f3c8
Fix an error in SensorTest.
2012-11-21 18:44:11 +08:00
youtaol
ff1a554cea
Fix random errors of e2e tests. Don't run some code if unnecessary.
2012-11-21 17:59:16 +08:00
youtaol
51bce4d2dc
Fix two error of e2e tests.
2012-11-21 14:45:15 +08:00
youtaol
9f6427c203
Merge heads
2012-11-14 14:44:07 +08:00
youtaol
12e895d0e9
Fix an error of view switch test.
2012-11-14 14:43:47 +08:00
Jimmy Shih
4518f07cb1
Fix incorrect import
2012-11-13 15:32:27 -08:00
Jimmy Shih
fc78bfdd2a
Improve battery usage by removing listeners no longer needed in
...
track data hub.
2012-11-13 11:16:19 -08:00
youtaol
1d2173eb6f
Fix an error of AnnouncementPeriodicTaskTest.
2012-11-13 19:51:12 +08:00
Jimmy Shih
c38a5f3ba1
In Chart View, no longer can use a double buffered
...
iterator since with pauses and resumes, need to remember
beyond the last two locations.
2012-11-12 18:18:20 -08:00
Jimmy Shih
28a1c18489
Update strings.
...
Fix start gps. Open location settngs if gps is not available.
Show a toast when clicking on start/stop gps.
2012-11-12 15:36:48 -08:00
Jimmy Shih
427096838d
Check if SD card is available before building external directory path.
2012-11-10 12:54:23 -08:00
Jimmy Shih
3d732625b1
Do not export battery level.
2012-11-10 11:40:39 -08:00
Jimmy Shih
7923b20d1d
Fix encoding bug when a spreadsheet title contains special
...
characters like ().
2012-11-09 17:44:32 -08:00
Jimmy Shih
c23a2467d9
merge heads
2012-11-09 16:42:44 -08:00
Jimmy Shih
6c9d64900e
Initialize camera position only once instead of
...
initializing it once per onCreateView.
2012-11-09 16:41:19 -08:00
youtaol
8458825932
Remove spreadsheet for the test activity on Google Drive.
2012-11-09 13:52:25 +08:00
youtaol
4c457c093c
Merge heads
2012-11-09 11:28:27 +08:00
youtaol
e452ca3598
Merge heads
2012-11-08 17:03:11 +08:00
youtaol
3f9fd82b92
Add stress test and move sendor test to package com.google.android.apps.mytracks.endtoendtest.others.
2012-11-08 17:02:28 +08:00
youtaol
bb23372b4d
Change the way to find the total time text view to make test runs normally.
2012-11-08 15:04:24 +08:00
Jimmy Shih
be257aa4bf
Clean up the UI for no gps signal warning.
2012-11-07 17:05:50 -08:00
Jimmy Shih
ea4ff998a2
Give user the option to not show the confirmation dialog when
...
playing a track in Google Earth.
2012-11-07 15:38:14 -08:00
Jimmy Shih
2bb76de736
- Show the Google Play services update dialog after the EULA and welcome dialogs.
...
- Handle canceling the Google Play services update dialog.
2012-11-07 13:33:58 -08:00
Jimmy Shih
0ebc8d255d
Do not show the check units dialog on startup.
...
Use imperial for US. Use metrics for others.
2012-11-07 12:54:28 -08:00
Jimmy Shih
85bbb950d2
Remove dependency on Google Api.
...
Remove dependency on maps.jar
2012-11-07 10:27:17 -08:00
youtaol
ccdd33bcca
Fix errors of e2e tests.
2012-11-07 17:59:09 +08:00
youtaol
3da337b91b
Add a method to check whether the Google Play Services update dialog is shown.
2012-11-07 15:54:16 +08:00
youtaol
326684d01c
Fix encoding error of StrideReadings and StrideReadingsTest.
2012-11-07 15:47:12 +08:00
youtaol
2361e28552
Change the view tests as the new map view.
2012-11-07 15:46:00 +08:00
youtaol
653d2e97b0
Add a new method setupForDebug() in EndToEndTestUtils.
2012-11-07 15:43:43 +08:00
youtaol
61a7f4e0d8
Add test case about sensors.
2012-11-07 15:37:36 +08:00
youtaol
9bf05222f8
Add test case about starting/stopping GPS.
2012-11-07 15:35:44 +08:00
youtaol
bca97bbd2e
Fix errors of e2e tests.
2012-11-07 15:32:34 +08:00
youtaol
7decb2fab0
Split the CreateAndSendTrackTest to two files. Add a test case to test the send same track(the activity string of this track contains special character) to Google twice.
2012-11-07 15:26:54 +08:00
Jimmy Shih
6d2a642bc2
Remove unneeded @TargetApi
...
fix android lint errors
2012-11-06 15:51:38 -08:00
Jimmy Shih
903751c799
update translations
2012-11-06 15:31:44 -08:00
Jimmy Shih
cd7d8ea559
remove suppress warnings; change to match_parent
2012-11-06 14:42:06 -08:00
Jimmy Shih
1605af1aa4
fix various eclipse warnings
2012-11-06 14:09:22 -08:00
Jimmy Shih
b7898064f3
Add satellite with streets layer
...
Add checkbox next to the map layer item
Remember map layer across screen rotation
2012-11-06 13:36:39 -08:00
Jimmy Shih
3c59a33759
update UI in onSharedPreferenceChangedListener in the UI thread
2012-11-02 14:21:59 -07:00
Jimmy Shih
b4eaad984e
fix a typo in strings.xml
2012-11-02 12:58:34 -07:00
Jimmy Shih
214be6b802
fix null pointer error when cannot open a sd card file
2012-11-02 12:47:41 -07:00
Jimmy Shih
4b09254789
update to new google play services
2012-11-02 12:43:31 -07:00
Jimmy Shih
c70e374219
Register/unregister onSharedPreferenceChangeListener in onStart and on Stop
2012-10-31 14:43:35 -07:00
Jimmy Shih
620b6e09b5
bind and unbind recording service in onStart and onStop
2012-10-31 11:21:21 -07:00
Jimmy Shih
bf5b060123
Update track list activity lifecycle to fix bug with sharedPreferenceChangeListener needing to update the UI
2012-10-31 11:01:08 -07:00
Jimmy Shih
a606d3a837
merge heads
2012-10-25 14:19:06 -07:00
Jimmy Shih
7497a8ec58
Add a check to make sure Google Play Services is available
2012-10-25 14:17:44 -07:00
Jimmy Shih
e22c5f25fe
Update analytics to not record application onCreate events
2012-10-24 16:50:16 -07:00
Jimmy Shih
ed8669be66
Code cleanup. Rename stats_total_distance to stats_distance.
2012-10-24 16:30:08 -07:00
Jimmy Shih
be238493dd
Use official support library.
2012-10-24 16:00:10 -07:00
Jimmy Shih
707031d0b7
Remove api level 7 code.
2012-10-24 15:48:26 -07:00
Jimmy Shih
8fd0ab1cf1
update track widget label size for 4x3 layout
2012-10-24 15:00:37 -07:00
Jimmy Shih
41cb741883
Fix race conditions with GoogleMap
2012-10-24 14:38:51 -07:00
Jimmy Shih
9e30280e4e
Update google-play-services.jar.
...
Fix one unit test.
2012-10-23 14:59:27 -07:00
Jimmy Shih
9eca3df172
Update to map view v2.
2012-10-20 16:18:50 -07:00
Jimmy Shih
2a676dbc9a
fix layout issue in track widget config activity
2012-10-08 18:36:28 -07:00
Jimmy Shih
7d5d462a2a
add chronometer to each app widget item
2012-10-08 17:25:27 -07:00
Jimmy Shih
4792ff6d3e
update app widget style
2012-10-08 15:22:39 -07:00
Jimmy Shih
dfab60c2eb
add 4 layout sizes for the app widget
2012-10-08 13:05:15 -07:00
Jimmy Shih
1983b63ce8
Add a widget configuration screen
2012-10-05 11:26:57 -07:00
Jimmy Shih
5db20b48ca
update app widget layout
2012-10-02 14:30:53 -07:00
Jimmy Shih
7240d02c06
merge heads
2012-10-01 14:18:06 -07:00
Jimmy Shih
17cec8fdac
Added tag 2.0.2 for changeset 483e11a9d46e
2012-10-01 12:46:09 -07:00
Jimmy Shih
eb49ee7939
Update map settings to display the current value
...
in the summary text.
2012-09-25 13:06:40 -07:00
Jimmy Shih
40c5d14eb4
Update sensor settings to include current value in the summary.
2012-09-25 10:34:04 -07:00
Jimmy Shih
df7c832b96
Update recording settings to display the current
...
value in the summary.
2012-09-24 17:27:16 -07:00
Jimmy Shih
9e855fd589
In TrackListActivity, fix null pointer with searchMenuItem.
2012-09-21 16:05:47 -07:00
Jimmy Shih
29d44d45b6
Rename SD card to external storage.
...
Rename phone to device.
2012-09-21 15:33:59 -07:00
Jimmy Shih
07053d270d
Add a help question on who can access SD card.
...
Change to Google My Tracks when display permission in another app.
2012-09-21 14:33:00 -07:00
Jimmy Shih
ce33a1c413
Update strings for version 56
2012-09-20 17:27:10 -07:00
Jimmy Shih
54589db47c
Update Google Analytics to start one session
...
per app launch.
2012-09-20 13:06:42 -07:00
Jimmy Shih
7e2fa82f3c
Fix issue 1153.
...
In TrackListActivity, unregister listener in onPause.
2012-09-19 17:56:30 -07:00
youtaol
02d9d929b2
Merge heads
2012-09-19 20:22:47 +08:00
youtaol
e00b0ef495
Merge heads
2012-09-19 20:06:00 +08:00
youtaol
d179997169
Change code style.
2012-09-19 20:05:10 +08:00
youtaol
0b6250686d
Change code style to test the voice frequency and split frequency menus.
2012-09-19 18:58:01 +08:00
youtaol
ab763a0ce1
Change code style for testing share activities.
2012-09-19 18:38:42 +08:00
Jimmy Shih
95340fc3ad
merge heads
2012-09-18 12:52:31 -07:00
Jimmy Shih
5ce40abbba
update to version code 55
2012-09-18 12:50:37 -07:00
Jimmy Shih
1a89d9b4ce
Fix issue 1152. In API level < 11, hide title before setting the content view.
2012-09-18 12:49:57 -07:00
youtaol
df37b7709a
Merge heads
2012-09-18 20:47:01 +08:00
youtaol
afcccdf9d8
Move testFrequencyMenu from CreateAndSendTrackTest to MenuItemsTest and make some change as the new UI.
2012-09-18 20:46:11 +08:00
youtaol
aa693afb88
Merge heads
2012-09-18 11:28:59 +08:00
youtaol
2243f73ef3
Change the method to check view mode.
2012-09-18 11:28:13 +08:00
youtaol
65ee6b80ef
Merge heads
2012-09-18 10:32:22 +08:00
youtaol
207cc60911
Make the testShareActivity runs more stable.
2012-09-18 09:48:36 +08:00
Jimmy Shih
a9c12e47f2
Update to version 54.
...
Update strings.
2012-09-17 17:06:05 -07:00
Jimmy Shih
6c985efca2
Fix total time stats when stopping a track during a pause.
2012-09-17 15:23:01 -07:00
Jimmy Shih
65c8a57aa3
Add voice frequency and split frequency back to
...
the recording settings.
2012-09-17 15:00:14 -07:00
Jimmy Shih
42f1e79bed
For description field, allow multi-line.
2012-09-17 14:03:50 -07:00
Jimmy Shih
28599646cc
Use a Chronometer to update total time in track widget.
...
Use broadcast events to update track widget.
2012-09-17 13:45:53 -07:00
youtaol
785bb71d4f
Merge heads
2012-09-17 10:24:33 +08:00
youtaol
bdba53c6ca
Fix an error of comment.
2012-09-17 10:24:12 +08:00
Jimmy Shih
451ac53551
Fix issue 1108 by not always updating shared preferences onResume.
2012-09-14 10:46:09 -07:00
Jimmy Shih
3e03f24ec3
Fix issue with Android 3.0 by obtaining the action bar after
...
setting the content view.
See issue 1107.
2012-09-14 10:27:32 -07:00
Jimmy Shih
260410b554
For FragmentDialog, always use the activity obtain during onCreate.
...
To prevent null pointer when user clicks a button.
2012-09-13 15:44:58 -07:00
Jimmy Shih
5ff9c157d6
On TabManager, use commitAllowingStateLoss
2012-09-13 15:05:24 -07:00
Jimmy Shih
26512da615
Code cleanup: rename keys for save instance state
2012-09-13 14:52:51 -07:00
Jimmy Shih
5e7966b6e0
In ChooseActivityDialogFragment, reuse the activity during onCreateDialog.
2012-09-13 14:45:03 -07:00
Jimmy Shih
555218b2ab
Do no allow progress dialogs to be canceled on outside touch
2012-09-13 14:25:55 -07:00
Jimmy Shih
74cf36e607
Add a menu item to start/stop gps.
2012-09-13 13:54:06 -07:00
youtaol
6389b873cf
Merge heads
2012-09-13 11:32:20 +08:00
Jimmy Shih
a177834e07
When backing/restoring prefereneces, do not include preferences for
...
the current device session.
2012-09-12 12:33:47 -07:00
youtaol
6f862a09d9
Add a test about share menu item.
2012-09-12 19:56:19 +08:00
Jimmy Shih
2053fe7bb9
update to version 53
2012-09-11 16:46:59 -07:00
Jimmy Shih
ef1964eeff
fix eclipse warnings
2012-09-11 16:03:39 -07:00
Jimmy Shih
c9d4a07756
fix lint errors
2012-09-11 15:52:55 -07:00
Jimmy Shih
0ef7713433
Make SharePreferenceListener instance variables so they do not get
...
garbage collected early.
2012-09-11 14:56:17 -07:00
Jimmy Shih
32da1cd84d
merge heads
2012-09-11 13:34:14 -07:00
Jimmy Shih
2ee3592320
update Android Manifest to version 52
2012-09-11 13:33:35 -07:00
Jimmy Shih
b6d0609bed
When gps is disabled, clear the current location.
2012-09-11 13:29:23 -07:00
Jimmy Shih
9eba8e4b64
update translated strings
2012-09-07 11:11:47 -07:00
Jimmy Shih
1e3e6af9b9
merge heads
2012-09-07 10:46:57 -07:00
Jimmy Shih
9cbfa40320
When displaying a html anchor link in a TextView, make sure there is
...
a space before and after the anchor link.
2012-09-07 10:45:12 -07:00
youtaol
e0923b6f02
Merge heads
2012-09-07 10:45:01 +08:00
youtaol
3de6db170c
Move methods checkUnderRecording, checkUnderRecording, checkUnderPaused to EndToEndTestUtils.
2012-09-07 10:44:13 +08:00
Jimmy Shih
7079c787be
Annouce time to always include seconds
2012-09-06 17:06:37 -07:00
Jimmy Shih
147ef4e7c9
Change GpxTrackWriter to output coordinates with 6 fraction digitis
2012-09-06 16:50:05 -07:00
Jimmy Shih
d1ea2c2bdb
Update translation description regarding newline character \n
2012-09-06 15:56:02 -07:00
Jimmy Shih
0537eb3518
Fix csv output to use "" for an empty string.
2012-09-06 15:37:34 -07:00
Jimmy Shih
868a42f106
Fix buttons so that they can support 2 lines of text.
2012-09-06 14:53:59 -07:00
Jimmy Shih
eef7279319
Shorten "Satellite mode" to "Satellite".
...
Change string limit from 21 to 20.
2012-09-06 13:47:30 -07:00
Jimmy Shih
e881af032e
Update app widget to support pause/resume.
2012-09-06 11:05:53 -07:00
Jimmy Shih
65fbb30f01
Update the list view icon based on new dimensions
...
from the style guide.
2012-09-05 13:47:40 -07:00
Jimmy Shih
6f97d4ff15
In ListView item, change the "Paused" text to white color instead of
...
red color.
2012-09-05 13:25:51 -07:00
Jimmy Shih
e2610df8aa
merge heads
2012-09-05 13:06:31 -07:00
Jimmy Shih
6df00ac1c5
Update record/pause style.
2012-09-05 13:05:12 -07:00
youtaol
c5c5620b79
Fix warnings in test project.
2012-09-05 14:22:27 +08:00
youtaol
9a10675441
Add checks about the switch of start and pause image button.
2012-09-05 14:15:47 +08:00
youtaol
2eb26aaba1
Change code style.
2012-09-05 14:11:05 +08:00
Jimmy Shih
89496446c1
In StatsFragment, use the handler thread to update the total time
...
instead of creating a new thread.
2012-09-04 13:14:31 -07:00
Jimmy Shih
72a6f31790
Remove the following strings and drawables
...
- menu_record_track
- menu_pause_track
- menu_stop_track
Update status and button images.
2012-09-04 11:21:47 -07:00
youtaol
7b025443c1
Add checks about the status of recording, pause and not in recording. Add method findTextView and sleep to help current and following tests.
2012-09-04 15:04:11 +08:00
youtaol
9505ba9a23
Change code for there are no start, pause, stop buttons on the action bar any more.
2012-09-03 20:02:12 +08:00
youtaol
e5078627c1
Merge heads
2012-09-03 14:17:09 +08:00
youtaol
3b92eb3a23
Change code style.
2012-09-03 14:15:22 +08:00
Jimmy Shih
9e85c0b8d5
Change the track_detail menu item order.
...
Place voice frequency and split markers just above settings.
2012-08-31 15:44:23 -07:00
Jimmy Shih
af4a24053b
merge conflicts, update ids
2012-08-31 15:08:39 -07:00
Jimmy Shih
544eb798b0
merge heads
2012-08-31 14:52:58 -07:00
Jimmy Shih
b7c2f85a02
Add TrackController UI in TrackDetailActivity.
2012-08-31 14:51:05 -07:00
youtaol
c8bcfe654b
Add method pauseRecording() and resumeRecording() in EndToEndTestUtils. Make some changes to make start, pause, resume, stop track recording can runs well on the new UI(Move these buttons down from action bar in TrackListActivity).
2012-08-31 17:08:41 +08:00
youtaol
90e621db1f
Merge heads
2012-08-31 09:57:35 +08:00
youtaol
da6f3da448
Change the code style to send Gps signal to emulator.
2012-08-31 09:54:45 +08:00
Jimmy Shih
8a7786f9ca
In TrackWriterImpl, write an empty track if the track has no valid locations.
2012-08-30 16:12:31 -07:00
Jimmy Shih
af32c4f40f
Improve resume/pause layout
2012-08-30 14:57:01 -07:00
Jimmy Shih
378cae7151
In MarkerList, do not show insert waypoint if paused.
...
In SearchList, update icon based on recording or paused state.
In TrackDetail, do not show insert waypoint if paused.
In TrackDetail, always show voice frequency and split marker settings.
2012-08-30 13:21:46 -07:00
Jimmy Shih
3b83d12056
merge heads
2012-08-30 12:32:01 -07:00
Jimmy Shih
5d34ddbd13
Change target sdk version to 16.
2012-08-30 12:31:16 -07:00
Jimmy Shih
9c0e522804
merge heads
2012-08-30 11:25:09 -07:00
Jimmy Shih
59f2092482
Check in the new record/pause UI in TrackListActivity.
2012-08-30 11:21:56 -07:00
youtaol
ac119d815c
Merge heads
2012-08-29 17:16:16 +08:00
youtaol
2212abe3c7
Add a check about the points of Paused track.
2012-08-29 17:15:55 +08:00
Jimmy Shih
09453d13cd
If a GPX file doesn't contain timestamp, use the import
...
time as the track starting time.
2012-08-28 18:24:33 -07:00
Jimmy Shih
2f6e36a8bc
Update GpxImporter to support tracks with pauses.
2012-08-28 17:44:40 -07:00
youtaol
df06149c6d
Add test case about sending a paused track to Google.
2012-08-28 15:37:57 +08:00
youtaol
14ea38da8b
Merge heads
2012-08-28 10:41:34 +08:00
youtaol
6a9fa7c488
Add pause, resume, export and import test cases for Pause feature.
2012-08-28 10:36:04 +08:00
Jimmy Shih
34889bc460
Update SendToGoogleUtil to take into account of pause/resume separator.
2012-08-27 15:27:56 -07:00
Jimmy Shih
f89433322b
merge heads
2012-08-27 12:18:08 -07:00
Jimmy Shih
25778911c9
For periodic task, set the next time based on current total time
...
rather than track start time. The current total time would
take into account pause/resume time.
2012-08-27 12:17:23 -07:00
youtaol
631bfe8302
Fix an error of test.
2012-08-27 20:21:27 +08:00
youtaol
9565e81dab
Merge heads
2012-08-27 10:31:25 +08:00
Jimmy Shih
296cd81167
In TrackRecordingService, fix the code on detecting if a location
...
is already inserted in the database.
In TripStatisticsUpdater, improve total distance accuracy by
taking into account the last point in a segment.
2012-08-24 17:46:16 -07:00
Jimmy Shih
41278eb137
Rename TripStatisticsBuilder to TripStatisticsUpdater.
...
No logic change.
2012-08-24 15:57:27 -07:00
Jimmy Shih
be6fd6d633
Rename methods in MyTracksProviderUtils.
...
No logic change
2012-08-24 15:21:39 -07:00
Jimmy Shih
784ce8bc26
Remove unused methods in MyTracksProviderUtils
...
Change getLastValidLocation to getLastValidTrackLocation, thus
all location related api takes trackId as an argument.
2012-08-24 14:05:50 -07:00
Jimmy Shih
c6861d1e49
In ChartFragment, MapFragment, StatsFragment, for callbacks from
...
TrackDataHub, check that the fragment is resumed.
In any runnable executed on the UI thread, also check
that the fragment is resumed.
2012-08-24 12:46:11 -07:00
Jimmy Shih
2c87df6d75
merge heads
2012-08-24 09:46:37 -07:00
youtaol
3ef2a9c901
Fix an error when test in Chinese.
2012-08-24 14:51:24 +08:00
youtaol
9859e4ff14
Merge heads
2012-08-24 12:42:57 +08:00
youtaol
bc37316fa5
Add pause test case in CreateAndSendTrackTest.
2012-08-24 12:42:22 +08:00
Jimmy Shih
0ddd11aef5
Fix Stats view.
...
- when paused, do not update current location
- handle possible null pointer for getActivity
In MyTraksProviderUtils, change to
getLastValidLocation
2012-08-23 18:24:08 -07:00
Jimmy Shih
b164398d47
merge heads
2012-08-23 14:59:58 -07:00
Jimmy Shih
9f63125816
- In MapView, only show the no gps message when recording.
...
- Different messages for no gps signal and need better gps signal.
- Add debug line when location is not inserted due to accuracy issue
and min recording distance requirement.
2012-08-23 14:58:36 -07:00
Jimmy Shih
02f0f4831e
Use TripStatisticsBuilder in
...
- SendMapsAsyncTask
- SendFusionTablesAsyncTask
- ChartFragment
In ChartURLGenerator
- change the input vector unit to be in meters
2012-08-23 14:12:08 -07:00
youtaol
dcf5e5668a
Merge heads
2012-08-23 19:28:32 +08:00
youtaol
f008975936
Use default(first) account in choose account dialog.
2012-08-23 19:27:51 +08:00
Jimmy Shih
2bfb1ff49e
merge heads
2012-08-22 16:20:40 -07:00
Jimmy Shih
b0bb09db08
Add support to show both moving time and total time.
2012-08-22 15:52:14 -07:00
Jimmy Shih
b3ad974bbb
Update the ui thread in StatsFragment to support pause/resume
...
for the total time.
2012-08-22 13:16:18 -07:00
youtaol
40dba3d183
Add a check when more than one account is bound with phone.
2012-08-22 15:29:03 +08:00
Jimmy Shih
ccaf652c8b
Add support for pause and resume in TrackRecordingService.
2012-08-21 18:36:04 -07:00
Jimmy Shih
832e2499c9
merge heads
2012-08-20 11:00:16 -07:00
Jimmy Shih
12ce7e3b0d
merge heads
2012-08-20 10:59:22 -07:00
Jimmy Shih
883b4bc9a8
fix a typo bug in TrackRecordingServiceConnectionUtils
2012-08-16 14:34:10 -07:00
Jimmy Shih
6039c5e1d4
Add UI support to pause and resume the current recording track.
2012-08-15 17:14:25 -07:00
youtaol
e9ac687fe0
Fix unit test error of TrackDataHubTest.
2012-08-15 19:30:12 +08:00
youtaol
302144d003
Move the code about checking status of GPS signal back to make the test runs well on real devices. Fix a warning in CreateAndSendTrackTest.
2012-08-15 15:51:43 +08:00
Jimmy Shih
532c7495e4
merge heads with Google Location settings change from My Tracks 2.0.1
2012-08-14 12:32:56 -07:00
Jimmy Shih
5f4e32b921
Change intent name for opening Google location settings
2012-08-14 10:40:49 -07:00
Jimmy Shih
360b757bf3
revert f505ce7c6bde
2012-08-14 10:04:38 -07:00
Jimmy Shih
1a6baf2beb
Refactor location recording logic so that
...
all location filtering code is done at
TripStatisticsBuilder.java.
2012-08-13 15:14:00 -07:00
Jimmy Shih
bafcd0e37f
In TrackRecordingService, make sure all fields of a waypoint
...
are set consistently when creating a marker.
2012-08-09 14:17:19 -07:00
Jimmy Shih
80f2237e2b
merge heads
2012-08-09 10:22:52 -07:00
Jimmy Shih
96b67a8f2b
Rename files in the "tasks" package.
2012-08-09 10:21:24 -07:00
youtaol
f983c93363
Merge heads
2012-08-09 13:32:59 +08:00
Jimmy Shih
dc9173e015
Update TrackRecordingService.
2012-08-08 18:52:08 -07:00
Jimmy Shih
40e2aba739
Clean up classes in the stats package
...
- TripStatisticsBuilder
- TripStatistics
- ExtremityMonitor
- DoubleBuffer
2012-08-08 10:17:32 -07:00
Jimmy Shih
a0b3e21b14
Clean up LocationListenerPolicy.
2012-08-07 12:19:59 -07:00
youtaol
61227b2d89
Remove useless method in TrackDataHub.
2012-08-06 14:56:49 +08:00
youtaol
27c796cda0
Change some code of MyTracksProviderTest.
2012-08-06 13:21:51 +08:00
youtaol
86b782e2f0
Change code style of TrackDataHubTest.
2012-08-03 17:05:55 +08:00
youtaol
a4b6d9e87b
Merge heads
2012-08-03 16:31:36 +08:00
youtaol
221155979e
Add a wait after sending Gps Signal.
2012-08-03 15:22:35 +08:00
youtaol
e94d62f6a9
Make a change to make testSplitSetting() runs more stable.
2012-08-03 14:24:24 +08:00
Jimmy Shih
a9872f665f
Add track description as Notes in TCX output.
2012-08-02 12:26:55 -07:00
youtaol
2fa1f6daf4
Change some code in getButtonOnScreen() in EndToEndTestUtils.
2012-08-02 19:53:06 +08:00
youtaol
acdb140a4e
Make some change to make test more stable.
2012-08-02 16:33:16 +08:00
youtaol
0568ccca2c
Make some change to make test more stable.
2012-08-02 14:15:28 +08:00
youtaol
d1c2d3df3d
Change some code style of EndToEndTestRunner.
2012-08-02 10:49:09 +08:00
Jimmy Shih
371375178e
merge heads
2012-08-01 19:03:44 -07:00
Jimmy Shih
f0de32eb04
Use a different name for new strings.
2012-08-01 13:40:16 -07:00
Jimmy Shih
2dbd2ff956
My Tracks 2.0.1. Add support for Google location settings.
2012-08-01 12:57:48 -07:00
youtaol
4b7d996cb3
Add some test cases to TrackDataHubTest.
2012-08-01 20:26:02 +08:00
youtaol
8796318335
Add a class EndToEndTestRunner which extends InstrumentationTestRunner and can get the port of emulator. Then test can be run on more than one emulators at the same time.
2012-08-01 17:25:21 +08:00
youtaol
99c094d9a1
Merge heads
2012-08-01 10:12:17 +08:00
youtaol
a08cbe4265
Change a field name in EndToEndTestUtils.
2012-08-01 10:11:52 +08:00
Psychol
599b220523
Fix for bug 1087: (Voice Announcements for Pace in min/mi broken).
...
Voice announcements were always reporting 0 minutes 0 seconds if system was
configured for Pace. Bug was caused by an incorrect cast of variable
'speed' to long (speed is a double). The casting was resulting in the variable
'speed' being changed to 0.
http://code.google.com/p/mytracks/issues/detail?id=1087
2012-07-30 23:06:33 -05:00
Jimmy Shih
cbfcaaeb59
merge heads
2012-07-27 17:10:11 -07:00
Jimmy Shih
d32221416d
Clean up PeriodicTask.
2012-07-27 17:04:58 -07:00
youtaol
b052c34e76
Make test can run on Android 4.1. Initialize the status of GPS signal and then use it during test. Create a common method to enter text which can hides soft keyboard.
2012-07-27 16:51:18 +08:00
youtaol
b6fd63a512
Merge heads
2012-07-27 10:24:20 +08:00
youtaol
b986dd51a9
Merge heads
2012-07-27 09:46:02 +08:00
youtaol
9244255b86
Change code style of MyTracksProviderUtilsImplTest.
2012-07-27 09:44:18 +08:00
Jimmy Shih
1bcbf7b5de
Update all TrackPathPainter and TrackPathDescriptor.
...
Fix issues of incrementally updating a path.
2012-07-26 15:29:16 -07:00
Jimmy Shih
2b85a0ebba
Update MayOverlay.
...
Fix heading calculation.
2012-07-26 10:05:24 -07:00
youtaol
1f093aa69f
Change the code style and fix few invisible warnings in javadoc of MyTracksProviderUtilsImplTest.
2012-07-26 19:59:49 +08:00
youtaol
a7d855cc27
Merge heads
2012-07-26 11:00:04 +08:00
Jimmy Shih
e50938078f
merge heads
2012-07-25 11:10:51 -07:00
youtaol
87255a1ad3
Fix an visible error of test.
2012-07-25 18:55:25 +08:00
youtaol
4dbc9fe682
Merge heads
2012-07-25 18:16:01 +08:00
youtaol
0e8f926769
Fix an error when run testSplitSetting in French. Update the Robotium to latest version.
2012-07-25 18:14:58 +08:00
youtaol
38f317fb35
Add test cases for MyTracksProvider.
2012-07-24 20:00:19 +08:00
youtaol
cb8744999b
Merge heads
2012-07-24 18:03:09 +08:00
youtaol
737045bdde
Add unit test cases about MyTracksProviderUtilsImpl. Change some code style of MyTracksProviderUtilsImplTest.
2012-07-24 18:01:51 +08:00
youtaol
47ba1cbf4b
Change some code to make test stable. Add a method in EndToEndTestUtils to hide soft keyboard when input text in edit text. Add method deleteAllTracks() in EndToEndTestUtils. Add 4 fields for different wait time in EndToEndTestUtils. Change method showMoreMenuItem to showMenuItem in EndToEndTestUtils.
2012-07-23 17:56:54 +08:00
youtaol
9d7fbf4956
Merge heads
2012-07-23 11:44:21 +08:00
youtaol
d503a0cf66
Revert EndToEndTestUtils.java to aviod a merge confliction and will be recovered by a following change.
2012-07-23 11:38:52 +08:00
Jimmy Shih
9d7d4382fe
Create one TrackDataHub per TrackDetailActivity.
2012-07-20 19:02:55 -07:00
Jimmy Shih
c03fda24b0
Change TrackDataHub threading model so all requests are
...
handled in the handler thread.
2012-07-20 18:45:11 -07:00
youtaol
b1116ff90b
Add some tests to MyTracksProviderUtilsImplTest.
2012-07-20 17:34:29 +08:00
youtaol
27ffabb62a
Merge heads
2012-07-20 17:06:17 +08:00
Jimmy Shih
456f62d1a5
Add transaction around insert, delete, and update calls in
...
MyTracksProvider.java
2012-07-18 10:33:33 -07:00
Jimmy Shih
83082b9ef8
Update TrackRecordingService to use MyTracksProviderUtils.
2012-07-17 17:50:29 -07:00
Jimmy Shih
c1dd6eadad
Clean up MyTracksProviderUtilsImpl.
...
Update MyTracks eclipse style.
2012-07-17 16:13:10 -07:00
youtaol
56663c53a4
Change showMoreMenuItem() to showMenuIten() and make the logic to find menu right and clear. Fix issues when run on emulator 2.3.3.
2012-07-17 14:14:19 +08:00
Jimmy Shih
083eb5c351
Clean up the javadoc for MyTracksProviderUtils.java
2012-07-16 18:53:55 -07:00
Jimmy Shih
465b7a66c6
merge heads
2012-07-16 16:38:46 -07:00
youtaol
a64a51bc16
Make some change to make tests can run on OS 2.3.3.
2012-07-13 17:26:09 +08:00
youtaol
cee6a5bbd0
Add comment about the method showMoreMenuItem() in EndToEndTestUtils.java. Remove android:icon statement in manifest.xml for it causes a error (This error can be reproduced by run aapt dump badging MyTracksTest.apk in command line) when I try to run it on mobile harness (Test devices lab) and it seems work well after I remove it.
2012-07-13 15:29:03 +08:00
Jimmy Shih
fd82a4990a
Added tag v2.0 for changeset 137da8501655
2012-07-12 13:24:30 -07:00
youtaol
a267708ab5
Change some code style.
2012-07-12 12:59:08 +08:00
youtaol
be3422cf59
Merge heads
2012-07-12 11:15:34 +08:00
youtaol
9c807697de
Merge heads
2012-07-12 11:15:17 +08:00
Jimmy Shih
73d1a07fc1
Clean up TrackDataManager and TrackDataType.
2012-07-11 15:42:36 -07:00
Jimmy Shih
e3229dc933
Clean up DataSource, DataSourceManager, and DataSourceListener.
2012-07-11 10:10:42 -07:00
youtaol
257de5a836
Fix some issues of end2end test on real device. Check the status when the device has no GPS signal in testCreateTrackWithMarkers(). Make 4 static fields in EndToEndTestUtils to define different wait time.
2012-07-11 18:49:49 +08:00
youtaol
ba83d84fd5
Make the testSplitSetting() can run in 5 languages.
2012-07-10 19:01:45 +08:00
youtaol
f4ac6311b0
Merge heads
2012-07-10 17:20:10 +08:00
youtaol
508730e125
Fix error.
2012-07-10 17:19:49 +08:00
youtaol
9e5bd5e379
Change code style of test GoogleUtils and related code.
2012-07-10 17:16:07 +08:00
youtaol
72c75bdf37
Add test method testFrequencyMenu.
2012-07-10 16:40:50 +08:00
youtaol
812ca57d42
Merge heads
2012-07-06 14:41:50 +08:00
youtaol
9a24f12e11
Add test case to check the mark split logic.
2012-07-06 14:41:15 +08:00
youtaol
4cf7c4b32c
Provide a way to delete the My Tracks info in the spreadsheet. Remove the method dropMaps() and add a delete flag to searchMapByTitle() method.
2012-07-06 13:50:17 +08:00
youtaol
453dd01928
Add code to drop the maps data, fusion table table of a track after send it Google. Change some code to make end-to-end tests run more stable.
2012-07-05 18:49:58 +08:00
youtaol
72273b7a85
Add a class to check the send result in Google Maps, Docs and Fusion Tables.
...
Change the code to give an activity to each track.
Change the way to initialize the static fields in EndToEndTestUtils.
2012-07-04 15:32:25 +08:00
youtaol
4dddea507f
Merge heads
2012-07-03 20:07:00 +08:00
youtaol
ec74968f94
Add a check about the voice frequency menu and split frequency.
2012-07-03 20:04:48 +08:00
Jimmy Shih
29bd7889b7
merge heads
2012-04-03 09:58:22 -07:00