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
Jimmy Shih
80470ef4f2
Update translations.
2012-07-09 09:57:26 -07: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
733e5fac74
Update strings for version 47.
2012-07-02 16:08:34 -07:00
Jimmy Shih
339764f32b
Add Korean TOS.
2012-07-02 14:52:12 -07:00
Jimmy Shih
095750d1e9
Update wording for "New maps public" settings.
2012-07-02 14:23:13 -07:00
Jimmy Shih
aab2f7b1c4
Update help content.
2012-07-02 13:53:39 -07:00
youtaol
f06476a4f6
Fix a bug of wrong text to be check.
2012-06-29 19:17:47 +08:00
youtaol
27bdc41ce2
Merge heads
2012-06-29 12:22:52 +08:00
youtaol
5b14f98a95
Add French and Arabic support to End-to-end test.
2012-06-29 12:21:31 +08:00
Jimmy Shih
f23e0cc740
Fix unit test due to changes in 8daac052f042
2012-06-28 17:51:58 -07:00
Jimmy Shih
2fe3214660
Fix bug so only one map overlap is displayed.
2012-06-28 17:00:32 -07:00
Jimmy Shih
3755e792be
Update to version 46.
2012-06-28 14:05:52 -07:00
Jimmy Shih
ac0d0da5a3
Update track widget icons.
2012-06-28 12:50:19 -07:00
Jimmy Shih
902db2a10d
Update success and failure icons.
2012-06-28 10:31:13 -07:00
Jimmy Shih
220dce74b0
Update 8 menu icons.
2012-06-28 10:20:03 -07:00
Jimmy Shih
f48660622c
Add track icon for boat, airplane, and snow boarding.
2012-06-28 10:03:50 -07:00
youtaol
44b72e97f8
Merge heads
2012-06-28 18:27:12 +08:00
youtaol
35ef17a2c2
Make the end-to-end test can run on German device.
2012-06-28 18:18:00 +08:00
youtaol
682bd49e7e
Change the way to get Accept button to make the test can runs well in Chinese.
2012-06-28 11:23:52 +08:00
Jimmy Shih
78c288ed42
In Docs spreadsheet, add a Fusion Table url column.
2012-06-27 16:18:30 -07:00
Jimmy Shih
568c24317b
Clean up track description when sending to Fusion Tables.
2012-06-27 13:20:34 -07:00
Jimmy Shih
52c6aeb4ce
Encode spreadsheet title in UTF-8 to support international characters.
2012-06-27 11:20:43 -07:00
Jimmy Shih
18491e3aab
When deleting tracks, use a non-UI thread.
2012-06-27 10:42:10 -07:00
youtaol
7f14b26873
Add some checks before next test.
2012-06-27 15:07:46 +08:00
youtaol
faddce53be
Merge heads
2012-06-27 10:26:22 +08:00
youtaol
7bacdf35fb
Change name of two variables in EndToEndTestUtils. Add a comment about language(Chinese) check.
2012-06-27 10:25:59 +08:00
Jimmy Shih
663c96e781
In GpxImporter, support cases when the content is null.
2012-06-26 18:13:41 -07:00
Jimmy Shih
82b83b6e79
Allow exporting and importing an empty track.
2012-06-26 15:58:17 -07:00
Jimmy Shih
de20a51537
Do not store show welcome dialog and check unit dialog flags
...
in the user settings.
These two dialogs should only be shown for a new install.
2012-06-26 12:49:54 -07:00
Jimmy Shih
565a9a334d
Fix unit test in SendFusionTablesUtils.
2012-06-26 12:28:59 -07:00
Jimmy Shih
bc28f1b2e5
Update track_run icon.
2012-06-26 10:53:13 -07:00
youtaol
b5e18ea7c4
Change code to make all end-to-end tests can run in Chinese environment.
2012-06-26 19:00:51 +08:00
youtaol
1c20addf6d
Merge heads
2012-06-25 11:08:12 +08:00
youtaol
b337da3719
Fix a mistake.
2012-06-25 11:07:45 +08:00
youtaol
b7383f34c3
Merge heads
2012-06-25 10:57:29 +08:00
youtaol
7030efb170
Merge heads
2012-06-25 10:41:48 +08:00
Jimmy Shih
ab60c6aad6
Update AndroidManifest to version 45.
2012-06-24 17:17:08 -07:00
Jimmy Shih
c62e67d516
Update strings.xml
2012-06-24 17:15:18 -07:00
Jimmy Shih
6bbcb3138c
Merge heads
2012-06-24 17:02:11 -07:00
Jimmy Shih
d016750dbc
Suppress Ant lint erros in MyTracksTest.
2012-06-24 17:00:36 -07:00
Jimmy Shih
58829cefb1
Fix AntSensorManger setup sequence.
2012-06-24 16:29:25 -07:00
Jimmy Shih
8e8d6b0438
When generating Fusion Table url, if the track is empty,
...
use Google's latitude and longitude to generate a valid url.
2012-06-22 17:59:14 -07:00
Jimmy Shih
83121da43b
Disable hardware acceleration on map view.
2012-06-22 15:47:34 -07:00
Jimmy Shih
6ea3c5632f
Make sure StatsFragment do not crash when switching tabs very quickly.
2012-06-22 15:27:50 -07:00
Jimmy Shih
e47906d479
Make sure chartData is not empty before accessing its elements.
2012-06-22 14:27:26 -07:00
Jimmy Shih
ba17b37e50
After MapFragment is created, update the menu so
...
satellite versus map is shown correctly.
2012-06-22 13:08:08 -07:00
Jimmy Shih
c885e9d0dd
Add a toast warning message when not able to install Google
...
Earth from the Play store.
2012-06-22 12:41:15 -07:00
Jimmy Shih
ec8e8acb27
Show an error message when not able to get account permission
...
when sending a track to google.
2012-06-22 12:05:28 -07:00
Jimmy Shih
c8be5919fd
In track edit, move the activity icon next to the activity lable so that
...
the icon shows on Gingerbread phones.
2012-06-22 11:04:15 -07:00
Jimmy Shih
2146bee57e
merge heads
2012-06-21 19:07:31 -07:00
Jimmy Shih
772e0e56a6
Make EditLabel layout_width=full_parent to better
...
support right-to-left languages.
2012-06-21 19:05:27 -07:00
Jimmy Shih
09f08f04db
Allow speed greater than 250km/hr.
2012-06-21 14:45:47 -07:00
Jimmy Shih
6abd71e237
Update welcome message.
2012-06-21 12:34:02 -07:00
Jimmy Shih
9ba2e2bc99
Update My Tracks notification icons.
2012-06-21 10:27:58 -07:00
Jimmy Shih
951c695776
merge heads
2012-06-21 09:51:49 -07:00
Jimmy Shih
5cdd1f034c
Add character limits to menu items.
2012-06-21 09:49:37 -07:00
youtaol
f746b9b4af
Merge heads
2012-06-21 15:12:33 +08:00
youtaol
ed96cdd57e
Add a test case to test search a track in MyTracks.
2012-06-21 15:11:10 +08:00
youtaol
36e6641980
Merge heads
2012-06-21 12:26:07 +08:00
youtaol
67d24783d8
Add a test case to check send tracks to Google.
2012-06-21 12:24:50 +08:00
youtaol
530a27215c
Add a test case to check displaying elevation, grade and latitude and longitude information in Stats tab. And create a method resetAllSettings() in EndToEndTestUtils.
2012-06-21 11:31:30 +08:00
youtaol
40a2b2a524
Merge heads
2012-06-21 10:01:33 +08:00
Jimmy Shih
191fdf88ea
Fix text size in choose activity for API level less than 14.
2012-06-20 16:34:33 -07:00
Jimmy Shih
d7cd8dfcf5
Change the constant when reporting between m/km, and between ft/mi.
2012-06-20 14:44:38 -07:00
Jimmy Shih
78cd1914b8
merge heads
2012-06-20 14:40:44 -07:00
Jimmy Shih
bf9afd4f83
When sharing with Bluetooth, send url only.
2012-06-20 14:39:03 -07:00
Jimmy Shih
033b545d53
Update google maps support url.
...
Change to "Track color" to make it easier to translate.
2012-06-20 13:56:14 -07:00
Jimmy Shih
70da12c635
Add character limits for items in settings.
2012-06-20 13:33:20 -07:00
youtaol
3e92f94054
Reset all settings before test the default track name in case the setting has been changed.
2012-06-20 15:42:39 +08:00
youtaol
8cd1e35cc1
Merge heads
2012-06-20 11:33:46 +08:00
youtaol
b145a6169d
Change the string to wait to make test could runs well.
2012-06-20 11:29:33 +08:00
youtaol
e0dd00cf0b
Merge heads
2012-06-20 10:45:50 +08:00
youtaol
978b6c5a09
Merge heads
2012-06-20 09:45:23 +08:00
Jimmy Shih
ba9c8beb2d
Update strings in various locales.
2012-06-19 17:38:03 -07:00
Jimmy Shih
dc3657322a
Revert changeset 3602373730b4.
2012-06-19 17:00:51 -07:00
Jimmy Shih
9bdd0aa6fe
Update waiting for GPS message.
2012-06-19 15:48:06 -07:00
Jimmy Shih
76ed9a92b1
Add isGeoCoderPresent in the ApiAdapter.java.
2012-06-19 15:43:12 -07:00
Jimmy Shih
5d2144f698
Refactor AntSensorManager so each ChannelConfiguration is in its
...
own class.
2012-06-19 15:13:01 -07:00
youtaol
f1a3c5dffa
Change some code to make the testEditTrack() method can be run in landscape and portrait view on both 2.3.3 and 4.0.3.
2012-06-19 12:31:35 +08:00
youtaol
4789cfb2e5
Change the name of two methods and the add a javadoc.
2012-06-19 10:12:41 +08:00
Jimmy Shih
4bc19666a2
Add Ant+ Bike Cadence and Ant+ Combined Bike Sensor.
2012-06-18 10:01:42 -07:00
youtaol
cf7e87997f
Change method name of EndToEndTestUtils.isEmulator() to EndToEndTestUtils.setIsEmulator(). And add comment in CreateAndSendTrackTest.
2012-06-18 11:39:25 +08:00
youtaol
3561c12b6c
Change code style of SettingTest.
2012-06-18 11:36:47 +08:00
Jimmy Shih
d6de2914ee
Update to version 44.
2012-06-15 10:44:22 -07:00
Jimmy Shih
4f42a713f2
Update strings from translation.
2012-06-15 10:27:31 -07:00
Jimmy Shih
333f533d6c
Update icons for Google Maps, Fusion Tables, and Docs.
2012-06-15 09:40:06 -07:00
Jimmy Shih
5cc9b7bfcb
Enable hardware acceleration.
2012-06-14 17:23:53 -07:00
Jimmy Shih
7d5ec3b043
Clean up WaypointsColumns.java.
2012-06-14 15:54:52 -07:00
youtaol
155e5bcc7f
Change some code to make test can be run on real devices. (1) Do not fix geo data to a real device. (2) Sending go back event after input edit string when run on real devices for a soft keyboard is shown. (3) Add isEmulator() method in EndToEndTestUtils.
2012-06-14 19:08:52 +08:00
Jimmy Shih
984521b034
Move Track Points table constants to TrackPointsColumns.java.
2012-06-13 17:50:53 -07:00
Jimmy Shih
729c002e8e
Change track icon based on activity type.
2012-06-13 16:57:56 -07:00
Jimmy Shih
68dabec4a6
Add an icon column in track table.
2012-06-13 14:52:42 -07:00
Jimmy Shih
b4fee2de94
Add a category icon in Track.java and TracksColumns.java.
...
Clean up Track.java and TracksColumns.java.
2012-06-13 12:49:28 -07:00
youtaol
4bdf8ab3bd
Merge heads
2012-06-13 09:50:40 +08:00
youtaol
6b5f230b17
Remove @SuppressWarnings("deprecation") and keep a warning in UploadResultActivity.
2012-06-13 09:49:48 +08:00
Jimmy Shih
359d53ecb2
Change search hint to just "Search".
2012-06-12 17:18:41 -07:00
Jimmy Shih
cba40a6688
Use one scrollbar for confirm sharing dialog.
2012-06-12 14:51:42 -07:00
Jimmy Shih
831a12303a
Update text in "Send to Google" dialog.
2012-06-12 13:36:21 -07:00
Jimmy Shih
82bf454c79
Add an interstitial when sharing a track with friends.
2012-06-12 12:44:07 -07:00
youtaol
21bd5ecc62
Add test case to verify change the stat setting during track recording.
2012-06-12 20:18:58 +08:00
youtaol
2909d8a9c3
Change code style of SettingTest.testChangePreferredUnits.
2012-06-12 11:23:51 +08:00
youtaol
d9f951230f
Change code style of UploadResultActivityTest.
2012-06-12 10:33:18 +08:00
Jimmy Shih
19c50a8e16
Move "Switch Account" to the top level settings.
2012-06-11 15:40:28 -07:00
Jimmy Shih
0d79893b19
- Change the default value for the "defaultMapPublic" key to false.
...
Thus the default is creating new unlisted maps.
- Toggle the title of the "defaultMapPublic" setting between
"Make new maps public" and "Make new maps unlisted".
- Fix bug in TrackNameUtil to check if startTime is -1L.
2012-06-11 14:55:15 -07:00
youtaol
27aa9d6471
Add a test case to test change the setting of Preferred Units.
2012-06-11 20:40:59 +08:00
youtaol
56475a943f
Merge heads
2012-06-11 10:34:48 +08:00
youtaol
4bf87acb80
Change code style.
2012-06-11 10:34:23 +08:00
youtaol
20641c694f
Fix the run time error in UploadResultActivityTest and add some assertions. Remove a sysout statement in CreateAndSendTrackTest.
2012-06-08 11:55:28 +08:00
Jimmy Shih
daa85ff675
Remove android market strings
2012-06-07 17:51:38 -07:00
Jimmy Shih
60f81b14ed
Update sensor reset titles
2012-06-07 16:56:55 -07:00
Jimmy Shih
775e67815f
Update manifest for version 43.
2012-06-07 15:54:24 -07:00
Jimmy Shih
7e2cd35358
merge heads
2012-06-07 15:45:50 -07:00
Jimmy Shih
e2f9e31994
Update My Tracks icons.
2012-06-07 15:44:42 -07:00
Jimmy Shih
2ef56797a5
Add track location as an option for the default track name
2012-06-07 15:42:23 -07:00
Jimmy Shih
effaf8cd7b
merge heads
2012-06-05 17:40:49 -07:00
Jimmy Shih
3109abb5d2
Update Google Analytics.
2012-06-05 17:39:32 -07:00
Jimmy Shih
dd2b42d6eb
merge heads
2012-06-05 11:10:04 -07:00
Jimmy Shih
2aa72f4230
Use TaskStackBuilder to support cross tasks navigation.
2012-06-05 11:03:34 -07:00
Jimmy Shih
54eaa620a8
Disable on-chip buffering on Ant+.
2012-06-05 09:44:06 -07:00
youtaol
04cc524bbb
Merge heads
2012-06-05 16:51:53 +08:00
Jimmy Shih
c1c5381950
Update icons.
2012-06-04 16:04:12 -07:00
Jimmy Shih
8a6323cf56
Update strings in other locales.
...
Remove one unused color.
2012-06-04 14:20:26 -07:00
Jimmy Shih
e517201ed0
Update EN strings.
2012-06-04 13:42:04 -07:00
youtaol
953bd8b908
Merge heads
2012-06-04 13:20:38 +08:00
Jimmy Shih
0bd15916ac
merge heads
2012-06-02 14:28:51 -07:00
Jimmy Shih
621a33a516
merge heads
2012-06-02 14:25:05 -07:00
Jimmy Shih
25c2cf66c2
Clean up Track Widget.
...
- adjust margins
- display speed or pace
- display total time or total moving time
- use km intead of m when distance is greater than 1 km
- use mi instead ft when distance is greater than 1 mi
2012-06-02 14:24:14 -07:00
Jimmy Shih
c890755411
Add transparent background to record image button on the empty
...
track list view.
2012-06-02 10:53:46 -07:00
Jimmy Shih
79d0f6852d
Improve AntSensorManager.
...
Reduce checking sensor connection timer period to 20 seconds.
2012-06-02 10:44:42 -07:00
youtaol
cad1a105ca
Merge heads
2012-06-01 14:35:03 +08:00
Jimmy Shih
d9ba8b6f58
Remove drawable menu_delete_all and menu_save_all
2012-05-31 18:36:04 -07:00
Jimmy Shih
8dd10776f4
Use antlib.jar to connect to ANT+ sensor.
2012-05-31 18:11:22 -07:00
youtaol
ad01b379c7
Merge heads
2012-05-30 09:49:31 +08:00
youtaol
d98617b23c
Change code style.
2012-05-30 09:39:42 +08:00
Jimmy Shih
d42e92a868
Clean up BluetoothSensorManager.
2012-05-29 16:30:32 -07:00
Jimmy Shih
62a716cfc7
Clean up BluetoothConnectionManager.
2012-05-29 15:22:48 -07:00
Jimmy Shih
ba469a7be3
Fix drawing titles in ChartView.
2012-05-29 12:31:12 -07:00
Jimmy Shih
ac55add2b9
Add BluetoothSensorManager toast message in strings.xml.
2012-05-29 10:53:35 -07:00
Jimmy Shih
9e5d9d23de
Clean up SensorManagerFactory.
...
- not using reference count.
- make sure SensorStateActivity will not
disconnect a connection used by TrackRecordingService
2012-05-29 10:36:28 -07:00
Jimmy Shih
d4db27b092
Clean up SensorManager code.
...
check for sensor channel when the sensor state is NONE.
2012-05-26 13:33:23 -07:00
Jimmy Shih
d4b985cf5b
Reorder the items in Sensor State.
2012-05-26 12:20:11 -07:00
Jimmy Shih
a679d96f93
Cleanup ChartView.
...
- remove clearPaint
- show two series when no data
2012-05-26 11:52:39 -07:00
Jimmy Shih
b5c0a005c3
When ChartView is empty, always show the elevation series meta data.
2012-05-25 18:28:13 -07:00
Jimmy Shih
9dadade230
When sending to fusion tables, use different type for
...
waypoint and statistics markers.
2012-05-25 17:45:11 -07:00
Jimmy Shih
81805f00d8
Improve chartview layout.
2012-05-25 17:28:50 -07:00
Jimmy Shih
e6abe73404
finish the current activity when overriding onHomeSelected.
2012-05-24 12:24:33 -07:00
Jimmy Shih
199455de46
should have been part of 0354eb686f69
2012-05-24 12:14:11 -07:00
Jimmy Shih
0460425d43
Clean up ChartValueSeries.
...
- include metric and imperial title id
- include both speed and pace series
2012-05-24 12:11:32 -07:00
Jimmy Shih
ffbbead396
merge heads
2012-05-24 09:29:16 -07:00
Jimmy Shih
57da176c98
Improve ChartValueSeries
2012-05-18 14:49:49 -07:00
Jimmy Shih
75ef964d66
update manifest to version 41
2012-05-18 14:23:10 -07:00
youtaol
0bd1d83fca
Add a check when there is no track to export.
2012-05-18 16:06:18 +08:00
youtaol
fb4f6bb91e
Merge heads
2012-05-18 10:32:51 +08:00
Jimmy Shih
a1b361b2ff
Fix issue 919. Return correct error message when there is no track.
2012-05-17 11:25:54 -07:00
youtaol
2be5a6732a
Change some resource Id. Add method createTrackIfEmpty to make the code simpler.
2012-05-17 19:45:47 +08:00
youtaol
164ba7a16b
Merge heads
2012-05-17 10:42:09 +08:00
Jimmy Shih
3269af0add
Translate EULA copyright year.
2012-05-16 18:03:57 -07:00
Jimmy Shih
c2fd6b8794
Add a hint when the default activity type is empty.
2012-05-16 17:14:09 -07:00
Jimmy Shih
af35d45ba7
Check track is not null after getting a track from track id.
2012-05-16 15:11:18 -07:00
Jimmy Shih
0b08e53de2
Clean up all usages of String.format to support i18n.
2012-05-16 14:38:17 -07:00
Jimmy Shih
d7836cce47
Clean up api to configure contextual action mode.
2012-05-16 14:14:08 -07:00
Jimmy Shih
bb81fd0542
Use a DialogFragment for ChooseUploadService.
2012-05-16 12:47:43 -07:00
Jimmy Shih
83c3223668
Fix unit tests.
2012-05-16 11:02:12 -07:00
Jimmy Shih
17c495bc97
Add track description when sharing a url or a file with friends.
2012-05-16 10:17:31 -07:00
youtaol
2fe97f55dd
Add a judge about the three dots menu item. Add tests about the relative start time and delete a track during recording.
2012-05-16 17:48:29 +08:00
Jimmy Shih
7fe7ace504
After saving a track to the SD card, add a button to share the saved file.
2012-05-15 17:54:40 -07:00
Jimmy Shih
cabe966d27
Merge SaveAllActivity to SaveActivity.
2012-05-15 17:25:04 -07:00
Jimmy Shih
3d3af298af
merge heads
2012-05-15 12:22:48 -07:00
Jimmy Shih
afa2c9875e
Modify the sharing flow to first show a list of applications.
...
Store preferred account as a sharing setting.
Remove share url only option. Apply share url only if twitter is selected.
2012-05-15 12:21:14 -07:00
youtaol
37bfefaa3d
Merge heads
2012-05-15 16:58:38 +08:00
Jimmy Shih
3937400ef6
Update android menifest for vesionCode 40.
2012-05-14 09:48:16 -07:00
Jimmy Shih
af11dac5e0
Fix bug that the account chooser dialog is temporary shown again
...
after choosing an account and granting permission.
2012-05-11 16:09:59 -07:00
Jimmy Shih
f0beca8606
rename statistics markers to split markers
...
rename waypoint to marker
place my location button below the warning message.
2012-05-11 15:35:45 -07:00
Jimmy Shih
1fef0144b3
Move voice frequency and split frequency to menu items.
2012-05-11 15:04:08 -07:00
youtaol
f1573a550a
Change the code to check whether it is necessary to create a track for each test, and make the test run faster.
2012-05-11 16:28:21 +08:00
Jimmy Shih
2085e82312
In marker detail page, add a label "Since last Statistics Marker".
...
In the marker detail page, on resume, update the waypoint
in case it is returning from marker edit page.
2012-05-10 18:57:41 -07:00
Jimmy Shih
b0207e5cd7
Requires GPS location to insert a marker except for
...
the track statistics marker.
2012-05-10 18:02:07 -07:00
Jimmy Shih
f2ef8c7b08
Allow users to insert only waypoint markers.
2012-05-10 17:23:29 -07:00
Jimmy Shih
b7b55d933f
Support deleting the track currently being recorded.
2012-05-10 10:35:51 -07:00
youtaol
5f017ab96c
Merge heads
2012-05-10 11:06:54 +08:00
Jimmy Shih
dc9346c067
Add relative date time for start time within the past week.
...
Place the list item on the right by itself.
2012-05-09 18:26:08 -07:00
Jimmy Shih
373f8cc7e7
merge heads
2012-05-09 13:12:16 -07:00
Jimmy Shih
6bcbc55212
Set the title in TrackDetailActivity.
...
Fix a bug when recording, the TrackDetailActivity is not
displaying the correct menu items.
2012-05-09 13:09:47 -07:00
Jimmy Shih
e3475124a7
Clean up SensorStateActivity.
...
Hide "Sensor state" menu when no sensor is selected.
2012-05-09 10:37:44 -07:00
youtaol
7b14315cbe
Merge heads
2012-05-09 12:20:53 +08:00
youtaol
b6fdf4e6e4
Add backup test case, change some code style.
2012-05-09 12:12:15 +08:00
youtaol
d18f334b02
Merge heads
2012-05-09 11:07:36 +08:00
youtaol
92dce8515c
Merge heads
2012-05-09 11:01:22 +08:00
Jimmy Shih
4686194541
Move the satellite mode menu option to MapFragment.
2012-05-08 16:44:07 -07:00
Jimmy Shih
68487329d1
Clean up remaining preference keys.
2012-05-08 14:45:28 -07:00
Jimmy Shih
1de9fe67a3
Move chart settings to ChartSettingsActivity.
2012-05-08 11:45:46 -07:00
Jimmy Shih
7d09348abc
Clean up the root level settings.
2012-05-08 09:27:45 -07:00
Jimmy Shih
26a44dfd9a
Place map settings in MapSettingsActivity.
2012-05-08 09:11:08 -07:00
Jimmy Shih
3461a50288
Move Stats settings to StatsSettingsActivity.
2012-05-07 13:38:17 -07:00
Jimmy Shih
77903ed2c9
Place sensor settings in SensorSettingsActivity.
2012-05-04 17:48:33 -07:00
Jimmy Shih
3008b335a7
Move recording settings to RecordingSettingsActivity.
2012-05-04 13:10:51 -07:00
youtaol
fd90dcffa6
Merge heads
2012-05-04 17:04:45 +08:00
youtaol
a12f4bcbe8
Changes smoke test to end-to-end test cases.
2012-05-04 17:00:20 +08:00
Jimmy Shih
f8460fb76f
Place backup settings in BackupSettingsActivity.
2012-05-03 12:38:19 -07:00
Jimmy Shih
92821be777
Place sharing settings in ShareSettingsActivity to support
...
ICS up navigation in the action bar.
2012-05-03 10:56:37 -07:00
youtaol
6c91db9405
Change code style of ControlRecordingServiceTest.
2012-05-03 12:04:51 +08:00
youtaol
c3c0ab7947
Add a comment about a assertion.
2012-05-03 11:27:19 +08:00
Jimmy Shih
234f1f4a0a
Inline methods in PreferencesUtils.
...
Donot want to have a pair of getter and setting for each preference.
2012-05-02 12:23:32 -07:00
youtaol
94c11face5
Change code style of AdaptiveLocationListenerPolicyTest.
2012-05-02 10:39:38 +08:00
Jimmy Shih
81281e560e
Fix lint errors.
...
- MenuItem.collapseActionView is only availble for API level >=14.
- Rename the dialog variable in UploadResultActivity so it doesn't
conflict with the dialog variable in the callback.
2012-05-01 18:44:05 -07:00
Jimmy Shih
f8cacb01c9
merge heads
2012-05-01 18:09:53 -07:00
Jimmy Shih
66ba54ffa0
merge heads
2012-05-01 18:05:53 -07:00
Jimmy Shih
52253afd3a
merge heads
2012-05-01 18:01:55 -07:00
Jimmy Shih
07f6cf55b6
merge heads
2012-05-01 18:00:32 -07:00
Jimmy Shih
8ac7330c9d
Minor UI improvements.
...
- close contextual menu after an item is selected
- collapse the search widget after a search request is sent
- show keyboard by default for the editors
- in the search list, if edit or delete is selected in the contextual
menu, close the search list since its content will get changed.
- enable QueryRefinement in search widget
- do not call super.onNewIntent
- update search.xml to include imeOptions, queryAfterZeroResults, and
set searchSuggestionThreshold to 1.
2012-05-01 14:56:49 -07:00
Jimmy Shih
5ed3968771
Use a location image button on the map view to show current location.
2012-04-30 15:56:07 -07:00
Jimmy Shih
39a3fb6132
Add stats settings to configure the stats page.
2012-04-30 11:22:13 -07:00
youtaol
4a338da44c
Change some code style of end-to-end test cases.
2012-04-28 18:19:40 +08:00
youtaol
bf9280b1e3
Add test case for ControlRecordingService.
2012-04-28 18:09:37 +08:00
youtaol
85095b5e59
Add test case for AdaptiveLocationListenerPolicy.
2012-04-28 11:09:22 +08:00
Jimmy Shih
20eec8d30a
- Fix flag in My Tracks notification to update the previous notification.
...
- move chart settings above settings
- remove My Tracks Importer, thus just using My Tracks
- rename to Save all to SD card...
- rename to Import from SD card
2012-04-27 13:24:00 -07:00
Jimmy Shih
1a23ba673c
- use a dialog to insert markers with an option to open full insert screen
...
- remember the last chosen marker type
- auto increment the default marker name
- fix IME option when toggling between marker type
- add more spacing between items in the editor
- rename WaypointType to WAYPOINT and STATISTICS
- rename to ListItemUtils
- remove unused appwidget_text color
2012-04-27 09:48:01 -07:00
Jimmy Shih
2ec090354b
Clean up icon names.
2012-04-26 11:13:14 -07:00
youtaol
6848a7a475
Merge heads
2012-04-26 18:59:06 +08:00
youtaol
420cb0f49b
Change some code style of smoke test case. Add some checks in some tests when the screen is rotated.
2012-04-26 18:51:09 +08:00
Jimmy Shih
4018237691
In TrackListView, only update the list when certain keys are changed.
2012-04-25 18:13:30 -07:00
Jimmy Shih
2b6309f7c1
Improve the startup sequence.
...
- new welcome dialog message.
- new check units text.
- for US and UK, default to imperial.
- for fragments, fix handling of onCancel. No need
to handle onCancel at the dialog level.
2012-04-25 17:30:56 -07:00
Jimmy Shih
1e4a6c04c2
Rename "Share with friends..." to "Share".
2012-04-25 10:16:51 -07:00
youtaol
e4481ca3e6
Change code style, remove useless method of MyTracksSmokeTest
2012-04-25 15:20:41 +08:00
Jimmy Shih
5a32550f85
merge heads
2012-04-24 09:55:17 -07:00
youtaol
b9a9cc6cd9
An end-to-end test case of MyTracks.
2012-04-24 19:38:32 +08:00
youtaol
920f8e4180
Change the way to generate the SQL statement to fix http://code.google.com/p/mytracks/issues/detail?id=907 .
2012-04-24 19:25:45 +08:00
Jimmy Shih
e998ac07e1
fix comment on 57e157793bd1
2012-04-23 19:09:23 -07:00
Jimmy Shih
c4bcdc56c8
fix comment for 871dbae587aa
2012-04-23 19:06:11 -07:00
Jimmy Shih
82a338bd13
fix comment for 5b638c36df7f
2012-04-23 18:35:01 -07:00
Jimmy Shih
33118568bc
A few fixes.
...
- use fill_parent since we are still supporting api level 7.
- on the TrackListActivity, hide the empty view content
until the check unit dialog has been showned.
- fix the ChartView height. ChartView is no longer displayed
on the full canvas. The new design has a tab bar and a
zoom control.
- In TrackDetailActivity, only call methods of a tab fragment
if it is the current tab.
2012-04-23 17:49:23 -07:00
Jimmy Shih
2ea4b09dcc
Several minor fixes
...
- for TrackEdit and MarkerEdit, use windowSoftInputMode=stateHidden
- improve layout for the map in MapFragment.
- fix text size for API level < 14.
- fix bug when inserting a statistics marker with a modified name
2012-04-23 14:57:39 -07:00
Jimmy Shih
8f801b1bdb
Add AbstractMyTracksActivity as the base class for
...
all My Tracks activities.
2012-04-23 12:42:29 -07:00
Jimmy Shih
1483f19f10
Clean up activities' manifest.
2012-04-23 10:41:29 -07:00
Jimmy Shih
7fd3f0e8d9
Update menu icons.
...
Update tab icons.
Place tab tag in the appropriate fragment.
2012-04-23 10:07:08 -07:00
Jimmy Shih
7701d31bdc
Clean up all the layouts.
...
Utilize styles when possible.
2012-04-20 17:46:48 -07:00
Jimmy Shih
eb3e7e0b86
merge heads
2012-04-20 12:51:48 -07:00
Jimmy Shih
aaef92b139
Use stats_core.xml layout for
...
- AggregatedStatsActivity
- StatsFragment
- MarkerDetailActivity
Remove StatsUtilities. Use StatsUtils to set all stats labels and values.
2012-04-20 12:50:22 -07:00
Jimmy Shih
6838897353
Add a method to add all items to an array adapter.
...
ArrayAdapter.addAll is only avaiable to API >= 11.
2012-04-19 16:51:15 -07:00
Jimmy Shih
8f7c44d1e7
merge heads
2012-04-19 13:12:41 -07:00
Jimmy Shih
e314f968b8
merge heads
2012-04-19 11:29:28 -07:00
Jimmy Shih
1676f19830
Create an IntentUtils.newIntent utility method to create an intent
...
with FLAG_ACTIVITY_CLEAR_TOP and FLAG_ACTIVITY_NEW_TASK.
2012-04-19 11:24:40 -07:00
Jimmy Shih
352137c440
fix comment for 3e985a497047
2012-04-19 10:40:10 -07:00
Jimmy Shih
c8deb63de9
Use the same list item layout for TrackList, MarkerList, and SearchList.
...
Use the same contextual menu for TrackList, MarkerList, and SearchList.
2012-04-18 12:53:12 -07:00
Jimmy Shih
172aed44ab
fix merge conflict
2012-04-17 12:30:56 -07:00
Jimmy Shih
09a6a0a604
sync from main
2012-04-17 12:27:12 -07:00
Jimmy Shih
89b16e48e9
Add MarkerEditActivity, MarkerListActivity, MarkerDetailActivity.
2012-04-17 12:25:54 -07:00
Jimmy Shih
45855c794c
merge heads
2012-04-17 10:10:50 -07:00
Jimmy Shih
d402c5555c
fix comment for 3fe71196df15
2012-04-17 09:45:59 -07:00
Jimmy Shih
fef4d6bc23
merge heads
2012-04-17 09:39:20 -07:00
Jimmy Shih
dc7fb591be
merge heads
2012-04-16 10:18:33 -07:00
Jimmy Shih
f66742ec98
merge heads
2012-04-16 10:12:22 -07:00
Jimmy Shih
da6c33617c
merge heads
2012-04-16 10:03:42 -07:00
youtaol
4ea5b199b9
Merge heads.
2012-04-13 18:07:04 +08:00
Jimmy Shih
00eee811f4
Add an empty view when the track list is empty.
2012-04-12 16:48:59 -07:00
Jimmy Shih
e3f13dd633
In contextual action mode, add the track name as the action mode title.
2012-04-12 15:43:50 -07:00
Jimmy Shih
178b1be990
Rename ServiceUtils.java to TrackRecordingSeriviceConnectionUtils.
...
Move common code between TrackListActivity and TrackDetailActivity
for dealing with TrackRecordingServiceConnection in the utility class.
2012-04-12 15:17:46 -07:00
Jimmy Shih
2aa4cdc442
Add PreferencesUtils to access
...
- recording track id
- selected track id
2012-04-12 14:26:18 -07:00
Jimmy Shih
53c5ebbef9
merge heads
2012-04-12 13:25:33 -07:00
Jimmy Shih
c98b10c548
merge heads
2012-04-12 13:25:12 -07:00
Jimmy Shih
08e460d208
Fix unit tests to run in any timezone.
2012-04-12 13:14:35 -07:00
Jimmy Shih
06322dcfdc
fix comment 5e46fdb4a91d
2012-04-12 12:55:39 -07:00
Jimmy Shih
d045b0440f
fix unit tests in TrackRecordingServiceTest
2012-04-12 12:50:03 -07:00
Jimmy Shih
2fd3816edf
Fix unit tests
...
- update string in CsvTrackWriter, CsvTrackWriterTest, and DescriptionGeneratorImplTest
- with Solo, UploadResultActivity can run by itself, but cannot run as
part of the unit test. Modify the test to not use Solo.
- remove ANT+ tests in SensorManagerFactoryTest and replace them with
bluetooth tests since most of the phones do not have ANT+.
- remove TrackDetailActivityTest since we are no longer using it to
start the app. Will replace this with end-to-end smoke tests.
2012-04-11 17:02:21 -07:00
Jimmy Shih
28f3565bae
sync from main
2012-04-11 10:29:52 -07:00
Jimmy Shih
e82c3f15d2
should have been part of 5e46fdb4a91d
2012-04-11 10:25:07 -07:00
Jimmy Shih
4b36671041
merge heads
2012-04-11 10:18:12 -07:00
Jimmy Shih
3a6e6fc980
merge heads
2012-04-11 10:13:01 -07:00
Jimmy Shih
a3e69df3ff
merge heads
2012-04-11 10:11:53 -07:00
Jimmy Shih
0cd11c799d
merge heads
2012-04-11 10:01:41 -07:00
Jimmy Shih
9063267db1
Add contextual menu.
...
API < 11, use floating context menu.
API >=11, use contextual action mode.
2012-04-10 19:59:36 -07:00
Jimmy Shih
df23d20d32
should have been part of 90f307ee08cd
2012-04-10 12:57:31 -07:00
Jimmy Shih
3b889753db
In TrackList, start the TrackDetail view when recording.
2012-04-10 12:53:59 -07:00
Jimmy Shih
400051d342
Move dialogs in TrackDetail to fragments.
...
Move all fragments to com.google.android.apps.mytracks.fragments
package.
2012-04-10 12:44:40 -07:00
Jimmy Shih
2fbdb9bfef
merge heads
2012-04-10 10:31:02 -07:00
Jimmy Shih
87a0ce47b9
vertically align content in track_list_item.xml
2012-04-10 10:28:39 -07:00
Jimmy Shih
a1993ab39e
merge heads
2012-04-10 10:17:57 -07:00
Jimmy Shih
648015fe4c
merge heads
2012-04-10 10:16:49 -07:00
Jimmy Shih
3d9536420c
merge heads
2012-04-10 10:03:30 -07:00
Jimmy Shih
d5389e8c3e
fix comment on 5ca17d67ad5c
2012-04-10 09:57:58 -07:00
youtaol
e5d86a708e
Change the code style of DynamicSpeedTrackPathPainterTest and SingleColorTrackPathPainterTest, and make the code easier to read.
2012-04-10 17:54:49 +08:00
Jimmy Shih
eae078b710
Fix bug with setHomeButtonEnabled,
...
it is only defined for api 14 or higher.
2012-04-09 16:46:08 -07:00
Jimmy Shih
119c24f6e6
Add delete and edit menu icons.
2012-04-09 16:43:08 -07:00
Jimmy Shih
7b800914f6
merge heads
2012-04-09 14:07:57 -07:00
Jimmy Shih
97f4103e67
merge heads
2012-04-09 14:07:04 -07:00
Jimmy Shih
99706edf70
Update TrackEditActivity to ICS.
2012-04-09 14:03:42 -07:00
Jimmy Shih
00974d97a7
Place all Google Earth constants in SaveActivity and prefix them with
...
GOOGLE_EARTH.
2012-04-09 10:19:07 -07:00
Jimmy Shih
adfa66505e
Use a dialog for the welcome page. Thus the startup sequence
...
consists of three dialogs.
Rename to HelpActivity.
Fix activity button styles.
Reuse EulaDialogFragment when invoked from the AboutDialogFragment.
Only hide the title bar on the TrackDetailPage.
2012-04-07 15:52:28 -07:00
Jimmy Shih
54bfe5d4b4
merge heads
2012-04-07 10:13:16 -07:00
Jimmy Shih
fedcd33b0b
merge heads
2012-04-07 09:56:56 -07:00
Jimmy Shih
cd129e1f46
sync from main
2012-04-07 09:32:13 -07:00
Jimmy Shih
86c736dd17
merge heads
2012-04-06 18:25:57 -07:00
Jimmy Shih
5321878dd2
merge heads
2012-04-06 15:33:09 -07:00
Jimmy Shih
e149683da7
fix merge error
2012-04-06 15:27:18 -07:00
Jimmy Shih
c97ae1e87f
merge heads
2012-04-06 15:16:01 -07:00
Jimmy Shih
0ed45e40c6
Move each fragment to its own class.
2012-04-06 15:09:47 -07:00
Jimmy Shih
70124b8465
merge heads
2012-04-06 12:59:38 -07:00
Jimmy Shih
6c7131f2a8
merge heads
2012-04-06 10:55:58 -07:00
Jimmy Shih
f5085b208d
merge heads
2012-04-06 10:54:22 -07:00
Jimmy Shih
cbd52459bd
Remove screenshot from the translation_description.
...
Will not require retranslation.
2012-04-06 10:50:58 -07:00
youtaol
28750142a9
Change the code style of SingleColorTrackPathPainterTest and DynamicSpeedTrackPathPainterTest.
2012-04-06 16:27:13 +08:00
Jimmy Shih
9e224d13ad
Fix crashes when trackDataHub is null
2012-04-05 17:50:54 -07:00
Jimmy Shih
5082936ad1
sync from main
2012-04-05 17:06:43 -07:00
Jimmy Shih
32e8044b0b
- add TabManager (based on the Fragment Tabs example in
...
API 4+ Support Demos)
- move to MapFragment, ChartFragment, and StatsFragment
- use android-support-v4-r7-googlemaps.jar to support a map view
in a fragment.
2012-04-05 16:55:22 -07:00
Jimmy Shih
0314e28766
merge heads
2012-04-05 10:04:05 -07:00
Jimmy Shih
ee92cbf92c
merge heads
2012-04-05 09:58:19 -07:00
Jimmy Shih
d84c4de0d7
fix comment for 3a507cd408b9
2012-04-05 09:55:46 -07:00
Jimmy Shih
8b4c05ead3
fix comment for 7638122cd587
2012-04-05 09:26:23 -07:00
Jimmy Shih
a30e19e365
merge heads
2012-04-05 09:06:59 -07:00
youtaol
97227ca26e
Merge heads
2012-04-05 14:33:48 +08:00
youtaol
68f50ef6de
Change the code style of DynamicSpeedTrackPathPainterTest,SingleColorTrackPathPainterTest, SingleColorTrackPathPainter and TrackPathPainterTestCase.
2012-04-05 14:25:30 +08:00
Jimmy Shih
ab8d159791
fix comments for e16572c749ba
2012-04-04 18:12:30 -07:00
Jimmy Shih
883eccb2d0
fix comments for 267c37ed0691
2012-04-04 17:42:25 -07:00
Jimmy Shih
c5fa717d55
merge heads
2012-04-04 16:54:29 -07:00
Jimmy Shih
1c0ce45937
merge heads
2012-04-04 16:49:55 -07:00
Jimmy Shih
aab0f63201
merge heads
2012-04-04 16:44:06 -07:00
Jimmy Shih
d76eb44257
merge heads
2012-04-04 16:40:41 -07:00
Jimmy Shih
336abcce82
merge heads
2012-04-04 14:45:05 -07:00
Jimmy Shih
afa2dd2c0e
merge heads
2012-04-04 14:44:01 -07:00
Jimmy Shih
c26e0ecbef
merge heads
2012-04-04 14:29:09 -07:00
Jimmy Shih
c795c8e482
fix comment for 5c3c3227ff36
2012-04-04 14:26:15 -07:00
Jimmy Shih
12f17e6f49
merge heads
2012-04-03 13:02:35 -07:00
Jimmy Shih
79fde1c118
Rename to fastest pace.
2012-04-03 10:18:16 -07:00
Jimmy Shih
29bd7889b7
merge heads
2012-04-03 09:58:22 -07:00
Jimmy Shih
a34c17a461
Add a hack to enable building a release candidate.
...
With proguard "-optimizationpasses 5", not able to
obfuscate the CursorLoader. A known issue.
Remove
- AndoridMockRuntime.jar
- googleloginclient-helper.jar
AndoridMockRuntime.jar was included twice, preventing unit tests
from running.
Clean up classpath to not include jar files in the lib directory.
Else the jar files will get included twice.
Move jar files in MyTracks/lib/google-api-client/ to MyTracks/lib
so that proguard can pick up the jar files.
Clean up proguard.cfg into three sections.
- update the config from the default project
- update the config from the Google APIs client library
- remove unnecessary My Tracks specific "-dontwarn"
2012-04-02 18:45:17 -07:00
Jimmy Shih
840576055f
merge heads
2012-04-02 15:17:25 -07:00
Jimmy Shih
9575401127
merge heads
2012-04-02 14:50:06 -07:00
Jimmy Shih
2d05ff98ca
merge heads
2012-04-02 14:49:12 -07:00
youtaol
b3688b043e
Add test case for SingleColorTrackPathPainter. Move createCachedLocations method and INVALID_LATITUDE field from DynamicSpeedTrackPathPainterTest to TrackPathPainterTestCase to make them can be invoked by both test cases.
2012-03-31 17:46:11 +08:00
youtaol
004043c3e5
Change some code style.
2012-03-31 10:18:47 +08:00
Jimmy Shih
4b8d4e92b8
merge heads
2012-03-30 15:23:00 -07:00
Jimmy Shih
fa18ace9e6
- remove PlayTrackUtils.
...
- use sub menu for "Export all...".
- prefix menu variables so they are unique.
- prefix intent extra variables with EXTRA.
2012-03-30 15:13:04 -07:00
Jimmy Shih
6869f003e7
- In the action bar, configure the Home button as the Up button.
...
- When starting an activity, always use FLAG_ACTIVITY_CLEAR_TOP and FLAG_ACTIVITY_NEW_TASK together.
- TrackDetailActivity should handle events for a specific trackId, not
handling events for the current recording track.
- In TrackListActivity, to support screen rotation, make sure the EULA dialog
is not shown before creating another one.
- Do not need to bind service in onStart. OnResume will bind the service
if a recording is happening.
2012-03-30 14:19:29 -07:00
youtaol
314c3a76a6
Add test case for DynamicSpeedTrackPathPainter.
2012-03-30 17:28:09 +08:00
youtaol
7a4b5569f3
Change code style of SendToGoogleUtilsTest.
2012-03-30 11:18:56 +08:00
youtaol
c9ccae4ac7
Add test case for UploadResultActivity.
2012-03-30 11:04:20 +08:00
Jimmy Shih
9ff1af221b
Move the track context menu to the main menu.
...
Use sharedPreferenceChangeListener to listen when
a new recording has started to update the view like the action items.
2012-03-29 18:02:28 -07:00
youtaol
eae2b63586
change some code style of SendToGoogleUtilsTest.
2012-03-29 15:14:37 +08:00
Jimmy Shih
246b13da4b
Remove MenuManager.java.
2012-03-28 16:49:57 -07:00
Jimmy Shih
16f3217364
Set TrackListActivity as the main activity.
...
Move all startup dialogs to TrackListActivity.
Move one-time application config to MyTracksApplication
2012-03-28 15:28:38 -07:00
Jimmy Shih
9500169719
Rename menu to track_detail.xml
2012-03-27 17:34:37 -07:00
Jimmy Shih
3ef085fbc7
Rename MyTracks.java to TrackDetailActivity.java
2012-03-27 17:13:16 -07:00
Jimmy Shih
0091755c70
rename TrackDetail to TrackEditActivity
2012-03-27 16:41:14 -07:00
Jimmy Shih
6afa67acad
Add compatibility library.
...
Have TrackListActivity extends FragmentActivity
Use Loader to load cursor.
Use DialogFragment to display dialogs.
2012-03-27 13:42:45 -07:00
Jimmy Shih
30b0348655
Add support for search widget.
...
For API level >= 11, use the search widget.
For API level < 11, use the search dialog.
For API level >=14, the search button will expand the search widget.
For API level < 14, the search button will invoke the search dialog.
2012-03-26 19:02:42 -07:00
Jimmy Shih
5da0afc509
Modify TrackListActivity according to ICS design.
2012-03-26 16:38:54 -07:00
Jimmy Shih
d0bec34ec4
Add action item icons for
...
- record_track
- stop_recording
- search
- settings
- help
Note that the record_track icon is a temporary placeholder until the
actual icon is available.
Change AndroidManifest so that splitActionBarWhenNarrow is
not applied to all activities in the application.
Rename menu strings so they are more consistent.
2012-03-26 09:59:27 -07:00
Jimmy Shih
fe6ec32d8e
remove trailing whitespaces in strings.xml
2012-03-23 17:02:43 -07:00
Jimmy Shih
c36a494952
merge heads
2012-03-23 16:26:39 -07:00
Jimmy Shih
c1351a1994
merge heads
2012-03-23 16:20:35 -07:00
Jimmy Shih
2a74cf6604
fix comments 9bc0a5d1c206
2012-03-23 16:16:54 -07:00
Jimmy Shih
a0c766d820
merge heads
2012-03-23 16:09:41 -07:00
Jimmy Shih
5890ddd2d5
merge from main
2012-03-23 14:48:06 -07:00
Jimmy Shih
6101b9899e
fix comment for 43b6356d7eff
2012-03-23 14:43:00 -07:00
Jimmy Shih
362d4aff8c
fix comment 9bc0a5d1c206
2012-03-23 14:28:11 -07:00
Jimmy Shih
ff2fe17b2c
fix comment on f87ee43bcbb1
2012-03-23 13:09:22 -07:00
Jimmy Shih
7a203cb608
fix comments for efb2d8ffe652
2012-03-23 13:04:10 -07:00
Jimmy Shih
f876b8cab4
merge heads
2012-03-23 12:37:44 -07:00
Jimmy Shih
db87201724
fix comments for ad1d456e2a96
2012-03-23 12:35:46 -07:00
Jimmy Shih
5c00d9723d
fix comment for e4025681f67b
2012-03-23 12:24:04 -07:00
Jimmy Shih
ba035db684
sync from main
2012-03-23 12:19:14 -07:00
Jimmy Shih
6ecde2dc7e
fix comment for e4025681f67b
2012-03-23 12:18:52 -07:00
Jimmy Shih
70f592e967
merge heads
2012-03-23 11:08:01 -07:00
Jimmy Shih
8138f7a5d6
merge heads
2012-03-23 10:46:55 -07:00
Jimmy Shih
0489582d7b
merge heads
2012-03-23 10:44:06 -07:00
Jimmy Shih
b1c6d4ba4a
update classpath for ADT 17
2012-03-23 10:43:52 -07:00
youtaol
0f2d77400e
Test case for SendToGoogleUtils.java.
2012-03-23 12:34:52 +08:00
Jimmy Shih
ce65213d33
merge heads
2012-03-22 17:02:28 -07:00
Jimmy Shih
0bd4461c32
merge heads
2012-03-22 12:12:14 -07:00
Jimmy Shih
3044a1daea
merge heads
2012-03-22 12:11:21 -07:00
Rodrigo Damazio
d8e00e5902
Updating to ADT 17: using BuildConfig instead of our own isRelease
2012-03-22 02:05:19 -03:00
Jimmy Shih
bc9ff8b4b1
Fix several Android lint warnings using ADT 17.
2012-03-21 18:06:20 -07:00
Jimmy Shih
d2a245194f
Cleanup all remaining dialogs.
...
- Use DialogUtils to create a spinner or a horizontal progress dialog.
- Update all progress dialog messages.
2012-03-21 16:04:53 -07:00
Jimmy Shih
a8002ce13e
Update upload result dialog for ICS.
2012-03-21 13:54:59 -07:00
Jimmy Shih
8337cda5b8
merge heads
2012-03-21 13:05:41 -07:00
Jimmy Shih
7119bcc66f
merge heads
2012-03-21 13:04:57 -07:00
Jimmy Shih
f9e8cfeb75
Update About page and Terms of Service page for ICS.
2012-03-21 12:59:58 -07:00
Jimmy Shih
894d6e1133
Update the chart settings dialog based on ICS style guide.
2012-03-21 11:10:18 -07:00
Jimmy Shih
517026bef3
Modify UploadServiceChooser dialog to ICS style.
...
- Use AlertDialog title and buttons
- Use @android:style/TextAppearance.DeviceDefault.Medium
- Use 8dp for margin between elements
2012-03-20 18:46:24 -07:00
Jimmy Shih
6e413f41b3
merge heads
2012-03-20 13:31:47 -07:00
Jimmy Shih
19293b063d
Clean up FileUtils. Make it static with a private constructor.
2012-03-20 13:27:05 -07:00
Jimmy Shih
cd741ab93c
Rename ExportAllActivity to ExportActivity
...
Rename ExportAllAsyncTask to ExportAsyncTask
2012-03-20 12:21:57 -07:00
Jimmy Shih
3dd52ea523
In search_only.xml, the "onClick" attributes specifies the "onSearch" method.
...
However, the method is not excluded from proguard obfuscation.
Simpler to programmatically define "onOptionsItemSelected".
2012-03-20 12:08:36 -07:00
Jimmy Shih
21ba44d422
sync from main
2012-03-20 11:14:35 -07:00
Jimmy Shih
887c4e3dd1
merge heads
2012-03-20 11:11:26 -07:00
Jimmy Shih
0562165421
merge heads
2012-03-20 11:04:54 -07:00
Jimmy Shih
7b8203bd1d
merge heads
2012-03-20 10:57:36 -07:00
Jimmy Shih
2f986bac65
merge heads
2012-03-20 10:50:07 -07:00
Jimmy Shih
0bcdab1958
merge heads
2012-03-20 10:45:03 -07:00
Jimmy Shih
b8400cc0bf
merge heads
2012-03-20 10:37:14 -07:00
Jimmy Shih
08a17a58ef
merge heads
2012-03-20 10:23:19 -07:00
Jimmy Shih
1893c3557d
Fix comment for 01e7f3b54cbf
2012-03-20 10:18:55 -07:00
Jimmy Shih
7318884583
Fix Android lint warnings.
...
- remove unused icons
- move icons from drawable to drawable-mdpi
- favor ICS icons when they are available
2012-03-19 19:04:33 -07:00
Jimmy Shih
1c3dd62d28
With targetSdkVersion=15, can no longer perform UI
...
operation like closing network connection on
the UI thread.
Thus move operations in onPostExecute to doInBackground.
In SendFusionTablesAsyncTask, close the content after
reading the content.
In MapsGDataConverter, don't write the entire kml file
to the log.
2012-03-19 18:34:00 -07:00
Jimmy Shih
5ae68f0826
Fix comment for 31a5329d6d51
...
For mytracks_marker_item.xml, use eclipse to format the file to
remove the extra spaces.
2012-03-19 17:35:52 -07:00
Jimmy Shih
236ad9813a
Fix Android Lint warnings.
2012-03-19 16:23:14 -07:00
Jimmy Shih
963bbedea5
merge heads
2012-03-19 14:26:13 -07:00
Jimmy Shih
e5d41576c9
Support screen rotation for back and restore
...
from the SD card.
2012-03-19 12:47:59 -07:00
Jimmy Shih
cd87395ab0
Support screen rotation when importing tracks.
...
Use an activity to display the progress dialog
and use an associated AsyncTask to perform the import.
2012-03-17 14:37:54 -07:00
Jimmy Shih
da9858d41f
merge heads
2012-03-17 11:54:37 -07:00
Jimmy Shih
d8a81e00cf
Added tag v1.1.16 for changeset fe1ff6ce84fb
2012-03-16 17:35:37 -07:00
Jimmy Shih
4b229decb6
Update privacy url
2012-03-16 17:34:08 -07:00
Jimmy Shih
6445304c1f
Fix screen rotation for delete marker confirmation
...
and check unit.
2012-03-16 15:53:08 -07:00
Jimmy Shih
e1a7f3c0b5
Support screen rotation for "Delete All Tracks".
...
Replace DeleteAllTracks and DeleteTrack with
confirmation dialogs.
Currently, for DeleteTrack, the listener code in
repeated twice in MapActivity and TrackList. But in the
ICS design, DeleteTrack will only be available in
one place.
2012-03-16 14:51:11 -07:00
Jimmy Shih
ddd06ea9f6
Improve ExportAllAsyncTask
...
- if an error occurs, the toast should display the error messageId from
trackWriter.getErrorMessage() if available
- when user cancels export, onPostExecute is not invoked, thus need to
release the wake lock in doInBackground
2012-03-16 10:44:08 -07:00
Jimmy Shih
8ee1066b9d
Modify ExportAll to use the AsyncTask pattern to
...
support screen rotations of dialogs.
2012-03-15 19:08:54 -07:00
Jimmy Shih
2877712876
Use the AsyncTask pattern for SaveActivity
...
to support screen rotation when displaying the
progress dialog.
2012-03-15 15:40:57 -07:00
Jimmy Shih
fcbfe9ca1c
Fix unit tests breakage.
2012-03-14 16:52:25 -07:00
Jimmy Shih
9dca626560
Update strings for release 1.1.16.
2012-03-14 15:45:12 -07:00
Jimmy Shih
8e62ff239c
fix eclipse warnings
2012-03-14 15:37:22 -07:00
Jimmy Shih
3ab54c7d67
merge heads
2012-03-14 15:17:55 -07:00
Jimmy Shih
ead6249580
Update AndroidManifest for the next release.
...
1.1.16
2012-03-14 15:16:32 -07:00
Jimmy Shih
17c62b3996
After saving a file to the SD card, always show the result dialog.
...
After the user dismisses the result dialog, play or share the
saved file if applicable.
2012-03-14 14:57:51 -07:00
Jimmy Shih
51a565b49f
Reorder AndroidManifest based on
...
http://developer.android.com/guide/topics/manifest/manifest-intro.html
Fix one lint error with duplicating variable.
2012-03-14 11:14:33 -07:00
Jimmy Shih
7a6f64b973
Update AndroidManifest.
...
- add splitActionBarWhenNarrow
- add targetSdkVersion
2012-03-13 17:14:24 -07:00
Jimmy Shih
eb0237cd4e
should have be part of daa8055b9997
2012-03-13 16:26:59 -07:00
Jimmy Shih
f19a7681b4
No value changes. Only format
...
the AndroidManifest and menu xml files.
2012-03-13 14:51:16 -07:00
Jimmy Shih
0fc001534f
sync from main
2012-03-13 14:03:02 -07:00
Jimmy Shih
fe7cf7052d
fix comments for ee18469e8c07
2012-03-13 14:00:49 -07:00
Jimmy Shih
f3112c3acb
Fix eclipse warnings
2012-03-13 11:00:00 -07:00
youtaol
504fd7fe14
Add test case for SendMapsAsyncTask, and change SendMapsAsyncTask to make it testable.
2012-03-13 18:02:15 +08:00
youtaol
5d1f19f1a0
Change some code to make test run successfully. Fix a warning in ChooseMapAsyncTask.
2012-03-13 17:42:47 +08:00
youtaol
b80d8411c4
Merge heads
2012-03-13 17:13:33 +08:00
youtaol
e4a65ce36c
Create a utility class TrackStubUtils to create stub Track and MyTracksLocation. And change some code in ChartActivityTest to use this class.
2012-03-13 16:58:25 +08:00
Jimmy Shih
bd9a88b903
Change "min pace" wording to "max pace".
...
See
http://code.google.com/p/mytracks/issues/detail?id=841
2012-03-12 16:35:11 -07:00
Jimmy Shih
2da8525439
merge heads
2012-03-12 16:07:03 -07:00
Jimmy Shih
3f54c07009
Patch 3 CLs from
...
http://code.google.com/r/rdamazio-mytracks-staging2/
- 7781a7c23cf1
- 883427ab11f8
- d801f8f7c16b
- Use Halo them for api level 11 or higher.
- Use action bar for api level 11 or higher.
- Move all menu items for the 3 tabs to MenuManager.
2012-03-12 15:59:07 -07:00
Jimmy Shih
cc07db0269
Specify an icon for a kml track.
2012-03-12 13:10:49 -07:00
youtaol
472d49f241
Change test code of ChooseMapAsyncTaskTest.
2012-03-09 11:51:45 +08:00
youtaol
cc358b4872
Fix a warning in ChooseMapActivityTest.
2012-03-08 15:18:04 +08:00
youtaol
ad32e56660
Merge Heads
2012-03-08 15:10:33 +08:00
youtaol
4fd832d4a2
Remove T
2012-03-06 20:56:39 +08:00
youtaol
efa7094cc5
Change some code for ChooseMapAsyncTaskTest.
2012-03-06 20:53:56 +08:00
youtaol
b951a16364
Add double convert in SendFusionTablesAsyncTask and SendMapsAsyncTask, to make
...
the computation of update percentage is right.
2012-03-06 11:40:49 +08:00
youtaol
04b7a7fcb2
Add static to some variables in ChartActivityTest.
2012-03-06 11:36:54 +08:00
Jimmy Shih
c8e184d29c
merge heads
2012-03-05 16:25:51 -08:00
youtaol
48f9380f21
Revert the change to make the method getMyTracksLocation static (I'll create a new change for it). And change comments which have Javadoc warnings in some classes.
2012-03-02 17:41:12 +08:00
youtaol
93361881ed
Add test case for ChooseMapActivity.
2012-03-02 17:00:57 +08:00
Jimmy Shih
d362c539cf
Improve playing a track with Google Earth
...
- directly send the play intent to Google Earth
- add a tour id to the feature to be played
- track the number of play using google analytics
2012-03-01 16:42:53 -08:00
Jimmy Shih
7710bd7a48
merge heads
2012-03-01 16:34:40 -08:00
Jimmy Shih
bc56b70b4c
Add fractional seconds to timestamp in GPX, KML, CSV, and TCX.
...
Move FileUtils.FILE_TIMSTAMP_FORMAT to StringUtils.java
Clean up StringUtils.java
- add formatDateTimeIso8601
- add formatDistance
- add formatSpeed
- rename all methods to either formatXXX or getXXX
2012-03-01 12:59:42 -08:00
youtaol
7145ba25b4
Add test case for SendFusionTablesActivity and change some code of SendFusionTablesActivity
2012-03-01 12:13:17 +08:00
youtaol
bdf04d64d8
merge heads
2012-03-01 11:53:33 +08:00
youtaol
3b109ca98d
merge heads
2012-03-01 11:50:24 +08:00
Jimmy Shih
2646cf63cb
Fix bug. In AccountChooserActivity, only show the
...
choose account dialog when there are more than 1 account.
2012-02-29 15:35:53 -08:00
Jimmy Shih
d3bc6ad77c
merge heads
2012-02-29 15:20:18 -08:00
Jimmy Shih
93248bc8fb
When sending to Google Docs, for elapsed time, always
...
include the hour.
2012-02-29 14:40:08 -08:00
Jimmy Shih
09ffd991f2
Clean up TCX track writer
...
- add a SportType enum
- in the footer, remove the <Type> tag under <Author><Build>
- always use 0 for BuildMinor version
2012-02-29 10:51:35 -08:00
youtaol
b525a26917
Replace robotium-solo-2.1.jar with robotium-solo-3.1.jar to make ChartActivityTest can be run in Android 4.0. Change getMyTracksLocation() in ChartActivityTest to a static method, so it can be used by other test.
2012-02-29 17:50:05 +08:00
Jimmy Shih
6f7f85a117
merge heads
2012-02-28 15:27:45 -08:00
Jimmy Shih
1a3cb984be
Fix comments on aca13c508711
2012-02-28 15:26:05 -08:00
youtaol
89ee5b4df3
Add test case for ChooseMapAsyncTask and adjust some code in ChooseMapAsyncTask.java to make it testable.
2012-02-28 16:15:54 +08:00
Jimmy Shih
4f2364f402
Change CsvTrackWriter to output three tables.
...
One for track, one for markers, and one for points.
2012-02-27 10:50:58 -08:00
Jimmy Shih
4033e56345
Use the 3.6 constant for MS_TO_KMH to prevent rounding error
2012-02-24 12:38:27 -08:00
Jimmy Shih
330fa98215
fix comment df32871175b2
2012-02-24 12:28:29 -08:00
youtaol
f1bfc2af0a
Change some code of SendMapsActivityTest and SendMapsActivity.
2012-02-24 16:42:06 +08:00
Jimmy Shih
81122b59ad
Cleanup GpxTrackWriter
...
- remove xml-stylesheet (not used)
- remove the "<number>" tag (do not want to expose internally used track id)
- add <metadata> for name and description
- change the text for the "creator" attribute
- change KmlTrackWriter to use FileUtils.FILE_TIMESTAMP_FORMAT
2012-02-23 18:46:54 -08:00
Jimmy Shih
6087c862d8
Fix comment for fa8caa2aee52
2012-02-23 10:49:24 -08:00
Jimmy Shih
ccb4190314
Update KML writer to output a track using gx:MultiTrack and gx:Track.
2012-02-22 17:18:38 -08:00
Jimmy Shih
8fc43ff3fb
Fix comments on 4d928853455e
2012-02-22 16:19:10 -08:00
Jimmy Shih
719b7c2414
sync from main
2012-02-22 12:55:01 -08:00
Jimmy Shih
ae5a8d04a2
merge heads
2012-02-22 12:39:28 -08:00
youtaol
7cfe8c3dd8
Add test case for SendMapsActivity.
2012-02-22 16:51:21 +08:00
youtaol
de2dd9bef4
Add test case for SendRequest.
...
Add test case for UploadServiceChooserActivity. Change some code in
UploadServiceChooserActivity to make it testable.
2012-02-22 14:30:52 +08:00
youtaol
70bea25cbc
Add Robotium 2.1 to library, and add an item in .classpath.
...
Add test case for ChartActivity.
Modify ChartActivity and ChartView to support test.
2012-02-22 14:00:47 +08:00
Jimmy Shih
64b452d851
Clean up the code to generate track and waypoint description.
...
Add DescriptionGeneratorImpl
Make StringUtils constructor private
I18n the strings used to generate the descriptions
2012-02-21 13:13:45 -08:00
Jimmy Shih
f30301ac4f
Fix comment for a8c6f5ff1203
2012-02-21 09:36:54 -08:00
Jimmy Shih
cd1a99727a
Clean up UnitConversionUtils.
2012-02-16 16:30:04 -08:00
Jimmy Shih
81dfdb5bda
merge heads
2012-02-15 10:27:40 -08:00
Jimmy Shih
7219972af5
merge heads
2012-02-15 10:04:18 -08:00
ml1050
8bb94bc104
cosmetics
2012-02-15 16:03:20 +01:00
Jimmy Shih
1e63be4bae
Change search_global_description to "Tracks and waypoints"
2012-02-14 13:12:57 -08:00
Jimmy Shih
dfabe3242e
Add a service to periodically remove files older than 1 hour.
2012-02-13 17:02:26 -08:00
Jimmy Shih
6979227410
merge heads
2012-02-13 10:02:29 -08:00
ml1050
ceb0e68b2a
correctly use the <Cadence> tag for biking related activities
2012-02-12 18:47:50 +01:00
Jimmy Shih
b10758cd96
Add a play option to play a track.
...
Check if Google Earth is installed, if not, ask the user
if he wants to install from the Market.
2012-02-10 14:38:34 -08:00
Jimmy Shih
13f5c0e685
Added tag v1.1.15 for changeset 9ab23da8a5be
2012-02-09 11:00:36 -08:00
Jimmy Shih
087b3b0e69
update manifest for version 1.1.15
2012-02-09 10:08:51 -08:00
Jimmy Shih
9d02d4ed67
Fix bug with invalidate auth token. Need to pass in account type, not
...
auth token type.
2012-02-08 19:51:41 -08:00
Jimmy Shih
c4d5471c9b
Added tag v1.1.14 for changeset 119d28cee019
2012-02-07 10:17:37 -08:00
Rodrigo Damazio
df775eeb2d
Addressed review suggestions.
2012-01-20 18:13:35 -02:00
Rodrigo Damazio
86ccb76a2b
ICS UI: Moving per-tab menu items to the MenuManager.
...
This will make more sense once tabs are fragments instead of activities.
2012-01-16 03:34:45 -02:00
Rodrigo Damazio
23c2dad9d1
ICS UI: Showing the action bar
2012-01-16 02:26:40 -02:00